| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Added|NA|Class name: geoLocationManager
Method or attribute name: function on(type: 'locationChange', request: LocationRequest, callback: Callback): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager
Method or attribute name: function off(type: 'locationChange', callback?: Callback): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager
Method or attribute name: function on(type: 'locationEnabledChange', callback: Callback): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager
Method or attribute name: function off(type: 'locationEnabledChange', callback?: Callback): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager
Method or attribute name: function on(type: 'cachedGnssLocationsChange', request: CachedGnssLocationsRequest, callback: Callback>): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager
Method or attribute name: function off(type: 'cachedGnssLocationsChange', callback?: Callback>): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager
Method or attribute name: function on(type: 'satelliteStatusChange', callback: Callback): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager
Method or attribute name: function off(type: 'satelliteStatusChange', callback?: Callback): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager
Method or attribute name: function on(type: 'nmeaMessage', callback: Callback): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager
Method or attribute name: function off(type: 'nmeaMessage', callback?: Callback): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager
Method or attribute name: function on(type: 'gnssFenceStatusChange', request: GeofenceRequest, want: WantAgent): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager
Method or attribute name: function off(type: 'gnssFenceStatusChange', request: GeofenceRequest, want: WantAgent): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager
Method or attribute name: function getCurrentLocation(request: CurrentLocationRequest, callback: AsyncCallback): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager
Method or attribute name: function getCurrentLocation(callback: AsyncCallback): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager
Method or attribute name: function getCurrentLocation(request?: CurrentLocationRequest): Promise;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager
Method or attribute name: function getLastLocation(): Location;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager
Method or attribute name: function isLocationEnabled(): boolean;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager
Method or attribute name: function disableLocation(): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager
Method or attribute name: function getAddressesFromLocation(request: ReverseGeoCodeRequest, callback: AsyncCallback>): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager
Method or attribute name: function getAddressesFromLocation(request: ReverseGeoCodeRequest): Promise>;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager
Method or attribute name: function getAddressesFromLocationName(request: GeoCodeRequest, callback: AsyncCallback>): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager
Method or attribute name: function getAddressesFromLocationName(request: GeoCodeRequest): Promise>;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager
Method or attribute name: function isGeocoderAvailable(): boolean;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager
Method or attribute name: function getCachedGnssLocationsSize(callback: AsyncCallback): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager
Method or attribute name: function getCachedGnssLocationsSize(): Promise;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager
Method or attribute name: function flushCachedGnssLocations(callback: AsyncCallback): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager
Method or attribute name: function flushCachedGnssLocations(): Promise;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager
Method or attribute name: function sendCommand(command: LocationCommand, callback: AsyncCallback): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager
Method or attribute name: function sendCommand(command: LocationCommand): Promise;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager
Method or attribute name: function enableLocationMock(): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager
Method or attribute name: function disableLocationMock(): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager
Method or attribute name: function setMockedLocations(config: LocationMockConfig): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager
Method or attribute name: function enableReverseGeocodingMock(): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager
Method or attribute name: function disableReverseGeocodingMock(): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager
Method or attribute name: function setReverseGeocodingMockInfo(mockInfos: Array): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager
Method or attribute name: function isLocationPrivacyConfirmed(type: LocationPrivacyType): boolean;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager
Method or attribute name: function setLocationPrivacyConfirmStatus(type: LocationPrivacyType, isConfirmed: boolean): void;|@ohos.geoLocationManager.d.ts|
|Deleted|Module name: ohos.geolocation
Class name: geolocation
Method or attribute name: function enableLocation(callback: AsyncCallback): void;|NA|@ohos.geolocation.d.ts|
|Deleted|Module name: ohos.geolocation
Class name: geolocation
Method or attribute name: function enableLocation(): Promise;|NA|@ohos.geolocation.d.ts|
|Deleted|Module name: ohos.geolocation
Class name: geolocation
Method or attribute name: function disableLocation(callback: AsyncCallback): void;|NA|@ohos.geolocation.d.ts|
|Deleted|Module name: ohos.geolocation
Class name: geolocation
Method or attribute name: function disableLocation(): Promise;|NA|@ohos.geolocation.d.ts|
|Deleted|Module name: ohos.geoLocationManager
Class name: GeofenceRequest
Method or attribute name: priority: LocationRequestPriority;|NA|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: ReverseGeocodingMockInfo
Method or attribute name: location: ReverseGeoCodeRequest;
Access level: public API|Class name: ReverseGeocodingMockInfo
Method or attribute name: location: ReverseGeoCodeRequest;
Access level: system API|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: ReverseGeocodingMockInfo
Method or attribute name: geoAddress: GeoAddress;
Access level: public API|Class name: ReverseGeocodingMockInfo
Method or attribute name: geoAddress: GeoAddress;
Access level: system API|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: LocationMockConfig
Method or attribute name: timeInterval: number;
Access level: public API|Class name: LocationMockConfig
Method or attribute name: timeInterval: number;
Access level: system API|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: LocationMockConfig
Method or attribute name: locations: Array;
Access level: public API|Class name: LocationMockConfig
Method or attribute name: locations: Array;
Access level: system API|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: GeoAddress
Method or attribute name: isFromMock?: Boolean;
Access level: public API|Class name: GeoAddress
Method or attribute name: isFromMock?: Boolean;
Access level: system API|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: Location
Method or attribute name: isFromMock?: Boolean;
Access level: public API|Class name: Location
Method or attribute name: isFromMock?: Boolean;
Access level: system API|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: LocationPrivacyType
Access level: public API|Class name: LocationPrivacyType
Access level: system API|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: LocationPrivacyType
Method or attribute name: OTHERS = 0
Access level: public API|Class name: LocationPrivacyType
Method or attribute name: OTHERS = 0
Access level: system API|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: LocationPrivacyType
Method or attribute name: STARTUP
Access level: public API|Class name: LocationPrivacyType
Method or attribute name: STARTUP
Access level: system API|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: LocationPrivacyType
Method or attribute name: CORE_LOCATION
Access level: public API|Class name: LocationPrivacyType
Method or attribute name: CORE_LOCATION
Access level: system API|@ohos.geoLocationManager.d.ts|
|Deprecated version changed|Class name: geolocation
Deprecated version: N/A|Class name: geolocation
Deprecated version: 9
Substitute API: N/A|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation
Method or attribute name: function on(type: 'locationChange', request: LocationRequest, callback: Callback): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function on(type: 'locationChange', request: LocationRequest, callback: Callback): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.on|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation
Method or attribute name: function off(type: 'locationChange', callback?: Callback): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function off(type: 'locationChange', callback?: Callback): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.off|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation
Method or attribute name: function on(type: 'locationServiceState', callback: Callback): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function on(type: 'locationServiceState', callback: Callback): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.on|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation
Method or attribute name: function off(type: 'locationServiceState', callback?: Callback): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function off(type: 'locationServiceState', callback?: Callback): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.off|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation
Method or attribute name: function on(type: 'cachedGnssLocationsReporting', request: CachedGnssLocationsRequest, callback: Callback>): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function on(type: 'cachedGnssLocationsReporting', request: CachedGnssLocationsRequest, callback: Callback>): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.on|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation
Method or attribute name: function off(type: 'cachedGnssLocationsReporting', callback?: Callback>): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function off(type: 'cachedGnssLocationsReporting', callback?: Callback>): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.off|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation
Method or attribute name: function on(type: 'gnssStatusChange', callback: Callback): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function on(type: 'gnssStatusChange', callback: Callback): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.on|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation
Method or attribute name: function off(type: 'gnssStatusChange', callback?: Callback): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function off(type: 'gnssStatusChange', callback?: Callback): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.off|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation
Method or attribute name: function on(type: 'nmeaMessageChange', callback: Callback): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function on(type: 'nmeaMessageChange', callback: Callback): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.on|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation
Method or attribute name: function off(type: 'nmeaMessageChange', callback?: Callback): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function off(type: 'nmeaMessageChange', callback?: Callback): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.off|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation
Method or attribute name: function on(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function on(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.on|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation
Method or attribute name: function off(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function off(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.off|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation
Method or attribute name: function getCurrentLocation(request: CurrentLocationRequest, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function getCurrentLocation(request: CurrentLocationRequest, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.getCurrentLocation |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation
Method or attribute name: function getCurrentLocation(callback: AsyncCallback): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function getCurrentLocation(callback: AsyncCallback): void;
Deprecated version: 9|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation
Method or attribute name: function getCurrentLocation(request?: CurrentLocationRequest): Promise;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function getCurrentLocation(request?: CurrentLocationRequest): Promise;
Deprecated version: 9|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation
Method or attribute name: function getLastLocation(callback: AsyncCallback): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function getLastLocation(callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.getLastLocation |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation
Method or attribute name: function getLastLocation(): Promise;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function getLastLocation(): Promise;
Deprecated version: 9|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation
Method or attribute name: function isLocationEnabled(callback: AsyncCallback): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function isLocationEnabled(callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.isLocationEnabled |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation
Method or attribute name: function isLocationEnabled(): Promise;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function isLocationEnabled(): Promise;
Deprecated version: 9|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation
Method or attribute name: function requestEnableLocation(callback: AsyncCallback): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function requestEnableLocation(callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: N/A|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation
Method or attribute name: function requestEnableLocation(): Promise;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function requestEnableLocation(): Promise;
Deprecated version: 9|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation
Method or attribute name: function getAddressesFromLocation(request: ReverseGeoCodeRequest, callback: AsyncCallback>): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function getAddressesFromLocation(request: ReverseGeoCodeRequest, callback: AsyncCallback>): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.getAddressesFromLocation |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation
Method or attribute name: function getAddressesFromLocation(request: ReverseGeoCodeRequest): Promise>;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function getAddressesFromLocation(request: ReverseGeoCodeRequest): Promise>;
Deprecated version: 9|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation
Method or attribute name: function getAddressesFromLocationName(request: GeoCodeRequest, callback: AsyncCallback>): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function getAddressesFromLocationName(request: GeoCodeRequest, callback: AsyncCallback>): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.getAddressesFromLocationName |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation
Method or attribute name: function getAddressesFromLocationName(request: GeoCodeRequest): Promise>;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function getAddressesFromLocationName(request: GeoCodeRequest): Promise>;
Deprecated version: 9|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation
Method or attribute name: function isGeoServiceAvailable(callback: AsyncCallback): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function isGeoServiceAvailable(callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.isGeocoderAvailable |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation
Method or attribute name: function isGeoServiceAvailable(): Promise;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function isGeoServiceAvailable(): Promise;
Deprecated version: 9|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation
Method or attribute name: function getCachedGnssLocationsSize(callback: AsyncCallback): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function getCachedGnssLocationsSize(callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.getCachedGnssLocationsSize |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation
Method or attribute name: function getCachedGnssLocationsSize(): Promise;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function getCachedGnssLocationsSize(): Promise;
Deprecated version: 9|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation
Method or attribute name: function flushCachedGnssLocations(callback: AsyncCallback): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function flushCachedGnssLocations(callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.flushCachedGnssLocations |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation
Method or attribute name: function flushCachedGnssLocations(): Promise;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function flushCachedGnssLocations(): Promise;
Deprecated version: 9|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation
Method or attribute name: function sendCommand(command: LocationCommand, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function sendCommand(command: LocationCommand, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.sendCommand |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation
Method or attribute name: function sendCommand(command: LocationCommand): Promise;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function sendCommand(command: LocationCommand): Promise;
Deprecated version: 9|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: SatelliteStatusInfo
Deprecated version: N/A|Class name: SatelliteStatusInfo
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.SatelliteStatusInfo |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: CachedGnssLocationsRequest
Deprecated version: N/A|Class name: CachedGnssLocationsRequest
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.CachedGnssLocationsRequest |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeofenceRequest
Deprecated version: N/A|Class name: GeofenceRequest
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.GeofenceRequest |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: Geofence
Deprecated version: N/A|Class name: Geofence
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.Geofence |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: ReverseGeoCodeRequest
Deprecated version: N/A|Class name: ReverseGeoCodeRequest
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.ReverseGeoCodeRequest |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoCodeRequest
Deprecated version: N/A|Class name: GeoCodeRequest
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.GeoCodeRequest |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoAddress
Deprecated version: N/A|Class name: GeoAddress
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.GeoAddress |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: LocationRequest
Deprecated version: N/A|Class name: LocationRequest
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationRequest |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: CurrentLocationRequest
Deprecated version: N/A|Class name: CurrentLocationRequest
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.CurrentLocationRequest |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: Location
Deprecated version: N/A|Class name: Location
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.Location |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: LocationRequestPriority
Deprecated version: N/A|Class name: LocationRequestPriority
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationRequestPriority |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: LocationRequestScenario
Deprecated version: N/A|Class name: LocationRequestScenario
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationRequestScenario |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoLocationErrorCode
Deprecated version: N/A|Class name: GeoLocationErrorCode
Deprecated version: 9
Substitute API: N/A|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: LocationPrivacyType
Deprecated version: N/A|Class name: LocationPrivacyType
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationPrivacyType |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: LocationCommand
Deprecated version: N/A|Class name: LocationCommand
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationCommand |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeolocationResponse
Deprecated version: N/A|Class name: GeolocationResponse
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.Location |@system.geolocation.d.ts|
|Deprecated version changed|Class name: GetLocationOption
Deprecated version: N/A|Class name: GetLocationOption
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.CurrentLocationRequest |@system.geolocation.d.ts|
|Deprecated version changed|Class name: GetLocationTypeResponse
Deprecated version: N/A|Class name: GetLocationTypeResponse
Deprecated version: 9
Substitute API: N/A|@system.geolocation.d.ts|
|Deprecated version changed|Class name: GetLocationTypeOption
Deprecated version: N/A|Class name: GetLocationTypeOption
Deprecated version: 9
Substitute API: N/A|@system.geolocation.d.ts|
|Deprecated version changed|Class name: SubscribeLocationOption
Deprecated version: N/A|Class name: SubscribeLocationOption
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationRequest |@system.geolocation.d.ts|
|Deprecated version changed|Class name: Geolocation
Deprecated version: N/A|Class name: Geolocation
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager |@system.geolocation.d.ts|
|Deprecated version changed|Class name: Geolocation
Method or attribute name: static getLocation(options?: GetLocationOption): void;
Deprecated version: N/A|Class name: Geolocation
Method or attribute name: static getLocation(options?: GetLocationOption): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.getCurrentLocation |@system.geolocation.d.ts|
|Deprecated version changed|Class name: Geolocation
Method or attribute name: static getLocationType(options?: GetLocationTypeOption): void;
Deprecated version: N/A|Class name: Geolocation
Method or attribute name: static getLocationType(options?: GetLocationTypeOption): void;
Deprecated version: 9
Substitute API: N/A|@system.geolocation.d.ts|
|Deprecated version changed|Class name: Geolocation
Method or attribute name: static subscribe(options: SubscribeLocationOption): void;
Deprecated version: N/A|Class name: Geolocation
Method or attribute name: static subscribe(options: SubscribeLocationOption): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.on|@system.geolocation.d.ts|
|Deprecated version changed|Class name: Geolocation
Method or attribute name: static unsubscribe(): void;
Deprecated version: N/A|Class name: Geolocation
Method or attribute name: static unsubscribe(): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.off|@system.geolocation.d.ts|
|Deprecated version changed|Class name: Geolocation
Method or attribute name: static getSupportedCoordTypes(): Array;
Deprecated version: N/A|Class name: Geolocation
Method or attribute name: static getSupportedCoordTypes(): Array;
Deprecated version: 9
Substitute API: N/A|@system.geolocation.d.ts|
|Initial version changed|Class name: ReverseGeocodingMockInfo
Method or attribute name: location: ReverseGeoCodeRequest;
Initial version: N/A|Class name: ReverseGeocodingMockInfo
Method or attribute name: location: ReverseGeoCodeRequest;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: ReverseGeocodingMockInfo
Method or attribute name: geoAddress: GeoAddress;
Initial version: N/A|Class name: ReverseGeocodingMockInfo
Method or attribute name: geoAddress: GeoAddress;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationMockConfig
Method or attribute name: timeInterval: number;
Initial version: N/A|Class name: LocationMockConfig
Method or attribute name: timeInterval: number;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationMockConfig
Method or attribute name: locations: Array;
Initial version: N/A|Class name: LocationMockConfig
Method or attribute name: locations: Array;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: SatelliteStatusInfo
Method or attribute name: satellitesNumber: number;
Initial version: N/A|Class name: SatelliteStatusInfo
Method or attribute name: satellitesNumber: number;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: SatelliteStatusInfo
Method or attribute name: satelliteIds: Array;
Initial version: N/A|Class name: SatelliteStatusInfo
Method or attribute name: satelliteIds: Array;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: SatelliteStatusInfo
Method or attribute name: carrierToNoiseDensitys: Array;
Initial version: N/A|Class name: SatelliteStatusInfo
Method or attribute name: carrierToNoiseDensitys: Array;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: SatelliteStatusInfo
Method or attribute name: altitudes: Array;
Initial version: N/A|Class name: SatelliteStatusInfo
Method or attribute name: altitudes: Array;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: SatelliteStatusInfo
Method or attribute name: azimuths: Array;
Initial version: N/A|Class name: SatelliteStatusInfo
Method or attribute name: azimuths: Array;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: SatelliteStatusInfo
Method or attribute name: carrierFrequencies: Array;
Initial version: N/A|Class name: SatelliteStatusInfo
Method or attribute name: carrierFrequencies: Array;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: CachedGnssLocationsRequest
Method or attribute name: reportingPeriodSec: number;
Initial version: N/A|Class name: CachedGnssLocationsRequest
Method or attribute name: reportingPeriodSec: number;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: CachedGnssLocationsRequest
Method or attribute name: wakeUpCacheQueueFull: boolean;
Initial version: N/A|Class name: CachedGnssLocationsRequest
Method or attribute name: wakeUpCacheQueueFull: boolean;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: GeofenceRequest
Method or attribute name: scenario: LocationRequestScenario;
Initial version: N/A|Class name: GeofenceRequest
Method or attribute name: scenario: LocationRequestScenario;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: GeofenceRequest
Method or attribute name: geofence: Geofence;
Initial version: N/A|Class name: GeofenceRequest
Method or attribute name: geofence: Geofence;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: Geofence
Method or attribute name: latitude: number;
Initial version: N/A|Class name: Geofence
Method or attribute name: latitude: number;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: Geofence
Method or attribute name: longitude: number;
Initial version: N/A|Class name: Geofence
Method or attribute name: longitude: number;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: Geofence
Method or attribute name: radius: number;
Initial version: N/A|Class name: Geofence
Method or attribute name: radius: number;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: Geofence
Method or attribute name: expiration: number;
Initial version: N/A|Class name: Geofence
Method or attribute name: expiration: number;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: ReverseGeoCodeRequest
Method or attribute name: locale?: string;
Initial version: N/A|Class name: ReverseGeoCodeRequest
Method or attribute name: locale?: string;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: ReverseGeoCodeRequest
Method or attribute name: latitude: number;
Initial version: N/A|Class name: ReverseGeoCodeRequest
Method or attribute name: latitude: number;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: ReverseGeoCodeRequest
Method or attribute name: longitude: number;
Initial version: N/A|Class name: ReverseGeoCodeRequest
Method or attribute name: longitude: number;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: ReverseGeoCodeRequest
Method or attribute name: maxItems?: number;
Initial version: N/A|Class name: ReverseGeoCodeRequest
Method or attribute name: maxItems?: number;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: GeoCodeRequest
Method or attribute name: locale?: string;
Initial version: N/A|Class name: GeoCodeRequest
Method or attribute name: locale?: string;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: GeoCodeRequest
Method or attribute name: description: string;
Initial version: N/A|Class name: GeoCodeRequest
Method or attribute name: description: string;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: GeoCodeRequest
Method or attribute name: maxItems?: number;
Initial version: N/A|Class name: GeoCodeRequest
Method or attribute name: maxItems?: number;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: GeoCodeRequest
Method or attribute name: minLatitude?: number;
Initial version: N/A|Class name: GeoCodeRequest
Method or attribute name: minLatitude?: number;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: GeoCodeRequest
Method or attribute name: minLongitude?: number;
Initial version: N/A|Class name: GeoCodeRequest
Method or attribute name: minLongitude?: number;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: GeoCodeRequest
Method or attribute name: maxLatitude?: number;
Initial version: N/A|Class name: GeoCodeRequest
Method or attribute name: maxLatitude?: number;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: GeoCodeRequest
Method or attribute name: maxLongitude?: number;
Initial version: N/A|Class name: GeoCodeRequest
Method or attribute name: maxLongitude?: number;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationRequest
Method or attribute name: priority?: LocationRequestPriority;
Initial version: N/A|Class name: LocationRequest
Method or attribute name: priority?: LocationRequestPriority;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationRequest
Method or attribute name: scenario?: LocationRequestScenario;
Initial version: N/A|Class name: LocationRequest
Method or attribute name: scenario?: LocationRequestScenario;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationRequest
Method or attribute name: timeInterval?: number;
Initial version: N/A|Class name: LocationRequest
Method or attribute name: timeInterval?: number;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationRequest
Method or attribute name: distanceInterval?: number;
Initial version: N/A|Class name: LocationRequest
Method or attribute name: distanceInterval?: number;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationRequest
Method or attribute name: maxAccuracy?: number;
Initial version: N/A|Class name: LocationRequest
Method or attribute name: maxAccuracy?: number;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: CurrentLocationRequest
Method or attribute name: priority?: LocationRequestPriority;
Initial version: N/A|Class name: CurrentLocationRequest
Method or attribute name: priority?: LocationRequestPriority;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: CurrentLocationRequest
Method or attribute name: scenario?: LocationRequestScenario;
Initial version: N/A|Class name: CurrentLocationRequest
Method or attribute name: scenario?: LocationRequestScenario;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: CurrentLocationRequest
Method or attribute name: maxAccuracy?: number;
Initial version: N/A|Class name: CurrentLocationRequest
Method or attribute name: maxAccuracy?: number;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: CurrentLocationRequest
Method or attribute name: timeoutMs?: number;
Initial version: N/A|Class name: CurrentLocationRequest
Method or attribute name: timeoutMs?: number;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationRequestPriority
Method or attribute name: UNSET = 0x200
Initial version: N/A|Class name: LocationRequestPriority
Method or attribute name: UNSET = 0x200
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationRequestPriority
Method or attribute name: ACCURACY
Initial version: N/A|Class name: LocationRequestPriority
Method or attribute name: ACCURACY
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationRequestPriority
Method or attribute name: LOW_POWER
Initial version: N/A|Class name: LocationRequestPriority
Method or attribute name: LOW_POWER
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationRequestPriority
Method or attribute name: FIRST_FIX
Initial version: N/A|Class name: LocationRequestPriority
Method or attribute name: FIRST_FIX
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationRequestScenario
Method or attribute name: UNSET = 0x300
Initial version: N/A|Class name: LocationRequestScenario
Method or attribute name: UNSET = 0x300
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationRequestScenario
Method or attribute name: NAVIGATION
Initial version: N/A|Class name: LocationRequestScenario
Method or attribute name: NAVIGATION
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationRequestScenario
Method or attribute name: TRAJECTORY_TRACKING
Initial version: N/A|Class name: LocationRequestScenario
Method or attribute name: TRAJECTORY_TRACKING
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationRequestScenario
Method or attribute name: CAR_HAILING
Initial version: N/A|Class name: LocationRequestScenario
Method or attribute name: CAR_HAILING
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationRequestScenario
Method or attribute name: DAILY_LIFE_SERVICE
Initial version: N/A|Class name: LocationRequestScenario
Method or attribute name: DAILY_LIFE_SERVICE
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationRequestScenario
Method or attribute name: NO_POWER
Initial version: N/A|Class name: LocationRequestScenario
Method or attribute name: NO_POWER
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationPrivacyType
Method or attribute name: OTHERS = 0
Initial version: N/A|Class name: LocationPrivacyType
Method or attribute name: OTHERS = 0
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationPrivacyType
Method or attribute name: STARTUP
Initial version: N/A|Class name: LocationPrivacyType
Method or attribute name: STARTUP
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationPrivacyType
Method or attribute name: CORE_LOCATION
Initial version: N/A|Class name: LocationPrivacyType
Method or attribute name: CORE_LOCATION
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationCommand
Method or attribute name: scenario: LocationRequestScenario;
Initial version: N/A|Class name: LocationCommand
Method or attribute name: scenario: LocationRequestScenario;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationCommand
Method or attribute name: command: string;
Initial version: N/A|Class name: LocationCommand
Method or attribute name: command: string;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: CountryCode
Method or attribute name: country: string;
Initial version: N/A|Class name: CountryCode
Method or attribute name: country: string;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: CountryCode
Method or attribute name: type: CountryCodeType;
Initial version: N/A|Class name: CountryCode
Method or attribute name: type: CountryCodeType;
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: CountryCodeType
Method or attribute name: COUNTRY_CODE_FROM_LOCALE = 1
Initial version: N/A|Class name: CountryCodeType
Method or attribute name: COUNTRY_CODE_FROM_LOCALE = 1
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: CountryCodeType
Method or attribute name: COUNTRY_CODE_FROM_SIM
Initial version: N/A|Class name: CountryCodeType
Method or attribute name: COUNTRY_CODE_FROM_SIM
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: CountryCodeType
Method or attribute name: COUNTRY_CODE_FROM_LOCATION
Initial version: N/A|Class name: CountryCodeType
Method or attribute name: COUNTRY_CODE_FROM_LOCATION
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: CountryCodeType
Method or attribute name: COUNTRY_CODE_FROM_NETWORK
Initial version: N/A|Class name: CountryCodeType
Method or attribute name: COUNTRY_CODE_FROM_NETWORK
Initial version: 9|@ohos.geoLocationManager.d.ts|
|Error code added|NA|Class name: geoLocationManager
Method or attribute name: function enableLocation(): Promise;
Error code: 201,202,801,3301000|@ohos.geoLocationManager.d.ts|
|Error code added|NA|Class name: geoLocationManager
Method or attribute name: function getCountryCode(): Promise;
Error code: 801,3301000,3301500|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: ReverseGeocodingMockInfo
Method or attribute name: location: ReverseGeoCodeRequest;
Access level: public API|Class name: ReverseGeocodingMockInfo
Method or attribute name: location: ReverseGeoCodeRequest;
Access level: system API|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: ReverseGeocodingMockInfo
Method or attribute name: geoAddress: GeoAddress;
Access level: public API|Class name: ReverseGeocodingMockInfo
Method or attribute name: geoAddress: GeoAddress;
Access level: system API|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: LocationMockConfig
Method or attribute name: timeInterval: number;
Access level: public API|Class name: LocationMockConfig
Method or attribute name: timeInterval: number;
Access level: system API|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: LocationMockConfig
Method or attribute name: locations: Array;
Access level: public API|Class name: LocationMockConfig
Method or attribute name: locations: Array;
Access level: system API|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: GeoAddress
Method or attribute name: isFromMock?: Boolean;
Access level: public API|Class name: GeoAddress
Method or attribute name: isFromMock?: Boolean;
Access level: system API|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: Location
Method or attribute name: isFromMock?: Boolean;
Access level: public API|Class name: Location
Method or attribute name: isFromMock?: Boolean;
Access level: system API|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: LocationPrivacyType
Access level: public API|Class name: LocationPrivacyType
Access level: system API|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: LocationPrivacyType
Method or attribute name: OTHERS = 0
Access level: public API|Class name: LocationPrivacyType
Method or attribute name: OTHERS = 0
Access level: system API|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: LocationPrivacyType
Method or attribute name: STARTUP
Access level: public API|Class name: LocationPrivacyType
Method or attribute name: STARTUP
Access level: system API|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: LocationPrivacyType
Method or attribute name: CORE_LOCATION
Access level: public API|Class name: LocationPrivacyType
Method or attribute name: CORE_LOCATION
Access level: system API|@ohos.geoLocationManager.d.ts|