| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Deleted|Class name: geolocation;
Method or attribute name: function enableLocation(callback: AsyncCallback\) : void;|NA|@ohos.geolocation.d.ts|
|Deleted|Class name: geolocation;
Method or attribute name: function enableLocation() : Promise\;|NA|@ohos.geolocation.d.ts|
|Deleted|Class name: geolocation;
Method or attribute name: function disableLocation(callback: AsyncCallback\) : void;|NA|@ohos.geolocation.d.ts|
|Deleted|Class name: geolocation;
Method or attribute name: function disableLocation() : Promise\;|NA|@ohos.geolocation.d.ts|
|Deleted|Class name: geolocation;
Method or attribute name: function isLocationPrivacyConfirmed(type : LocationPrivacyType, callback: AsyncCallback\) : void;|NA|@ohos.geolocation.d.ts|
|Deleted|Class name: geolocation;
Method or attribute name: function isLocationPrivacyConfirmed(type : LocationPrivacyType,) : Promise\;|NA|@ohos.geolocation.d.ts|
|Deleted|Class name: geolocation;
Method or attribute name: function setLocationPrivacyConfirmStatus(type : LocationPrivacyType, isConfirmed : boolean, callback: AsyncCallback\) : void;|NA|@ohos.geolocation.d.ts|
|Deleted|Class name: geolocation;
Method or attribute name: function setLocationPrivacyConfirmStatus(type : LocationPrivacyType, isConfirmed : boolean) : Promise\;|NA|@ohos.geolocation.d.ts|
|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 on(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 on(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 on(type: 'gnssFenceStatusChange', request: GeofenceRequest, want: WantAgent): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager;
Method or attribute name: function on(type: 'countryCodeChange', 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 off(type: 'locationEnabledChange', 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 off(type: 'satelliteStatusChange', 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 off(type: 'gnssFenceStatusChange', request: GeofenceRequest, want: WantAgent): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager;
Method or attribute name: function off(type: 'countryCodeChange', callback?: Callback\): 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 enableLocation(callback: AsyncCallback\): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager;
Method or attribute name: function enableLocation(): Promise\;|@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 getCountryCode(callback: AsyncCallback\): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager;
Method or attribute name: function getCountryCode(): 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|
|Added|NA|Class name: ReverseGeocodingMockInfo;
Method or attribute name: location: ReverseGeoCodeRequest;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: ReverseGeocodingMockInfo;
Method or attribute name: geoAddress: GeoAddress;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: LocationMockConfig;
Method or attribute name: timeInterval: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: LocationMockConfig;
Method or attribute name: locations: Array\;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: SatelliteStatusInfo;
Method or attribute name: satellitesNumber: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: SatelliteStatusInfo;
Method or attribute name: satelliteIds: Array\;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: SatelliteStatusInfo;
Method or attribute name: carrierToNoiseDensitys: Array\;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: SatelliteStatusInfo;
Method or attribute name: altitudes: Array\;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: SatelliteStatusInfo;
Method or attribute name: azimuths: Array\;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: SatelliteStatusInfo;
Method or attribute name: carrierFrequencies: Array\;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: CachedGnssLocationsRequest;
Method or attribute name: reportingPeriodSec: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: CachedGnssLocationsRequest;
Method or attribute name: wakeUpCacheQueueFull: boolean;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: GeofenceRequest;
Method or attribute name: scenario: LocationRequestScenario;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: LocationCommand;
Method or attribute name: scenario: LocationRequestScenario;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: GeofenceRequest;
Method or attribute name: geofence: Geofence;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: Geofence;
Method or attribute name: latitude: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: ReverseGeoCodeRequest;
Method or attribute name: latitude: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: Location;
Method or attribute name: latitude: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: Geofence;
Method or attribute name: longitude: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: ReverseGeoCodeRequest;
Method or attribute name: longitude: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: Location;
Method or attribute name: longitude: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: Geofence;
Method or attribute name: radius: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: Geofence;
Method or attribute name: expiration: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: ReverseGeoCodeRequest;
Method or attribute name: locale?: string;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: GeoCodeRequest;
Method or attribute name: locale?: string;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: GeoAddress;
Method or attribute name: locale?: string;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: ReverseGeoCodeRequest;
Method or attribute name: maxItems?: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: GeoCodeRequest;
Method or attribute name: maxItems?: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: GeoCodeRequest;
Method or attribute name: description: string;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: GeoCodeRequest;
Method or attribute name: minLatitude?: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: GeoCodeRequest;
Method or attribute name: minLongitude?: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: GeoCodeRequest;
Method or attribute name: maxLatitude?: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: GeoCodeRequest;
Method or attribute name: maxLongitude?: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: GeoAddress;
Method or attribute name: latitude?: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: GeoAddress;
Method or attribute name: longitude?: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: GeoAddress;
Method or attribute name: placeName?: string;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: GeoAddress;
Method or attribute name: countryCode?: string;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: GeoAddress;
Method or attribute name: countryName?: string;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: GeoAddress;
Method or attribute name: administrativeArea?: string;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: GeoAddress;
Method or attribute name: subAdministrativeArea?: string;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: GeoAddress;
Method or attribute name: locality?: string;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: GeoAddress;
Method or attribute name: subLocality?: string;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: GeoAddress;
Method or attribute name: roadName?: string;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: GeoAddress;
Method or attribute name: subRoadName?: string;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: GeoAddress;
Method or attribute name: premises?: string;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: GeoAddress;
Method or attribute name: postalCode?: string;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: GeoAddress;
Method or attribute name: phoneNumber?: string;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: GeoAddress;
Method or attribute name: addressUrl?: string;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: GeoAddress;
Method or attribute name: descriptions?: Array\;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: GeoAddress;
Method or attribute name: descriptionsSize?: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: GeoAddress;
Method or attribute name: isFromMock?: Boolean;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: Location;
Method or attribute name: isFromMock?: Boolean;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: LocationRequest;
Method or attribute name: priority?: LocationRequestPriority;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: CurrentLocationRequest;
Method or attribute name: priority?: LocationRequestPriority;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: LocationRequest;
Method or attribute name: scenario?: LocationRequestScenario;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: CurrentLocationRequest;
Method or attribute name: scenario?: LocationRequestScenario;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: LocationRequest;
Method or attribute name: timeInterval?: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: LocationRequest;
Method or attribute name: distanceInterval?: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: LocationRequest;
Method or attribute name: maxAccuracy?: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: CurrentLocationRequest;
Method or attribute name: maxAccuracy?: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: CurrentLocationRequest;
Method or attribute name: timeoutMs?: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: Location;
Method or attribute name: altitude: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: Location;
Method or attribute name: accuracy: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: Location;
Method or attribute name: speed: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: Location;
Method or attribute name: timeStamp: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: Location;
Method or attribute name: direction: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: Location;
Method or attribute name: timeSinceBoot: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: Location;
Method or attribute name: additions?: Array\;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: Location;
Method or attribute name: additionSize?: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: LocationRequestPriority;
Method or attribute name: UNSET = 0x200|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: LocationRequestPriority;
Method or attribute name: ACCURACY|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: LocationRequestPriority;
Method or attribute name: LOW_POWER|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: LocationRequestPriority;
Method or attribute name: FIRST_FIX|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: LocationRequestScenario;
Method or attribute name: UNSET = 0x300|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: LocationRequestScenario;
Method or attribute name: NAVIGATION|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: LocationRequestScenario;
Method or attribute name: TRAJECTORY_TRACKING|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: LocationRequestScenario;
Method or attribute name: CAR_HAILING|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: LocationRequestScenario;
Method or attribute name: DAILY_LIFE_SERVICE|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: LocationRequestScenario;
Method or attribute name: NO_POWER|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: LocationPrivacyType;
Method or attribute name: OTHERS = 0|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: LocationPrivacyType;
Method or attribute name: STARTUP|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: LocationPrivacyType;
Method or attribute name: CORE_LOCATION|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: LocationCommand;
Method or attribute name: command: string;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: CountryCode;
Method or attribute name: country: string;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: CountryCode;
Method or attribute name: type: CountryCodeType;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: CountryCodeType;
Method or attribute name: COUNTRY_CODE_FROM_LOCALE = 1|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: CountryCodeType;
Method or attribute name: COUNTRY_CODE_FROM_SIM|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: CountryCodeType;
Method or attribute name: COUNTRY_CODE_FROM_LOCATION|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: CountryCodeType;
Method or attribute name: COUNTRY_CODE_FROM_NETWORK|@ohos.geoLocationManager.d.ts|
|Deprecated version changed|Class name: geolocation;
Method or attribute name: declare geolocation
Old version: |Class name: geolocation;
Method or attribute name: declare geolocation
New version: 9
Substitute API: |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation;
Method or attribute name: function on(type: 'locationChange', request: LocationRequest, callback: Callback\): void;
Old version: |Class name: geolocation;
Method or attribute name: function on(type: 'locationChange', request: LocationRequest, callback: Callback\): void;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.on#event:locationChange|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation;
Method or attribute name: function on(type: 'locationServiceState', callback: Callback\): void;
Old version: |Class name: geolocation;
Method or attribute name: function on(type: 'locationServiceState', callback: Callback\): void;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.on#event:locationEnabledChange|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation;
Method or attribute name: function on(type: 'cachedGnssLocationsReporting', request: CachedGnssLocationsRequest, callback: Callback\>): void;
Old version: |Class name: geolocation;
Method or attribute name: function on(type: 'cachedGnssLocationsReporting', request: CachedGnssLocationsRequest, callback: Callback\>): void;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.on#event:cachedGnssLocationsChange|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation;
Method or attribute name: function on(type: 'gnssStatusChange', callback: Callback\): void;
Old version: |Class name: geolocation;
Method or attribute name: function on(type: 'gnssStatusChange', callback: Callback\): void;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.on#event:satelliteStatusChange|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation;
Method or attribute name: function on(type: 'nmeaMessageChange', callback: Callback\): void;
Old version: |Class name: geolocation;
Method or attribute name: function on(type: 'nmeaMessageChange', callback: Callback\): void;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.on#event:nmeaMessage|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation;
Method or attribute name: function on(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void;
Old version: |Class name: geolocation;
Method or attribute name: function on(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.on#event:gnssFenceStatusChange|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation;
Method or attribute name: function off(type: 'locationChange', callback?: Callback\): void;
Old version: |Class name: geolocation;
Method or attribute name: function off(type: 'locationChange', callback?: Callback\): void;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.off#event:locationChange|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation;
Method or attribute name: function off(type: 'locationServiceState', callback?: Callback\): void;
Old version: |Class name: geolocation;
Method or attribute name: function off(type: 'locationServiceState', callback?: Callback\): void;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.off#event:locationEnabledChange|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation;
Method or attribute name: function off(type: 'cachedGnssLocationsReporting', callback?: Callback\>): void;
Old version: |Class name: geolocation;
Method or attribute name: function off(type: 'cachedGnssLocationsReporting', callback?: Callback\>): void;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.off#event:cachedGnssLocationsChange|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation;
Method or attribute name: function off(type: 'gnssStatusChange', callback?: Callback\): void;
Old version: |Class name: geolocation;
Method or attribute name: function off(type: 'gnssStatusChange', callback?: Callback\): void;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.off#event:satelliteStatusChange|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation;
Method or attribute name: function off(type: 'nmeaMessageChange', callback?: Callback\): void;
Old version: |Class name: geolocation;
Method or attribute name: function off(type: 'nmeaMessageChange', callback?: Callback\): void;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.off#event:nmeaMessage|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation;
Method or attribute name: function off(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void;
Old version: |Class name: geolocation;
Method or attribute name: function off(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.off#event:gnssFenceStatusChange|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation;
Method or attribute name: function getCurrentLocation(request: CurrentLocationRequest, callback: AsyncCallback\): void;
Old version: |Class name: geolocation;
Method or attribute name: function getCurrentLocation(request: CurrentLocationRequest, callback: AsyncCallback\): void;
New 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;
Old version: |Class name: geolocation;
Method or attribute name: function getCurrentLocation(callback: AsyncCallback\): void;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.getCurrentLocation|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation;
Method or attribute name: function getCurrentLocation(request?: CurrentLocationRequest): Promise\;
Old version: |Class name: geolocation;
Method or attribute name: function getCurrentLocation(request?: CurrentLocationRequest): Promise\;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.getCurrentLocation|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation;
Method or attribute name: function getLastLocation(callback: AsyncCallback\): void;
Old version: |Class name: geolocation;
Method or attribute name: function getLastLocation(callback: AsyncCallback\): void;
New 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\;
Old version: |Class name: geolocation;
Method or attribute name: function getLastLocation(): Promise\;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.getLastLocation|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation;
Method or attribute name: function isLocationEnabled(callback: AsyncCallback\): void;
Old version: |Class name: geolocation;
Method or attribute name: function isLocationEnabled(callback: AsyncCallback\): void;
New 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\;
Old version: |Class name: geolocation;
Method or attribute name: function isLocationEnabled(): Promise\;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.isLocationEnabled|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation;
Method or attribute name: function requestEnableLocation(callback: AsyncCallback\): void;
Old version: |Class name: geolocation;
Method or attribute name: function requestEnableLocation(callback: AsyncCallback\): void;
New version: 9
Substitute API: |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation;
Method or attribute name: function requestEnableLocation(): Promise\;
Old version: |Class name: geolocation;
Method or attribute name: function requestEnableLocation(): Promise\;
New version: 9
Substitute API: |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation;
Method or attribute name: function getAddressesFromLocation(request: ReverseGeoCodeRequest, callback: AsyncCallback\>): void;
Old version: |Class name: geolocation;
Method or attribute name: function getAddressesFromLocation(request: ReverseGeoCodeRequest, callback: AsyncCallback\>): void;
New 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\>;
Old version: |Class name: geolocation;
Method or attribute name: function getAddressesFromLocation(request: ReverseGeoCodeRequest): Promise\>;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.getAddressesFromLocation|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation;
Method or attribute name: function getAddressesFromLocationName(request: GeoCodeRequest, callback: AsyncCallback\>): void;
Old version: |Class name: geolocation;
Method or attribute name: function getAddressesFromLocationName(request: GeoCodeRequest, callback: AsyncCallback\>): void;
New 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\>;
Old version: |Class name: geolocation;
Method or attribute name: function getAddressesFromLocationName(request: GeoCodeRequest): Promise\>;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.getAddressesFromLocationName|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation;
Method or attribute name: function isGeoServiceAvailable(callback: AsyncCallback\): void;
Old version: |Class name: geolocation;
Method or attribute name: function isGeoServiceAvailable(callback: AsyncCallback\): void;
New 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\;
Old version: |Class name: geolocation;
Method or attribute name: function isGeoServiceAvailable(): Promise\;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.isGeocoderAvailable|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation;
Method or attribute name: function getCachedGnssLocationsSize(callback: AsyncCallback\): void;
Old version: |Class name: geolocation;
Method or attribute name: function getCachedGnssLocationsSize(callback: AsyncCallback\): void;
New 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\;
Old version: |Class name: geolocation;
Method or attribute name: function getCachedGnssLocationsSize(): Promise\;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.getCachedGnssLocationsSize|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation;
Method or attribute name: function flushCachedGnssLocations(callback: AsyncCallback\): void;
Old version: |Class name: geolocation;
Method or attribute name: function flushCachedGnssLocations(callback: AsyncCallback\): void;
New 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\;
Old version: |Class name: geolocation;
Method or attribute name: function flushCachedGnssLocations(): Promise\;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.flushCachedGnssLocations|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation;
Method or attribute name: function sendCommand(command: LocationCommand, callback: AsyncCallback\): void;
Old version: |Class name: geolocation;
Method or attribute name: function sendCommand(command: LocationCommand, callback: AsyncCallback\): void;
New 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\;
Old version: |Class name: geolocation;
Method or attribute name: function sendCommand(command: LocationCommand): Promise\;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.sendCommand|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: SatelliteStatusInfo;
Method or attribute name: export interface SatelliteStatusInfo
Old version: |Class name: SatelliteStatusInfo;
Method or attribute name: export interface SatelliteStatusInfo
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.SatelliteStatusInfo|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: SatelliteStatusInfo;
Method or attribute name: satellitesNumber: number;
Old version: |Class name: SatelliteStatusInfo;
Method or attribute name: satellitesNumber: number;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.SatelliteStatusInfo|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: SatelliteStatusInfo;
Method or attribute name: satelliteIds: Array\;
Old version: |Class name: SatelliteStatusInfo;
Method or attribute name: satelliteIds: Array\;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.SatelliteStatusInfo|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: SatelliteStatusInfo;
Method or attribute name: carrierToNoiseDensitys: Array\;
Old version: |Class name: SatelliteStatusInfo;
Method or attribute name: carrierToNoiseDensitys: Array\;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.SatelliteStatusInfo|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: SatelliteStatusInfo;
Method or attribute name: altitudes: Array\;
Old version: |Class name: SatelliteStatusInfo;
Method or attribute name: altitudes: Array\;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.SatelliteStatusInfo|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: SatelliteStatusInfo;
Method or attribute name: azimuths: Array\;
Old version: |Class name: SatelliteStatusInfo;
Method or attribute name: azimuths: Array\;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.SatelliteStatusInfo|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: SatelliteStatusInfo;
Method or attribute name: carrierFrequencies: Array\;
Old version: |Class name: SatelliteStatusInfo;
Method or attribute name: carrierFrequencies: Array\;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.SatelliteStatusInfo|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: CachedGnssLocationsRequest;
Method or attribute name: export interface CachedGnssLocationsRequest
Old version: |Class name: CachedGnssLocationsRequest;
Method or attribute name: export interface CachedGnssLocationsRequest
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.CachedGnssLocationsRequest|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: CachedGnssLocationsRequest;
Method or attribute name: reportingPeriodSec: number;
Old version: |Class name: CachedGnssLocationsRequest;
Method or attribute name: reportingPeriodSec: number;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.CachedGnssLocationsRequest|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: CachedGnssLocationsRequest;
Method or attribute name: wakeUpCacheQueueFull: boolean;
Old version: |Class name: CachedGnssLocationsRequest;
Method or attribute name: wakeUpCacheQueueFull: boolean;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.CachedGnssLocationsRequest|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeofenceRequest;
Method or attribute name: export interface GeofenceRequest
Old version: |Class name: GeofenceRequest;
Method or attribute name: export interface GeofenceRequest
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.GeofenceRequest|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeofenceRequest;
Method or attribute name: priority: LocationRequestPriority;
Old version: |Class name: GeofenceRequest;
Method or attribute name: priority: LocationRequestPriority;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.GeofenceRequest|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeofenceRequest;
Method or attribute name: scenario: LocationRequestScenario;
Old version: |Class name: GeofenceRequest;
Method or attribute name: scenario: LocationRequestScenario;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.GeofenceRequest|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: LocationCommand;
Method or attribute name: scenario: LocationRequestScenario;
Old version: |Class name: LocationCommand;
Method or attribute name: scenario: LocationRequestScenario;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationCommand|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeofenceRequest;
Method or attribute name: geofence: Geofence;
Old version: |Class name: GeofenceRequest;
Method or attribute name: geofence: Geofence;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.GeofenceRequest|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: Geofence;
Method or attribute name: export interface Geofence
Old version: |Class name: Geofence;
Method or attribute name: export interface Geofence
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.Geofence|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: Geofence;
Method or attribute name: latitude: number;
Old version: |Class name: Geofence;
Method or attribute name: latitude: number;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.Geofence|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: ReverseGeoCodeRequest;
Method or attribute name: latitude: number;
Old version: |Class name: ReverseGeoCodeRequest;
Method or attribute name: latitude: number;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.ReverseGeoCodeRequest|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: Location;
Method or attribute name: latitude: number;
Old version: |Class name: Location;
Method or attribute name: latitude: number;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.Location|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: Geofence;
Method or attribute name: longitude: number;
Old version: |Class name: Geofence;
Method or attribute name: longitude: number;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.Geofence|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: ReverseGeoCodeRequest;
Method or attribute name: longitude: number;
Old version: |Class name: ReverseGeoCodeRequest;
Method or attribute name: longitude: number;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.ReverseGeoCodeRequest|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: Location;
Method or attribute name: longitude: number;
Old version: |Class name: Location;
Method or attribute name: longitude: number;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.Location|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: Geofence;
Method or attribute name: radius: number;
Old version: |Class name: Geofence;
Method or attribute name: radius: number;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.Geofence|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: Geofence;
Method or attribute name: expiration: number;
Old version: |Class name: Geofence;
Method or attribute name: expiration: number;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.Geofence|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: ReverseGeoCodeRequest;
Method or attribute name: export interface ReverseGeoCodeRequest
Old version: |Class name: ReverseGeoCodeRequest;
Method or attribute name: export interface ReverseGeoCodeRequest
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.ReverseGeoCodeRequest|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: ReverseGeoCodeRequest;
Method or attribute name: locale?: string;
Old version: |Class name: ReverseGeoCodeRequest;
Method or attribute name: locale?: string;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.ReverseGeoCodeRequest|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoCodeRequest;
Method or attribute name: locale?: string;
Old version: |Class name: GeoCodeRequest;
Method or attribute name: locale?: string;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.GeoCodeRequest|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoAddress;
Method or attribute name: locale?: string;
Old version: |Class name: GeoAddress;
Method or attribute name: locale?: string;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.GeoAddress|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: ReverseGeoCodeRequest;
Method or attribute name: maxItems?: number;
Old version: |Class name: ReverseGeoCodeRequest;
Method or attribute name: maxItems?: number;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.ReverseGeoCodeRequest|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoCodeRequest;
Method or attribute name: maxItems?: number;
Old version: |Class name: GeoCodeRequest;
Method or attribute name: maxItems?: number;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.GeoCodeRequest|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoCodeRequest;
Method or attribute name: export interface GeoCodeRequest
Old version: |Class name: GeoCodeRequest;
Method or attribute name: export interface GeoCodeRequest
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.GeoCodeRequest|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoCodeRequest;
Method or attribute name: description: string;
Old version: |Class name: GeoCodeRequest;
Method or attribute name: description: string;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.GeoCodeRequest|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoCodeRequest;
Method or attribute name: minLatitude?: number;
Old version: |Class name: GeoCodeRequest;
Method or attribute name: minLatitude?: number;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.GeoCodeRequest|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoCodeRequest;
Method or attribute name: minLongitude?: number;
Old version: |Class name: GeoCodeRequest;
Method or attribute name: minLongitude?: number;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.GeoCodeRequest|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoCodeRequest;
Method or attribute name: maxLatitude?: number;
Old version: |Class name: GeoCodeRequest;
Method or attribute name: maxLatitude?: number;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.GeoCodeRequest|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoCodeRequest;
Method or attribute name: maxLongitude?: number;
Old version: |Class name: GeoCodeRequest;
Method or attribute name: maxLongitude?: number;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.GeoCodeRequest|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoAddress;
Method or attribute name: export interface GeoAddress
Old version: |Class name: GeoAddress;
Method or attribute name: export interface GeoAddress
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.GeoAddress|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoAddress;
Method or attribute name: latitude?: number;
Old version: |Class name: GeoAddress;
Method or attribute name: latitude?: number;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.GeoAddress|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoAddress;
Method or attribute name: longitude?: number;
Old version: |Class name: GeoAddress;
Method or attribute name: longitude?: number;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.GeoAddress|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoAddress;
Method or attribute name: placeName?: string;
Old version: |Class name: GeoAddress;
Method or attribute name: placeName?: string;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.GeoAddress|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoAddress;
Method or attribute name: countryCode?: string;
Old version: |Class name: GeoAddress;
Method or attribute name: countryCode?: string;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.GeoAddress|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoAddress;
Method or attribute name: countryName?: string;
Old version: |Class name: GeoAddress;
Method or attribute name: countryName?: string;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.GeoAddress|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoAddress;
Method or attribute name: administrativeArea?: string;
Old version: |Class name: GeoAddress;
Method or attribute name: administrativeArea?: string;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.GeoAddress|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoAddress;
Method or attribute name: subAdministrativeArea?: string;
Old version: |Class name: GeoAddress;
Method or attribute name: subAdministrativeArea?: string;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.GeoAddress|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoAddress;
Method or attribute name: locality?: string;
Old version: |Class name: GeoAddress;
Method or attribute name: locality?: string;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.GeoAddress|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoAddress;
Method or attribute name: subLocality?: string;
Old version: |Class name: GeoAddress;
Method or attribute name: subLocality?: string;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.GeoAddress|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoAddress;
Method or attribute name: roadName?: string;
Old version: |Class name: GeoAddress;
Method or attribute name: roadName?: string;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.GeoAddress|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoAddress;
Method or attribute name: subRoadName?: string;
Old version: |Class name: GeoAddress;
Method or attribute name: subRoadName?: string;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.GeoAddress|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoAddress;
Method or attribute name: premises?: string;
Old version: |Class name: GeoAddress;
Method or attribute name: premises?: string;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.GeoAddress|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoAddress;
Method or attribute name: postalCode?: string;
Old version: |Class name: GeoAddress;
Method or attribute name: postalCode?: string;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.GeoAddress|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoAddress;
Method or attribute name: phoneNumber?: string;
Old version: |Class name: GeoAddress;
Method or attribute name: phoneNumber?: string;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.GeoAddress|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoAddress;
Method or attribute name: addressUrl?: string;
Old version: |Class name: GeoAddress;
Method or attribute name: addressUrl?: string;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.GeoAddress|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoAddress;
Method or attribute name: descriptions?: Array\;
Old version: |Class name: GeoAddress;
Method or attribute name: descriptions?: Array\;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.GeoAddress|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoAddress;
Method or attribute name: descriptionsSize?: number;
Old version: |Class name: GeoAddress;
Method or attribute name: descriptionsSize?: number;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.GeoAddress|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: LocationRequest;
Method or attribute name: export interface LocationRequest
Old version: |Class name: LocationRequest;
Method or attribute name: export interface LocationRequest
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationRequest|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: LocationRequest;
Method or attribute name: priority?: LocationRequestPriority;
Old version: |Class name: LocationRequest;
Method or attribute name: priority?: LocationRequestPriority;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationRequest|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: CurrentLocationRequest;
Method or attribute name: priority?: LocationRequestPriority;
Old version: |Class name: CurrentLocationRequest;
Method or attribute name: priority?: LocationRequestPriority;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.CurrentLocationRequest|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: LocationRequest;
Method or attribute name: scenario?: LocationRequestScenario;
Old version: |Class name: LocationRequest;
Method or attribute name: scenario?: LocationRequestScenario;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationRequest|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: CurrentLocationRequest;
Method or attribute name: scenario?: LocationRequestScenario;
Old version: |Class name: CurrentLocationRequest;
Method or attribute name: scenario?: LocationRequestScenario;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.CurrentLocationRequest|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: LocationRequest;
Method or attribute name: timeInterval?: number;
Old version: |Class name: LocationRequest;
Method or attribute name: timeInterval?: number;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationRequest|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: LocationRequest;
Method or attribute name: distanceInterval?: number;
Old version: |Class name: LocationRequest;
Method or attribute name: distanceInterval?: number;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationRequest|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: LocationRequest;
Method or attribute name: maxAccuracy?: number;
Old version: |Class name: LocationRequest;
Method or attribute name: maxAccuracy?: number;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationRequest|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: CurrentLocationRequest;
Method or attribute name: maxAccuracy?: number;
Old version: |Class name: CurrentLocationRequest;
Method or attribute name: maxAccuracy?: number;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.CurrentLocationRequest|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: CurrentLocationRequest;
Method or attribute name: export interface CurrentLocationRequest
Old version: |Class name: CurrentLocationRequest;
Method or attribute name: export interface CurrentLocationRequest
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.CurrentLocationRequest|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: CurrentLocationRequest;
Method or attribute name: timeoutMs?: number;
Old version: |Class name: CurrentLocationRequest;
Method or attribute name: timeoutMs?: number;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.CurrentLocationRequest|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: Location;
Method or attribute name: export interface Location
Old version: |Class name: Location;
Method or attribute name: export interface Location
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.Location|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: Location;
Method or attribute name: altitude: number;
Old version: |Class name: Location;
Method or attribute name: altitude: number;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.Location|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: Location;
Method or attribute name: accuracy: number;
Old version: |Class name: Location;
Method or attribute name: accuracy: number;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.Location|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: Location;
Method or attribute name: speed: number;
Old version: |Class name: Location;
Method or attribute name: speed: number;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.Location|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: Location;
Method or attribute name: timeStamp: number;
Old version: |Class name: Location;
Method or attribute name: timeStamp: number;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.Location|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: Location;
Method or attribute name: direction: number;
Old version: |Class name: Location;
Method or attribute name: direction: number;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.Location|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: Location;
Method or attribute name: timeSinceBoot: number;
Old version: |Class name: Location;
Method or attribute name: timeSinceBoot: number;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.Location|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: Location;
Method or attribute name: additions?: Array\;
Old version: |Class name: Location;
Method or attribute name: additions?: Array\;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.Location|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: Location;
Method or attribute name: additionSize?: number;
Old version: |Class name: Location;
Method or attribute name: additionSize?: number;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.Location|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: LocationRequestPriority;
Method or attribute name: export enum LocationRequestPriority
Old version: |Class name: LocationRequestPriority;
Method or attribute name: export enum LocationRequestPriority
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationRequestPriority|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: LocationRequestPriority;
Method or attribute name: UNSET = 0x200
Old version: |Class name: LocationRequestPriority;
Method or attribute name: UNSET = 0x200
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationRequestPriority|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: LocationRequestPriority;
Method or attribute name: ACCURACY
Old version: |Class name: LocationRequestPriority;
Method or attribute name: ACCURACY
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationRequestPriority|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: LocationRequestPriority;
Method or attribute name: LOW_POWER
Old version: |Class name: LocationRequestPriority;
Method or attribute name: LOW_POWER
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationRequestPriority|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: LocationRequestPriority;
Method or attribute name: FIRST_FIX
Old version: |Class name: LocationRequestPriority;
Method or attribute name: FIRST_FIX
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationRequestPriority|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: LocationRequestScenario;
Method or attribute name: export enum LocationRequestScenario
Old version: |Class name: LocationRequestScenario;
Method or attribute name: export enum LocationRequestScenario
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationRequestScenario|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: LocationRequestScenario;
Method or attribute name: UNSET = 0x300
Old version: |Class name: LocationRequestScenario;
Method or attribute name: UNSET = 0x300
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationRequestScenario|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: LocationRequestScenario;
Method or attribute name: NAVIGATION
Old version: |Class name: LocationRequestScenario;
Method or attribute name: NAVIGATION
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationRequestScenario|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: LocationRequestScenario;
Method or attribute name: TRAJECTORY_TRACKING
Old version: |Class name: LocationRequestScenario;
Method or attribute name: TRAJECTORY_TRACKING
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationRequestScenario|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: LocationRequestScenario;
Method or attribute name: CAR_HAILING
Old version: |Class name: LocationRequestScenario;
Method or attribute name: CAR_HAILING
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationRequestScenario|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: LocationRequestScenario;
Method or attribute name: DAILY_LIFE_SERVICE
Old version: |Class name: LocationRequestScenario;
Method or attribute name: DAILY_LIFE_SERVICE
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationRequestScenario|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: LocationRequestScenario;
Method or attribute name: NO_POWER
Old version: |Class name: LocationRequestScenario;
Method or attribute name: NO_POWER
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationRequestScenario|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoLocationErrorCode;
Method or attribute name: export enum GeoLocationErrorCode
Old version: |Class name: GeoLocationErrorCode;
Method or attribute name: export enum GeoLocationErrorCode
New version: 9
Substitute API: |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoLocationErrorCode;
Method or attribute name: INPUT_PARAMS_ERROR
Old version: |Class name: GeoLocationErrorCode;
Method or attribute name: INPUT_PARAMS_ERROR
New version: 9
Substitute API: |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoLocationErrorCode;
Method or attribute name: REVERSE_GEOCODE_ERROR
Old version: |Class name: GeoLocationErrorCode;
Method or attribute name: REVERSE_GEOCODE_ERROR
New version: 9
Substitute API: |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoLocationErrorCode;
Method or attribute name: GEOCODE_ERROR
Old version: |Class name: GeoLocationErrorCode;
Method or attribute name: GEOCODE_ERROR
New version: 9
Substitute API: |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoLocationErrorCode;
Method or attribute name: LOCATOR_ERROR
Old version: |Class name: GeoLocationErrorCode;
Method or attribute name: LOCATOR_ERROR
New version: 9
Substitute API: |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoLocationErrorCode;
Method or attribute name: LOCATION_SWITCH_ERROR
Old version: |Class name: GeoLocationErrorCode;
Method or attribute name: LOCATION_SWITCH_ERROR
New version: 9
Substitute API: |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoLocationErrorCode;
Method or attribute name: LAST_KNOWN_LOCATION_ERROR
Old version: |Class name: GeoLocationErrorCode;
Method or attribute name: LAST_KNOWN_LOCATION_ERROR
New version: 9
Substitute API: |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoLocationErrorCode;
Method or attribute name: LOCATION_REQUEST_TIMEOUT_ERROR
Old version: |Class name: GeoLocationErrorCode;
Method or attribute name: LOCATION_REQUEST_TIMEOUT_ERROR
New version: 9
Substitute API: |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: LocationPrivacyType;
Method or attribute name: export enum LocationPrivacyType
Old version: |Class name: LocationPrivacyType;
Method or attribute name: export enum LocationPrivacyType
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationPrivacyType|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: LocationPrivacyType;
Method or attribute name: OTHERS = 0
Old version: |Class name: LocationPrivacyType;
Method or attribute name: OTHERS = 0
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationPrivacyType|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: LocationPrivacyType;
Method or attribute name: STARTUP
Old version: |Class name: LocationPrivacyType;
Method or attribute name: STARTUP
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationPrivacyType|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: LocationPrivacyType;
Method or attribute name: CORE_LOCATION
Old version: |Class name: LocationPrivacyType;
Method or attribute name: CORE_LOCATION
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationPrivacyType|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: LocationCommand;
Method or attribute name: export interface LocationCommand
Old version: |Class name: LocationCommand;
Method or attribute name: export interface LocationCommand
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationCommand|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: LocationCommand;
Method or attribute name: command: string;
Old version: |Class name: LocationCommand;
Method or attribute name: command: string;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationCommand|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeolocationResponse;
Method or attribute name: export interface GeolocationResponse
Old version: |Class name: GeolocationResponse;
Method or attribute name: export interface GeolocationResponse
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.Location|@system.geolocation.d.ts|
|Deprecated version changed|Class name: GeolocationResponse;
Method or attribute name: longitude: number;
Old version: |Class name: GeolocationResponse;
Method or attribute name: longitude: number;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.Location|@system.geolocation.d.ts|
|Deprecated version changed|Class name: GeolocationResponse;
Method or attribute name: latitude: number;
Old version: |Class name: GeolocationResponse;
Method or attribute name: latitude: number;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.Location|@system.geolocation.d.ts|
|Deprecated version changed|Class name: GeolocationResponse;
Method or attribute name: altitude: number;
Old version: |Class name: GeolocationResponse;
Method or attribute name: altitude: number;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.Location|@system.geolocation.d.ts|
|Deprecated version changed|Class name: GeolocationResponse;
Method or attribute name: accuracy: number;
Old version: |Class name: GeolocationResponse;
Method or attribute name: accuracy: number;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.Location|@system.geolocation.d.ts|
|Deprecated version changed|Class name: GeolocationResponse;
Method or attribute name: time: number;
Old version: |Class name: GeolocationResponse;
Method or attribute name: time: number;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.Location|@system.geolocation.d.ts|
|Deprecated version changed|Class name: GetLocationOption;
Method or attribute name: export interface GetLocationOption
Old version: |Class name: GetLocationOption;
Method or attribute name: export interface GetLocationOption
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.CurrentLocationRequest|@system.geolocation.d.ts|
|Deprecated version changed|Class name: GetLocationOption;
Method or attribute name: timeout?: number;
Old version: |Class name: GetLocationOption;
Method or attribute name: timeout?: number;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.CurrentLocationRequest|@system.geolocation.d.ts|
|Deprecated version changed|Class name: GetLocationOption;
Method or attribute name: coordType?: string;
Old version: |Class name: GetLocationOption;
Method or attribute name: coordType?: string;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.CurrentLocationRequest|@system.geolocation.d.ts|
|Deprecated version changed|Class name: SubscribeLocationOption;
Method or attribute name: coordType?: string;
Old version: |Class name: SubscribeLocationOption;
Method or attribute name: coordType?: string;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationRequest|@system.geolocation.d.ts|
|Deprecated version changed|Class name: GetLocationOption;
Method or attribute name: success?: (data: GeolocationResponse) => void;
Old version: |Class name: GetLocationOption;
Method or attribute name: success?: (data: GeolocationResponse) => void;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.CurrentLocationRequest|@system.geolocation.d.ts|
|Deprecated version changed|Class name: GetLocationOption;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version: |Class name: GetLocationOption;
Method or attribute name: fail?: (data: string, code: number) => void;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.CurrentLocationRequest|@system.geolocation.d.ts|
|Deprecated version changed|Class name: GetLocationTypeOption;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version: |Class name: GetLocationTypeOption;
Method or attribute name: fail?: (data: string, code: number) => void;
New version: 9
Substitute API: |@system.geolocation.d.ts|
|Deprecated version changed|Class name: SubscribeLocationOption;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version: |Class name: SubscribeLocationOption;
Method or attribute name: fail?: (data: string, code: number) => void;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationRequest|@system.geolocation.d.ts|
|Deprecated version changed|Class name: GetLocationOption;
Method or attribute name: complete?: () => void;
Old version: |Class name: GetLocationOption;
Method or attribute name: complete?: () => void;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.CurrentLocationRequest|@system.geolocation.d.ts|
|Deprecated version changed|Class name: GetLocationTypeOption;
Method or attribute name: complete?: () => void;
Old version: |Class name: GetLocationTypeOption;
Method or attribute name: complete?: () => void;
New version: 9
Substitute API: |@system.geolocation.d.ts|
|Deprecated version changed|Class name: GetLocationTypeResponse;
Method or attribute name: export interface GetLocationTypeResponse
Old version: |Class name: GetLocationTypeResponse;
Method or attribute name: export interface GetLocationTypeResponse
New version: 9
Substitute API: |@system.geolocation.d.ts|
|Deprecated version changed|Class name: GetLocationTypeResponse;
Method or attribute name: types: Array\;
Old version: |Class name: GetLocationTypeResponse;
Method or attribute name: types: Array\;
New version: 9
Substitute API: |@system.geolocation.d.ts|
|Deprecated version changed|Class name: GetLocationTypeOption;
Method or attribute name: export interface GetLocationTypeOption
Old version: |Class name: GetLocationTypeOption;
Method or attribute name: export interface GetLocationTypeOption
New version: 9
Substitute API: |@system.geolocation.d.ts|
|Deprecated version changed|Class name: GetLocationTypeOption;
Method or attribute name: success?: (data: GetLocationTypeResponse) => void;
Old version: |Class name: GetLocationTypeOption;
Method or attribute name: success?: (data: GetLocationTypeResponse) => void;
New version: 9
Substitute API: |@system.geolocation.d.ts|
|Deprecated version changed|Class name: SubscribeLocationOption;
Method or attribute name: export interface SubscribeLocationOption
Old version: |Class name: SubscribeLocationOption;
Method or attribute name: export interface SubscribeLocationOption
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationRequest|@system.geolocation.d.ts|
|Deprecated version changed|Class name: SubscribeLocationOption;
Method or attribute name: success: (data: GeolocationResponse) => void;
Old version: |Class name: SubscribeLocationOption;
Method or attribute name: success: (data: GeolocationResponse) => void;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationRequest|@system.geolocation.d.ts|
|Deprecated version changed|Class name: Geolocation;
Method or attribute name: export default class Geolocation
Old version: |Class name: Geolocation;
Method or attribute name: export default class Geolocation
New 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;
Old version: |Class name: Geolocation;
Method or attribute name: static getLocation(options?: GetLocationOption): void;
New 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;
Old version: |Class name: Geolocation;
Method or attribute name: static getLocationType(options?: GetLocationTypeOption): void;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager|@system.geolocation.d.ts|
|Deprecated version changed|Class name: Geolocation;
Method or attribute name: static subscribe(options: SubscribeLocationOption): void;
Old version: |Class name: Geolocation;
Method or attribute name: static subscribe(options: SubscribeLocationOption): void;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.on#event:locationChange|@system.geolocation.d.ts|
|Deprecated version changed|Class name: Geolocation;
Method or attribute name: static unsubscribe(): void;
Old version: |Class name: Geolocation;
Method or attribute name: static unsubscribe(): void;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.off#event:locationChange|@system.geolocation.d.ts|
|Deprecated version changed|Class name: Geolocation;
Method or attribute name: static getSupportedCoordTypes(): Array\;
Old version: |Class name: Geolocation;
Method or attribute name: static getSupportedCoordTypes(): Array\;
New version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager|@system.geolocation.d.ts|
|Function changed|Class name: GeoLocationErrorCode;
Method or attribute name: INPUT_PARAMS_ERROR = 101|Class name: GeoLocationErrorCode;
Method or attribute name: INPUT_PARAMS_ERROR|@ohos.geolocation.d.ts|