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…
23 | geolocation | method | function on(type: 'locationChange', request: LocationRequest, callback:…
24 | geolocation | method | function off(type: 'locationChange', callback?: Callback<Location>): vo…
25 | geolocation | method | function on(type: 'locationServiceState', callback: Callback<boolean>):…
26 | geolocation | method | function off(type: 'locationServiceState', callback?: Callback<boolean>…
27 | geolocation | method | function on(type: 'cachedGnssLocationsReporting', request: CachedGnssLo…
28 | geolocation | method | function off(type: 'cachedGnssLocationsReporting', callback?: Callback<…
29 | geolocation | method | function on(type: 'gnssStatusChange', callback: Callback<SatelliteStatu…
30 | geolocation | method | function off(type: 'gnssStatusChange', callback?: Callback<SatelliteSta…
31 | geolocation | method | function on(type: 'nmeaMessageChange', callback: Callback<string>): voi…
32 | geolocation | method | function off(type: 'nmeaMessageChange', callback?: Callback<string>): v…
33 | geolocation | method | function on(type: 'fenceStatusChange', request: GeofenceRequest, want: …
34 | geolocation | method | function off(type: 'fenceStatusChange', request: GeofenceRequest, want:…
35 | geolocation | method | function getCurrentLocation(request: CurrentLocationRequest, callback: …
36 | geolocation | method | function getCurrentLocation(callback: AsyncCallback<Location>): void; |…
37 | geolocation | method | function getCurrentLocation(request?: CurrentLocationRequest): Promise<…
38 | geolocation | method | function getLastLocation(callback: AsyncCallback<Location>): void; | Mi…
39 | geolocation | method | function getLastLocation(): Promise<Location>; | Migrated…
40 | geolocation | method | function isLocationEnabled(callback: AsyncCallback<boolean>): void; | M…
41 | geolocation | method | function isLocationEnabled(): Promise<boolean>; | Migrated…
42 | geolocation | method | function requestEnableLocation(callback: AsyncCallback<boolean>): void;…
43 | geolocation | method | function requestEnableLocation(): Promise<boolean>; | Deleted.…
44 | geolocation | method | function enableLocation(callback: AsyncCallback<boolean>): void; | Migr…
45 | geolocation | method | function enableLocation(): Promise<boolean>; | Migrated…
46 | geolocation | method | function disableLocation(callback: AsyncCallback<boolean>): void; | Mig…
47 | geolocation | method | function disableLocation(): Promise<boolean>; | Migrated…
48 | geolocation | method | function getAddressesFromLocation(request: ReverseGeoCodeRequest, callb…
49 | geolocation | method | function getAddressesFromLocation(request: ReverseGeoCodeRequest): Prom…
50 | geolocation | method | function getAddressesFromLocationName(request: GeoCodeRequest, callback…
51 | geolocation | method | function getAddressesFromLocationName(request: GeoCodeRequest): Promise…
52 | geolocation | method | function isGeoServiceAvailable(callback: AsyncCallback<boolean>): void;…
53 | geolocation | method | function isGeoServiceAvailable(): Promise<boolean>; | Migrated…
54 | geolocation | method | function getCachedGnssLocationsSize(callback: AsyncCallback<number>): v…
55 | geolocation | method | function getCachedGnssLocationsSize(): Promise<number>; | Migrated…
56 | geolocation | method | function flushCachedGnssLocations(callback: AsyncCallback<boolean>): vo…
57 | geolocation | method | function flushCachedGnssLocations(): Promise<boolean>; | Migrated…
58 | geolocation | method | function sendCommand(command: LocationCommand, callback: AsyncCallback<…
59 | geolocation | method | function sendCommand(command: LocationCommand): Promise<boolean>; | Mig…
60 | geolocation | interface | SatelliteStatusInfo | Migrated…
61 | geolocation | interface | CachedGnssLocationsRequest | Migrated…
62 | geolocation | interface | GeofenceRequest | Migrated…
63 | geolocation | interface | Geofence | Migrated…
64 | geolocation | interface | ReverseGeoCodeRequest | Migrated…
65 | geolocation | interface | GeoCodeRequest | Migrated…
66 | geolocation | interface | GeoAddress | Migrated…
67 | geolocation | interface | LocationRequest | Migrated…
68 | geolocation | interface | CurrentLocationRequest | Migrated…
69 | geolocation | interface | Location | Migrated…
70 | geolocation | enum | LocationRequestPriority | Migrated…
71 | geolocation | enum | LocationRequestScenario | Migrated…
72 | geolocation | enum | GeoLocationErrorCode | Deprecat…
73 | geolocation | enum | LocationPrivacyType | Migrated…
74 | geolocation | enum | LocationCommand | Migrated…