Lines Matching refs:geolocation

3 ## cl.location.1 API Migration from @ohos.geolocation.d.ts to @ohos.geoLocationManager.d.ts
5 APIs in **@ohos.geolocation.d.ts** do not support throwing error codes. To support this function, a…
22 |geolocation| namespace | declare namespace geolocation| Migrated to **@ohos.geoLocationManager.d.t…
23 |geolocation| method | function on(type: 'locationChange', request: LocationRequest, callback: Call…
24 |geolocation| method | function off(type: 'locationChange', callback?: Callback<Location>): void; |…
25 |geolocation| method | function on(type: 'locationServiceState', callback: Callback<boolean>): void…
26 |geolocation| method | function off(type: 'locationServiceState', callback?: Callback<boolean>): vo…
27 |geolocation| method | function on(type: 'cachedGnssLocationsReporting', request: CachedGnssLocatio…
28 |geolocation| method | function off(type: 'cachedGnssLocationsReporting', callback?: Callback<Array…
29 |geolocation| method | function on(type: 'gnssStatusChange', callback: Callback<SatelliteStatusInfo…
30 |geolocation| method | function off(type: 'gnssStatusChange', callback?: Callback<SatelliteStatusIn…
31 |geolocation| method | function on(type: 'nmeaMessageChange', callback: Callback<string>): void; | …
32 |geolocation| method | function off(type: 'nmeaMessageChange', callback?: Callback<string>): void; …
33 |geolocation| method | function on(type: 'fenceStatusChange', request: GeofenceRequest, want: WantA…
34 |geolocation| method | function off(type: 'fenceStatusChange', request: GeofenceRequest, want: Want…
35 |geolocation| method | function getCurrentLocation(request: CurrentLocationRequest, callback: Async…
36 |geolocation| method | function getCurrentLocation(callback: AsyncCallback<Location>): void; | Migr…
37 |geolocation| method | function getCurrentLocation(request?: CurrentLocationRequest): Promise<Locat…
38 |geolocation| method | function getLastLocation(callback: AsyncCallback<Location>): void; | Migrate…
39 |geolocation| method | function getLastLocation(): Promise<Location>; | Migrated to **@ohos.geoLoca…
40 |geolocation| method | function isLocationEnabled(callback: AsyncCallback<boolean>): void; | Migrat…
41 |geolocation| method | function isLocationEnabled(): Promise<boolean>; | Migrated to **@ohos.geoLoc…
42 |geolocation| method | function requestEnableLocation(callback: AsyncCallback<boolean>): void; | De…
43 |geolocation| method | function requestEnableLocation(): Promise<boolean>; | Deleted.|
44 |geolocation| method | function enableLocation(callback: AsyncCallback<boolean>): void; | Migrated …
45 |geolocation| method | function enableLocation(): Promise<boolean>; | Migrated to **@ohos.geoLocati…
46 |geolocation| method | function disableLocation(callback: AsyncCallback<boolean>): void; | Migrated…
47 |geolocation| method | function disableLocation(): Promise<boolean>; | Migrated to **@ohos.geoLocat…
48 |geolocation| method | function getAddressesFromLocation(request: ReverseGeoCodeRequest, callback: …
49 |geolocation| method | function getAddressesFromLocation(request: ReverseGeoCodeRequest): Promise<A…
50 |geolocation| method | function getAddressesFromLocationName(request: GeoCodeRequest, callback: Asy…
51 |geolocation| method | function getAddressesFromLocationName(request: GeoCodeRequest): Promise<Arra…
52 |geolocation| method | function isGeoServiceAvailable(callback: AsyncCallback<boolean>): void; | Mi…
53 |geolocation| method | function isGeoServiceAvailable(): Promise<boolean>; | Migrated to **@ohos.ge…
54 |geolocation| method | function getCachedGnssLocationsSize(callback: AsyncCallback<number>): void; …
55 |geolocation| method | function getCachedGnssLocationsSize(): Promise<number>; | Migrated to **@oho…
56 |geolocation| method | function flushCachedGnssLocations(callback: AsyncCallback<boolean>): void; |…
57 |geolocation| method | function flushCachedGnssLocations(): Promise<boolean>; | Migrated to **@ohos…
58 |geolocation| method | function sendCommand(command: LocationCommand, callback: AsyncCallback<boole…
59 |geolocation| method | function sendCommand(command: LocationCommand): Promise<boolean>; | Migrated…
60 |geolocation| interface | SatelliteStatusInfo | Migrated to **@ohos.geoLocationManager.d.ts**.|
61 |geolocation| interface | CachedGnssLocationsRequest | Migrated to **@ohos.geoLocationManager.d.ts*…
62 |geolocation| interface | GeofenceRequest | Migrated to **@ohos.geoLocationManager.d.ts**.|
63 |geolocation| interface | Geofence | Migrated to **@ohos.geoLocationManager.d.ts**.|
64 |geolocation| interface | ReverseGeoCodeRequest | Migrated to **@ohos.geoLocationManager.d.ts**.|
65 |geolocation| interface | GeoCodeRequest | Migrated to **@ohos.geoLocationManager.d.ts**.|
66 |geolocation| interface | GeoAddress | Migrated to **@ohos.geoLocationManager.d.ts**.|
67 |geolocation| interface | LocationRequest | Migrated to **@ohos.geoLocationManager.d.ts**.|
68 |geolocation| interface | CurrentLocationRequest | Migrated to **@ohos.geoLocationManager.d.ts**.|
69 |geolocation| interface | Location | Migrated to **@ohos.geoLocationManager.d.ts**.|
70 |geolocation| enum | LocationRequestPriority | Migrated to **@ohos.geoLocationManager.d.ts**.|
71 |geolocation| enum | LocationRequestScenario | Migrated to **@ohos.geoLocationManager.d.ts**.|
72 |geolocation| enum | GeoLocationErrorCode | Deprecated.|
73 |geolocation| enum | LocationPrivacyType | Migrated to **@ohos.geoLocationManager.d.ts**.|
74 |geolocation| enum | LocationCommand | Migrated to **@ohos.geoLocationManager.d.ts**.|