openharmony 鸿蒙 lpfence_geo_location_info

2025-06-16 浏览 (2)

GeoLocationInfo

概述

定义设备具体位置信息的数据结构。

起始版本: 4.0

相关模块:HdiLpfenceGeofence

汇总

Public 属性

名称描述
unsigned short flagsbit0表示经纬度是否有效,bit5表示精度是否有效。0表示无效,1表示有效。
double latitude纬度
double longitude经度
double altitude海拔高度,单位米
float accuracy精度,单位米
float speed移动速度,单位米/秒
float bearing导向
long timeStamp时间戳,单位纳秒

类成员变量说明

accuracy

float GeoLocationInfo::accuracy

描述

精度,单位米

altitude

double GeoLocationInfo::altitude

描述

海拔高度,单位米

bearing

float GeoLocationInfo::bearing

描述

导向

flags

unsigned short GeoLocationInfo::flags

描述

bit0表示经纬度是否有效,bit5表示精度是否有效。0表示无效,1表示有效。

latitude

double GeoLocationInfo::latitude

描述

纬度

longitude

double GeoLocationInfo::longitude

描述

经度

speed

float GeoLocationInfo::speed

描述

移动速度,单位米/秒

timeStamp

long GeoLocationInfo::timeStamp

描述

时间戳,单位纳秒

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Ipfence HDI 参考

harmony 鸿蒙CellTrajectoryData

harmony 鸿蒙CellbatchingRequest

harmony 鸿蒙CellbatchingTypes.idl

harmony 鸿蒙CellfenceInfo

harmony 鸿蒙CellfenceRequest

harmony 鸿蒙CellfenceSize

harmony 鸿蒙CellfenceStatus

harmony 鸿蒙CellfenceTypes.idl

harmony 鸿蒙HdiLpfenceCellbatching

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/nlj18r