/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.0.1.5/ |
H A D | changelogs-wifiManager.md | 7 …者使用的API版本大于等于9,则需要同时申请ohos.permission.LOCATION和ohos.permission.APPROXIMATELY_LOCATION,单独申请ohos.per… 17 - ohos.permission.LOCATION 25 API9之前的版本,申请ohos.permission.LOCATION即可。 27 …同时申请ohos.permission.APPROXIMATELY_LOCATION和ohos.permission.LOCATION;无法单独申请ohos.permission.LOCATION。 31 | 小于9 | ohos.permission.LOCATION | 成功 | 获取到精准位置,精准度在米级别。 | 32 | 大于等于9 | ohos.permission.LOCATION | 失败 | 无法获取位置。 | 34 | 大于等于9 | ohos.permission.APPROXIMATELY_LOCATION和ohos.permission.LOCATION | 成功 | 获取到精准位置,精准度在米级别。 | 44 … scan(): void; | 权限变更为ohos.permission.SET_WIFI_INFO and ohos.permission.LOCATION and ohos.permissi… 55 …Config): void; | 权限变更为ohos.permission.GET_WIFI_INFO and ohos.permission.LOCATION and ohos.permissi… 56 …vices(): void; | 权限变更为ohos.permission.GET_WIFI_INFO and ohos.permission.LOCATION and ohos.permissi… [all …]
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v3.2-Release/ |
H A D | js-apidiff-geolocation.md | 34 …息:|类名:GeoAddress;<br>方法or属性:latitude?: number;<br>新版本信息:ohos.permission.LOCATION|@ohos.geolocation… 36 …本信息:|类名:GeoAddress;<br>方法or属性:locale?: string;<br>新版本信息:ohos.permission.LOCATION|@ohos.geolocation… 42 …息:|类名:GeoAddress;<br>方法or属性:locality?: string;<br>新版本信息:ohos.permission.LOCATION|@ohos.geolocation… 44 …息:|类名:GeoAddress;<br>方法or属性:roadName?: string;<br>新版本信息:ohos.permission.LOCATION|@ohos.geolocation… 52 …版本信息:|类名:Location;<br>方法or属性:latitude: number;<br>新版本信息:ohos.permission.LOCATION|@ohos.geolocation… 53 …本信息:|类名:Location;<br>方法or属性:longitude: number;<br>新版本信息:ohos.permission.LOCATION|@ohos.geolocation… 54 …版本信息:|类名:Location;<br>方法or属性:altitude: number;<br>新版本信息:ohos.permission.LOCATION|@ohos.geolocation… 55 …版本信息:|类名:Location;<br>方法or属性:accuracy: number;<br>新版本信息:ohos.permission.LOCATION|@ohos.geolocation… 56 …r>旧版本信息:|类名:Location;<br>方法or属性:speed: number;<br>新版本信息:ohos.permission.LOCATION|@ohos.geolocation… 57 …本信息:|类名:Location;<br>方法or属性:timeStamp: number;<br>新版本信息:ohos.permission.LOCATION|@ohos.geolocation… [all …]
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.0.1.5/ |
H A D | changelogs-wifiManager.md | 7 …*ohos.permission.LOCATION** and **ohos.permission.APPROXIMATELY_LOCATION** permissions. Applying f… 17 - ohos.permission.LOCATION 25 API versions earlier than 9: Apply for **ohos.permission.LOCATION**. 27 …sion.APPROXIMATELY_LOCATION** and **ohos.permission.LOCATION**. Note that **ohos.permission.LOCATI… 31 | Earlier than 9 | ohos.permission.LOCATION | Success … 32 | 9 and later | ohos.permission.LOCATION | Failure | No l… 34 | 9 and later | ohos.permission.APPROXIMATELY_LOCATION and ohos.permission.LOCATION| Success … 44 …sion is changed to **ohos.permission.SET_WIFI_INFO**, **ohos.permission.LOCATION**, and **ohos.per… 51 …sion is changed to **ohos.permission.GET_WIFI_INFO**, **ohos.permission.LOCATION**, and **ohos.per… 60 …iP2pDevice>): void; | The permission is changed to **ohos.permission.LOCATION** and **ohos.perm… [all …]
|
/ohos5.0/base/powermgr/battery_statistics/test/unittest/src/clienttest/ |
H A D | stats_location_test.cpp | 70 …HiSysEventWrite(HiSysEvent::Domain::LOCATION, StatsHiSysEvent::GNSS_STATE, HiSysEvent::EventType::… 73 …HiSysEventWrite(HiSysEvent::Domain::LOCATION, StatsHiSysEvent::GNSS_STATE, HiSysEvent::EventType::… 101 …HiSysEventWrite(HiSysEvent::Domain::LOCATION, StatsHiSysEvent::GNSS_STATE, HiSysEvent::EventType::… 104 …HiSysEventWrite(HiSysEvent::Domain::LOCATION, StatsHiSysEvent::GNSS_STATE, HiSysEvent::EventType::… 133 …HiSysEventWrite(HiSysEvent::Domain::LOCATION, StatsHiSysEvent::GNSS_STATE, HiSysEvent::EventType::… 136 …HiSysEventWrite(HiSysEvent::Domain::LOCATION, StatsHiSysEvent::GNSS_STATE, HiSysEvent::EventType::… 161 …HiSysEventWrite(HiSysEvent::Domain::LOCATION, StatsHiSysEvent::GNSS_STATE, HiSysEvent::EventType::… 164 …HiSysEventWrite(HiSysEvent::Domain::LOCATION, StatsHiSysEvent::GNSS_STATE, HiSysEvent::EventType::… 167 …HiSysEventWrite(HiSysEvent::Domain::LOCATION, StatsHiSysEvent::GNSS_STATE, HiSysEvent::EventType::… 170 …HiSysEventWrite(HiSysEvent::Domain::LOCATION, StatsHiSysEvent::GNSS_STATE, HiSysEvent::EventType::… [all …]
|
/ohos5.0/base/powermgr/battery_statistics/test/unittest/src/servicetest/ |
H A D | stats_service_location_test.cpp | 90 HiSysEvent::Domain::LOCATION, StatsHiSysEvent::GNSS_STATE, 94 HiSysEvent::Domain::LOCATION, StatsHiSysEvent::GNSS_STATE, 124 HiSysEvent::Domain::LOCATION, StatsHiSysEvent::GNSS_STATE, 128 HiSysEvent::Domain::LOCATION, StatsHiSysEvent::GNSS_STATE, 159 HiSysEvent::Domain::LOCATION, StatsHiSysEvent::GNSS_STATE, 163 HiSysEvent::Domain::LOCATION, StatsHiSysEvent::GNSS_STATE, 190 HiSysEvent::Domain::LOCATION, StatsHiSysEvent::GNSS_STATE, 194 HiSysEvent::Domain::LOCATION, StatsHiSysEvent::GNSS_STATE, 198 HiSysEvent::Domain::LOCATION, StatsHiSysEvent::GNSS_STATE, 202 HiSysEvent::Domain::LOCATION, StatsHiSysEvent::GNSS_STATE, [all …]
|
/ohos5.0/docs/en/release-notes/api-diff/v4.0-Release-vs-v3.2-Release/ |
H A D | js-apidiff-geolocation.md | 34 …te name: latitude?: number;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation… 36 …bute name: locale?: string;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation… 42 …te name: locality?: string;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation… 44 …te name: roadName?: string;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation… 52 …ute name: latitude: number;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation… 53 …te name: longitude: number;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation… 54 …ute name: altitude: number;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation… 55 …ute name: accuracy: number;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation… 56 …ribute name: speed: number;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation… 57 …te name: timeStamp: number;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation… [all …]
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-location-kit/ |
H A D | js-apis-geolocation.md | 15 - ohos.permission.LOCATION 23 API9之前的版本,申请ohos.permission.LOCATION即可。 56 **需要权限**:ohos.permission.LOCATION 91 **需要权限**:ohos.permission.LOCATION 125 **需要权限**:ohos.permission.LOCATION 157 **需要权限**:ohos.permission.LOCATION 191 **需要权限**:ohos.permission.LOCATION 226 **需要权限**:ohos.permission.LOCATION 261 **需要权限**:ohos.permission.LOCATION 294 **需要权限**:ohos.permission.LOCATION [all …]
|
H A D | js-apis-system-location.md | 19 ohos.permission.LOCATION 31 **需要权限**:ohos.permission.LOCATION 103 **需要权限**:ohos.permission.LOCATION 140 **需要权限**:ohos.permission.LOCATION 189 **需要权限**:ohos.permission.LOCATION 263 **需要权限**:ohos.permission.LOCATION
|
/ohos5.0/docs/zh-cn/readme/ |
H A D | 位置服务子系统.md | 120 - ohos.permission.LOCATION 124 访问设备的位置信息,必须申请ohos.permission.LOCATION权限,并且获得用户授权。 159 …应用提供位置服务,以在导航初始阶段提升用户体验。<br/>此场景默认以最小1秒间隔上报定位结果,使用此场景的应用必须申请ohos.permission.LOCATION权限,同时获得用户授权。 | 160 …应用记录轨迹功能。主要使用GNSS定位技术提供定位服务。<br/>此场景默认以最小1秒间隔上报定位结果,并且应用必须申请ohos.permission.LOCATION权限,同时获得用户授权。 | 161 …适用于用户出行打车时定位当前位置的场景,如网约车类应用。<br/>此场景默认以最小1秒间隔上报定位结果,并且应用必须申请ohos.permission.LOCATION权限,同时获得用户授权。 | 162 …、网购、点餐类应用,做推荐、推送时定位用户大致位置即可。<br/>此场景默认以最小1秒间隔上报定位结果,并且应用至少申请ohos.permission.LOCATION权限,同时获得用户授权。 | 163 …景的应用程序上报定位结果,当前的应用程序不产生定位功耗。<br/>此场景默认以最小1秒间隔上报定位结果,并且应用需要申请ohos.permission.LOCATION权限,同时获得用户授权。 | 190 …精度,具体性能指标依赖用户设备的定位硬件能力,但在室内等强遮蔽定位场景下,无法提供准确的位置服务。<br/>应用必须申请ohos.permission.LOCATION权限,同时获得用户授权。 | 191 …择其中精度较好的结果返回给应用。因为对各种定位技术同时使用,对设备的硬件资源消耗较大,功耗也较大。<br/>应用必须申请ohos.permission.LOCATION权限,同时获得用户授权。 | 192 …或者使用场景多在有基站、可见WLAN、蓝牙设备高密度分布的情况下,推荐使用,可以有效节省设备功耗。<br/>应用至少申请ohos.permission.LOCATION权限,同时获得用户授权。 | [all …]
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.3/ |
H A D | changelogs-geolocation.md | 79 …者使用的API版本大于等于9,则需要同时申请ohos.permission.LOCATION和ohos.permission.APPROXIMATELY_LOCATION,单独申请ohos.per… 89 - ohos.permission.LOCATION 97 API9之前的版本,申请ohos.permission.LOCATION即可。 99 …同时申请ohos.permission.APPROXIMATELY_LOCATION和ohos.permission.LOCATION;无法单独申请ohos.permission.LOCATION。 103 | 小于9 | ohos.permission.LOCATION | 成功 | 获取到精准位置,精准度在米级别。 | 104 | 大于等于9 | ohos.permission.LOCATION | 失败 | 无法获取位置。 | 106 | 大于等于9 | ohos.permission.APPROXIMATELY_LOCATION和ohos.permission.LOCATION | 成功 | 获取到精准位置,精准度在米级别。 | 116 如果使用的API版本大于等于9,则在使用@ohos.geolocation和@ohos.geoLocationManager中需要ohos.permission.LOCATION权限的接口时,都需要…
|
/ohos5.0/docs/zh-cn/application-dev/faqs/ |
H A D | faqs-ability-access-control.md | 9 ## 应用申请LOCATION位置信息权限为什么没有弹窗(API 9) 11 使用API version 9以下版本的SDK开发的应用,可以直接申请ohos.permission.LOCATION权限。 17 [应用权限列表 - ohos.permission.LOCATION](../security/AccessToken/permissions-for-all-user.md#ohospermiss…
|
/ohos5.0/docs/zh-cn/application-dev/device/location/ |
H A D | location-permission-guidelines.md | 9 - ohos.permission.LOCATION:用于获取精准位置,精准度在米级别。 28 | 同时申请ohos.permission.APPROXIMATELY_LOCATION和ohos.permission.LOCATION | 是 | 获取到精准位置,精准度在米级别。 | 32 如果应用在后台运行时也需要访问设备位置,除了按照步骤2申请权限外,还需要申请LOCATION类型的长时任务。
|
/ohos5.0/docs/en/application-dev/reference/apis-location-kit/ |
H A D | js-apis-geolocation.md | 15 - ohos.permission.LOCATION 56 **Required permissions**: ohos.permission.LOCATION 91 **Required permissions**: ohos.permission.LOCATION 125 **Required permissions**: ohos.permission.LOCATION 157 **Required permissions**: ohos.permission.LOCATION 191 **Required permissions**: ohos.permission.LOCATION 226 **Required permissions**: ohos.permission.LOCATION 261 **Required permissions**: ohos.permission.LOCATION 294 **Required permissions**: ohos.permission.LOCATION 327 **Required permissions**: ohos.permission.LOCATION [all …]
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-beta1/ |
H A D | js-apidiff-communication.md | 164 …hos.permission.LOCATION|类名:wifiManager<br>方法 or 属性:function scan(): void;<br>权限:ohos.permission.SE… 165 …LOCATION|类名:wifiManager<br>方法 or 属性:function getCandidateConfigs(): Array\<WifiDeviceConfig>;<br>权… 167 …LOCATION|类名:wifiManager<br>方法 or 属性:function getP2pPeerDevices(): Promise\<WifiP2pDevice[]>;<br>权限… 168 …LOCATION|类名:wifiManager<br>方法 or 属性:function getP2pPeerDevices(callback: AsyncCallback\<WifiP2pDev… 169 ….LOCATION|类名:wifiManager<br>方法 or 属性:function p2pConnect(config: WifiP2PConfig): void;<br>权限:ohos.… 170 …LOCATION|类名:wifiManager<br>方法 or 属性:function getP2pGroups(): Promise\<Array\<WifiP2pGroupInfo>>;<b… 171 …LOCATION|类名:wifiManager<br>方法 or 属性:function getP2pGroups(callback: AsyncCallback\<Array\<WifiP2pG… 172 …LOCATION|类名:wifiManager<br>方法 or 属性:function on(type: "p2pDeviceChange", callback: Callback\<WifiP… 173 …n.LOCATION|类名:wifiManager<br>方法 or 属性:function off(type: "p2pDeviceChange", callback?: Callback\<W… 174 …LOCATION|类名:wifiManager<br>方法 or 属性:function on(type: "p2pPeerDeviceChange", callback: Callback\<W… [all …]
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/monthly-202211/ |
H A D | js-apidiff-telephony.md | 6 …r>权限:N/A|方法名 or 属性名:sendUpdateCellLocationRequest<br>权限:ohos.permission.LOCATION|@ohos.telephony.r… 7 …r>权限:N/A|方法名 or 属性名:sendUpdateCellLocationRequest<br>权限:ohos.permission.LOCATION|@ohos.telephony.r… 8 …r>权限:N/A|方法名 or 属性名:sendUpdateCellLocationRequest<br>权限:ohos.permission.LOCATION|@ohos.telephony.r…
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_3.2.8.3/ |
H A D | changelogs-geolocation.md | 79 …*ohos.permission.LOCATION** and **ohos.permission.APPROXIMATELY_LOCATION** permissions. Applying f… 89 - ohos.permission.LOCATION 97 API versions earlier than 9: Apply for **ohos.permission.LOCATION**. 99 …sion.APPROXIMATELY_LOCATION** and **ohos.permission.LOCATION**. Note that **ohos.permission.LOCATI… 103 | Earlier than 9| ohos.permission.LOCATION | Success| Location accurate to meters| 104 | 9 and later| ohos.permission.LOCATION | Failure| No location obtained| 106 | 9 and later| ohos.permission.APPROXIMATELY_LOCATION and ohos.permission.LOCATION| Success| Locati… 116 …rsion 9 or later and needs to call APIs requiring the **ohos.permission.LOCATION** permission in *…
|
/ohos5.0/docs/en/application-dev/faqs/ |
H A D | faqs-ability-access-control.md | 9 ## Why is there no window displayed when an app applies for the ohos.permission.LOCATION permission… 11 …ing SDKs earlier than API version 9 can apply for the **ohos.permission.LOCATION** permission with… 13 …os.permission.APPROXIMATELY_LOCATION** permission before applying for **ohos.permission.LOCATION**. 17 [ohos.permission.LOCATION](../security/AccessToken/permissions-for-all.md#ohospermissionlocation)
|
/ohos5.0/docs/en/release-notes/api-diff/monthly-202211/ |
H A D | js-apidiff-telephony.md | 6 …bute name: sendUpdateCellLocationRequest<br>Permission: ohos.permission.LOCATION|@ohos.telephony.r… 7 …bute name: sendUpdateCellLocationRequest<br>Permission: ohos.permission.LOCATION|@ohos.telephony.r… 8 …bute name: sendUpdateCellLocationRequest<br>Permission: ohos.permission.LOCATION|@ohos.telephony.r…
|
/ohos5.0/base/web/webview/ohos_adapter/background_task_adapter/src/ |
H A D | background_task_impl.cpp | 36 case BackgroundModeAdapter::LOCATION: in ConvertBackgroundMode() 37 return BackgroundMode::Type::LOCATION; in ConvertBackgroundMode()
|
/ohos5.0/docs/en/application-dev/device/location/ |
H A D | location-permission-guidelines.md | 9 - **ohos.permission.LOCATION**: used to obtain location accurate to meters. 28 | ohos.permission.APPROXIMATELY_LOCATION and ohos.permission.LOCATION| Yes| Location accurate to me… 32 …en running in the background, also request for a continuous task of the LOCATION type in addition …
|
/ohos5.0/docs/en/release-notes/api-diff/v4.0-beta1/ |
H A D | js-apidiff-communication.md | 164 …LOCATION|Class name: wifiManager<br>Method or attribute name: function scan(): void;<br>Permission… 165 …LOCATION|Class name: wifiManager<br>Method or attribute name: function getCandidateConfigs(): Arra… 167 …LOCATION|Class name: wifiManager<br>Method or attribute name: function getP2pPeerDevices(): Promis… 168 …LOCATION|Class name: wifiManager<br>Method or attribute name: function getP2pPeerDevices(callback:… 169 …LOCATION|Class name: wifiManager<br>Method or attribute name: function p2pConnect(config: WifiP2PC… 170 …LOCATION|Class name: wifiManager<br>Method or attribute name: function getP2pGroups(): Promise\<Ar… 171 …LOCATION|Class name: wifiManager<br>Method or attribute name: function getP2pGroups(callback: Asyn… 172 …LOCATION|Class name: wifiManager<br>Method or attribute name: function on(type: "p2pDeviceChange",… 173 …LOCATION|Class name: wifiManager<br>Method or attribute name: function off(type: "p2pDeviceChange"… 174 …LOCATION|Class name: wifiManager<br>Method or attribute name: function on(type: "p2pPeerDeviceChan… [all …]
|
/ohos5.0/docs/zh-cn/application-dev/security/AccessToken/ |
H A D | request-user-authorization.md | 48 1. 申请ohos.permission.LOCATION、ohos.permission.APPROXIMATELY_LOCATION权限,配置方式请参见[声明权限](declare-permis… 85 …let grantStatus1: boolean = await checkPermissionGrant('ohos.permission.LOCATION') === abilityAcce… 116 …const permissions: Array<Permissions> = ['ohos.permission.LOCATION','ohos.permission.APPROXIMATELY… 155 …const permissions: Array<Permissions> = ['ohos.permission.LOCATION','ohos.permission.APPROXIMATELY…
|
/ohos5.0/docs/en/application-dev/security/AccessToken/ |
H A D | request-user-authorization.md | 48 1. Request the ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION permissions. For… 85 …('ohos.permission.LOCATION') === abilityAccessCtrl.GrantStatus.PERMISSION_GRANTED;// Obtain the st… 87 …// The ohos.permission.LOCATION permission must be requested with the ohos.permission.APPROXIMATEL… 89 // Request the ohos.permission.LOCATION permission. 91 …// Request the ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION permissions, or… 116 …const permissions: Array<Permissions> = ['ohos.permission.LOCATION','ohos.permission.APPROXIMATELY… 155 …const permissions: Array<Permissions> = ['ohos.permission.LOCATION','ohos.permission.APPROXIMATELY…
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.1.1.5/ |
H A D | changelogs-access_token.md | 10 …ssion-list.md#ohospermissionlocation_in_background) or [ohos.permission.LOCATION](../../../applica… 18 - The **ohos.permission.LOCATION_IN_BACKGROUND** and **ohos.permission.LOCATION** permissions are r… 21 …her with the **ohos.permission.LOCATION_IN_BACKGROUND** or **ohos.permission.LOCATION** permission. 29 …hen the **ohos.permission.LOCATION_IN_BACKGROUND** or **ohos.permission.LOCATION** permission is r… 118 …er(context, ['ohos.permission.APPROXIMATELY_LOCATION', 'ohos.permission.LOCATION', 'ohos.permissio…
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta4/ |
H A D | js-apidiff-telephony.md | 8 …r>权限:N/A|方法名 or 属性名:sendUpdateCellLocationRequest<br>权限:ohos.permission.LOCATION|@ohos.telephony.r… 9 …r>权限:N/A|方法名 or 属性名:sendUpdateCellLocationRequest<br>权限:ohos.permission.LOCATION|@ohos.telephony.r…
|