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| method | function on(type: 'locationChange', request: LocationRequest, callback: Call…
23 |geolocation| method | function off(type: 'locationChange', callback?: Callback<Location>): void; |…
24 |geolocation| method | function on(type: 'locationServiceState', callback: Callback<boolean>): void…
25 |geolocation| method | function off(type: 'locationServiceState', callback?: Callback<boolean>): vo…
26 |geolocation| method | function on(type: 'cachedGnssLocationsReporting', request: CachedGnssLocatio…
27 |geolocation| method | function off(type: 'cachedGnssLocationsReporting', callback?: Callback<Array…
28 |geolocation| method | function on(type: 'gnssStatusChange', callback: Callback<SatelliteStatusInfo…
29 |geolocation| method | function off(type: 'gnssStatusChange', callback?: Callback<SatelliteStatusIn…
30 |geolocation| method | function on(type: 'nmeaMessageChange', callback: Callback<string>): void; | …
31 |geolocation| method | function off(type: 'nmeaMessageChange', callback?: Callback<string>): void; …
32 |geolocation| method | function on(type: 'fenceStatusChange', request: GeofenceRequest, want: WantA…
33 |geolocation| method | function off(type: 'fenceStatusChange', request: GeofenceRequest, want: Want…
34 |geolocation| method | function getCurrentLocation(request: CurrentLocationRequest, callback: Async…
35 |geolocation| method | function getCurrentLocation(callback: AsyncCallback<Location>): void; | Migr…
36 |geolocation| method | function getCurrentLocation(request?: CurrentLocationRequest): Promise<Locat…
37 |geolocation| method | function getLastLocation(callback: AsyncCallback<Location>): void; | Migrate…
38 |geolocation| method | function getLastLocation(): Promise<Location>; | Migrated to **@ohos.geoLoca…
39 |geolocation| method | function isLocationEnabled(callback: AsyncCallback<boolean>): void; | Migrat…
40 |geolocation| method | function isLocationEnabled(): Promise<boolean>; | Migrated to **@ohos.geoLoc…
41 |geolocation| method | function requestEnableLocation(callback: AsyncCallback<boolean>): void; | De…
42 |geolocation| method | function requestEnableLocation(): Promise<boolean>; | Deleted.|
43 |geolocation| method | function enableLocation(callback: AsyncCallback<boolean>): void; | Migrated …
44 |geolocation| method | function enableLocation(): Promise<boolean>; | Migrated to **@ohos.geoLocati…
45 |geolocation| method | function disableLocation(callback: AsyncCallback<boolean>): void; | Migrated…
46 |geolocation| method | function disableLocation(): Promise<boolean>; | Migrated to **@ohos.geoLocat…
47 |geolocation| method | function getAddressesFromLocation(request: ReverseGeoCodeRequest, callback: …
48 |geolocation| method | function getAddressesFromLocation(request: ReverseGeoCodeRequest): Promise<A…
49 |geolocation| method | function getAddressesFromLocationName(request: GeoCodeRequest, callback: Asy…
50 |geolocation| method | function getAddressesFromLocationName(request: GeoCodeRequest): Promise<Arra…
51 |geolocation| method | function isGeoServiceAvailable(callback: AsyncCallback<boolean>): void; | Mi…
52 |geolocation| method | function isGeoServiceAvailable(): Promise<boolean>; | Migrated to **@ohos.ge…
53 |geolocation| method | function getCachedGnssLocationsSize(callback: AsyncCallback<number>): void; …
54 |geolocation| method | function getCachedGnssLocationsSize(): Promise<number>; | Migrated to **@oho…
55 |geolocation| method | function flushCachedGnssLocations(callback: AsyncCallback<boolean>): void; |…
56 |geolocation| method | function flushCachedGnssLocations(): Promise<boolean>; | Migrated to **@ohos…
57 |geolocation| method | function sendCommand(command: LocationCommand, callback: AsyncCallback<boole…
58 |geolocation| method | function sendCommand(command: LocationCommand): Promise<boolean>; | Migrated…
59 |geolocation| method | function enableLocationMock(callback: AsyncCallback<void>): void; | Migrated…
60 |geolocation| method | function enableLocationMock(): Promise<void>; | Migrated to **@ohos.geoLocat…
61 |geolocation| method | function disableLocationMock(callback: AsyncCallback<void>): void; | Migrate…
62 |geolocation| method | function disableLocationMock(): Promise<void>; | Migrated to **@ohos.geoLoca…
63 |geolocation| method | function setMockedLocations(config: LocationMockConfig, callback: AsyncCallb…
64 |geolocation| method | function setMockedLocations(config: LocationMockConfig): Promise<void>; | Mi…
65 |geolocation| method | function enableReverseGeocodingMock(callback: AsyncCallback<void>): void; | …
66 |geolocation| method | function enableReverseGeocodingMock(): Promise<void>; | Migrated to **@ohos.…
67 |geolocation| method | function disableReverseGeocodingMock(callback: AsyncCallback<void>): void; |…
68 |geolocation| method | function disableReverseGeocodingMock(): Promise<void>; | Migrated to **@ohos…
69 |geolocation| method | function setReverseGeocodingMockInfo(mockInfos: Array<ReverseGeocodingMockIn…
70 |geolocation| method | function setReverseGeocodingMockInfo(mockInfos: Array<ReverseGeocodingMockIn…
71 |geolocation| method | function isLocationPrivacyConfirmed(type: LocationPrivacyType, callback: Asy…
72 |geolocation| method | function isLocationPrivacyConfirmed(type: LocationPrivacyType,): Promise<boo…
73 |geolocation| method | function setLocationPrivacyConfirmStatus(type: LocationPrivacyType, isConfir…
74 |geolocation| method | function setLocationPrivacyConfirmStatus(type: LocationPrivacyType, isConfir…
75 |geolocation| interface | SatelliteStatusInfo | Migrated to **@ohos.geoLocationManager.d.ts**.|
76 |geolocation| interface | CachedGnssLocationsRequest | Migrated to **@ohos.geoLocationManager.d.ts*…
77 |geolocation| interface | GeofenceRequest | Migrated to **@ohos.geoLocationManager.d.ts**.|
78 |geolocation| interface | Geofence | Migrated to **@ohos.geoLocationManager.d.ts**.|
79 |geolocation| interface | ReverseGeoCodeRequest | Migrated to **@ohos.geoLocationManager.d.ts**.|
80 |geolocation| interface | GeoCodeRequest | Migrated to **@ohos.geoLocationManager.d.ts**.|
81 |geolocation| interface | GeoAddress | Migrated to **@ohos.geoLocationManager.d.ts**.|
82 |geolocation| interface | LocationRequest | Migrated to **@ohos.geoLocationManager.d.ts**.|
83 |geolocation| interface | CurrentLocationRequest | Migrated to **@ohos.geoLocationManager.d.ts**.|
84 |geolocation| interface | Location | Migrated to **@ohos.geoLocationManager.d.ts**.|
85 |geolocation| enum | LocationRequestPriority | Migrated to **@ohos.geoLocationManager.d.ts**.|
86 |geolocation| enum | LocationRequestScenario | Migrated to **@ohos.geoLocationManager.d.ts**.|
87 |geolocation| enum | GeoLocationErrorCode | Deprecated.|
88 |geolocation| enum | LocationPrivacyType | Migrated to **@ohos.geoLocationManager.d.ts**.|
89 |geolocation| enum | LocationCommand | Migrated to **@ohos.geoLocationManager.d.ts**.|