harmony 鸿蒙js-apidiff-geolocation

  • 2023-06-24
  • 浏览 (345)

Change Type Old Version New Version d.ts File
Deleted Class name: geolocation;
Method or attribute name: function enableLocation(callback: AsyncCallback<boolean>) : void;
NA @ohos.geolocation.d.ts
Deleted Class name: geolocation;
Method or attribute name: function enableLocation() : Promise<boolean>;
NA @ohos.geolocation.d.ts
Deleted Class name: geolocation;
Method or attribute name: function disableLocation(callback: AsyncCallback<boolean>) : void;
NA @ohos.geolocation.d.ts
Deleted Class name: geolocation;
Method or attribute name: function disableLocation() : Promise<boolean>;
NA @ohos.geolocation.d.ts
Deleted Class name: geolocation;
Method or attribute name: function isLocationPrivacyConfirmed(type : LocationPrivacyType, callback: AsyncCallback<boolean>) : void;
NA @ohos.geolocation.d.ts
Deleted Class name: geolocation;
Method or attribute name: function isLocationPrivacyConfirmed(type : LocationPrivacyType,) : Promise<boolean>;
NA @ohos.geolocation.d.ts
Deleted Class name: geolocation;
Method or attribute name: function setLocationPrivacyConfirmStatus(type : LocationPrivacyType, isConfirmed : boolean, callback: AsyncCallback<boolean>) : void;
NA @ohos.geolocation.d.ts
Deleted Class name: geolocation;
Method or attribute name: function setLocationPrivacyConfirmStatus(type : LocationPrivacyType, isConfirmed : boolean) : Promise<boolean>;
NA @ohos.geolocation.d.ts
Added NA Class name: geoLocationManager;
Method or attribute name: function on(type: ‘locationChange’, request: LocationRequest, callback: Callback<Location>): void;
@ohos.geoLocationManager.d.ts
Added NA Class name: geoLocationManager;
Method or attribute name: function on(type: ‘locationEnabledChange’, callback: Callback<boolean>): void;
@ohos.geoLocationManager.d.ts
Added NA Class name: geoLocationManager;
Method or attribute name: function on(type: ‘cachedGnssLocationsChange’, request: CachedGnssLocationsRequest, callback: Callback<Array<Location>>): void;
@ohos.geoLocationManager.d.ts
Added NA Class name: geoLocationManager;
Method or attribute name: function on(type: ‘satelliteStatusChange’, callback: Callback<SatelliteStatusInfo>): void;
@ohos.geoLocationManager.d.ts
Added NA Class name: geoLocationManager;
Method or attribute name: function on(type: ‘nmeaMessage’, callback: Callback<string>): 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<CountryCode>): void;
@ohos.geoLocationManager.d.ts
Added NA Class name: geoLocationManager;
Method or attribute name: function off(type: ‘locationChange’, callback?: Callback<Location>): void;
@ohos.geoLocationManager.d.ts
Added NA Class name: geoLocationManager;
Method or attribute name: function off(type: ‘locationEnabledChange’, callback?: Callback<boolean>): void;
@ohos.geoLocationManager.d.ts
Added NA Class name: geoLocationManager;
Method or attribute name: function off(type: ‘cachedGnssLocationsChange’, callback?: Callback<Array<Location>>): void;
@ohos.geoLocationManager.d.ts
Added NA Class name: geoLocationManager;
Method or attribute name: function off(type: ‘satelliteStatusChange’, callback?: Callback<SatelliteStatusInfo>): void;
@ohos.geoLocationManager.d.ts
Added NA Class name: geoLocationManager;
Method or attribute name: function off(type: ‘nmeaMessage’, callback?: Callback<string>): 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<CountryCode>): void;
@ohos.geoLocationManager.d.ts
Added NA Class name: geoLocationManager;
Method or attribute name: function getCurrentLocation(request: CurrentLocationRequest, callback: AsyncCallback<Location>): void;
@ohos.geoLocationManager.d.ts
Added NA Class name: geoLocationManager;
Method or attribute name: function getCurrentLocation(callback: AsyncCallback<Location>): void;
@ohos.geoLocationManager.d.ts
Added NA Class name: geoLocationManager;
Method or attribute name: function getCurrentLocation(request?: CurrentLocationRequest): Promise<Location>;
@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>): void;
@ohos.geoLocationManager.d.ts
Added NA Class name: geoLocationManager;
Method or attribute name: function enableLocation(): Promise<void>;
@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<Array<GeoAddress>>): void;
@ohos.geoLocationManager.d.ts
Added NA Class name: geoLocationManager;
Method or attribute name: function getAddressesFromLocation(request: ReverseGeoCodeRequest): Promise<Array<GeoAddress>>;
@ohos.geoLocationManager.d.ts
Added NA Class name: geoLocationManager;
Method or attribute name: function getAddressesFromLocationName(request: GeoCodeRequest, callback: AsyncCallback<Array<GeoAddress>>): void;
@ohos.geoLocationManager.d.ts
Added NA Class name: geoLocationManager;
Method or attribute name: function getAddressesFromLocationName(request: GeoCodeRequest): Promise<Array<GeoAddress>>;
@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<number>): void;
@ohos.geoLocationManager.d.ts
Added NA Class name: geoLocationManager;
Method or attribute name: function getCachedGnssLocationsSize(): Promise<number>;
@ohos.geoLocationManager.d.ts
Added NA Class name: geoLocationManager;
Method or attribute name: function flushCachedGnssLocations(callback: AsyncCallback<void>): void;
@ohos.geoLocationManager.d.ts
Added NA Class name: geoLocationManager;
Method or attribute name: function flushCachedGnssLocations(): Promise<void>;
@ohos.geoLocationManager.d.ts
Added NA Class name: geoLocationManager;
Method or attribute name: function sendCommand(command: LocationCommand, callback: AsyncCallback<void>): void;
@ohos.geoLocationManager.d.ts
Added NA Class name: geoLocationManager;
Method or attribute name: function sendCommand(command: LocationCommand): Promise<void>;
@ohos.geoLocationManager.d.ts
Added NA Class name: geoLocationManager;
Method or attribute name: function getCountryCode(callback: AsyncCallback<CountryCode>): void;
@ohos.geoLocationManager.d.ts
Added NA Class name: geoLocationManager;
Method or attribute name: function getCountryCode(): Promise<CountryCode>;
@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<ReverseGeocodingMockInfo>): 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<Location>;
@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<number>;
@ohos.geoLocationManager.d.ts
Added NA Class name: SatelliteStatusInfo;
Method or attribute name: carrierToNoiseDensitys: Array<number>;
@ohos.geoLocationManager.d.ts
Added NA Class name: SatelliteStatusInfo;
Method or attribute name: altitudes: Array<number>;
@ohos.geoLocationManager.d.ts
Added NA Class name: SatelliteStatusInfo;
Method or attribute name: azimuths: Array<number>;
@ohos.geoLocationManager.d.ts
Added NA Class name: SatelliteStatusInfo;
Method or attribute name: carrierFrequencies: Array<number>;
@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<string>;
@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<string>;
@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<Location>): void;
Old version:
Class name: geolocation;
Method or attribute name: function on(type: ‘locationChange’, request: LocationRequest, callback: Callback<Location>): 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<boolean>): void;
Old version:
Class name: geolocation;
Method or attribute name: function on(type: ‘locationServiceState’, callback: Callback<boolean>): 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<Array<Location>>): void;
Old version:
Class name: geolocation;
Method or attribute name: function on(type: ‘cachedGnssLocationsReporting’, request: CachedGnssLocationsRequest, callback: Callback<Array<Location>>): 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<SatelliteStatusInfo>): void;
Old version:
Class name: geolocation;
Method or attribute name: function on(type: ‘gnssStatusChange’, callback: Callback<SatelliteStatusInfo>): 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<string>): void;
Old version:
Class name: geolocation;
Method or attribute name: function on(type: ‘nmeaMessageChange’, callback: Callback<string>): 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<Location>): void;
Old version:
Class name: geolocation;
Method or attribute name: function off(type: ‘locationChange’, callback?: Callback<Location>): 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<boolean>): void;
Old version:
Class name: geolocation;
Method or attribute name: function off(type: ‘locationServiceState’, callback?: Callback<boolean>): 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<Array<Location>>): void;
Old version:
Class name: geolocation;
Method or attribute name: function off(type: ‘cachedGnssLocationsReporting’, callback?: Callback<Array<Location>>): 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<SatelliteStatusInfo>): void;
Old version:
Class name: geolocation;
Method or attribute name: function off(type: ‘gnssStatusChange’, callback?: Callback<SatelliteStatusInfo>): 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<string>): void;
Old version:
Class name: geolocation;
Method or attribute name: function off(type: ‘nmeaMessageChange’, callback?: Callback<string>): 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<Location>): void;
Old version:
Class name: geolocation;
Method or attribute name: function getCurrentLocation(request: CurrentLocationRequest, callback: AsyncCallback<Location>): 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<Location>): void;
Old version:
Class name: geolocation;
Method or attribute name: function getCurrentLocation(callback: AsyncCallback<Location>): 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<Location>;
Old version:
Class name: geolocation;
Method or attribute name: function getCurrentLocation(request?: CurrentLocationRequest): Promise<Location>;
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<Location>): void;
Old version:
Class name: geolocation;
Method or attribute name: function getLastLocation(callback: AsyncCallback<Location>): 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<Location>;
Old version:
Class name: geolocation;
Method or attribute name: function getLastLocation(): Promise<Location>;
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<boolean>): void;
Old version:
Class name: geolocation;
Method or attribute name: function isLocationEnabled(callback: AsyncCallback<boolean>): 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<boolean>;
Old version:
Class name: geolocation;
Method or attribute name: function isLocationEnabled(): Promise<boolean>;
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<boolean>): void;
Old version:
Class name: geolocation;
Method or attribute name: function requestEnableLocation(callback: AsyncCallback<boolean>): void;
New version: 9
Substitute API:
@ohos.geolocation.d.ts
Deprecated version changed Class name: geolocation;
Method or attribute name: function requestEnableLocation(): Promise<boolean>;
Old version:
Class name: geolocation;
Method or attribute name: function requestEnableLocation(): Promise<boolean>;
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<Array<GeoAddress>>): void;
Old version:
Class name: geolocation;
Method or attribute name: function getAddressesFromLocation(request: ReverseGeoCodeRequest, callback: AsyncCallback<Array<GeoAddress>>): 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<Array<GeoAddress>>;
Old version:
Class name: geolocation;
Method or attribute name: function getAddressesFromLocation(request: ReverseGeoCodeRequest): Promise<Array<GeoAddress>>;
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<Array<GeoAddress>>): void;
Old version:
Class name: geolocation;
Method or attribute name: function getAddressesFromLocationName(request: GeoCodeRequest, callback: AsyncCallback<Array<GeoAddress>>): 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<Array<GeoAddress>>;
Old version:
Class name: geolocation;
Method or attribute name: function getAddressesFromLocationName(request: GeoCodeRequest): Promise<Array<GeoAddress>>;
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<boolean>): void;
Old version:
Class name: geolocation;
Method or attribute name: function isGeoServiceAvailable(callback: AsyncCallback<boolean>): 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<boolean>;
Old version:
Class name: geolocation;
Method or attribute name: function isGeoServiceAvailable(): Promise<boolean>;
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<number>): void;
Old version:
Class name: geolocation;
Method or attribute name: function getCachedGnssLocationsSize(callback: AsyncCallback<number>): 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<number>;
Old version:
Class name: geolocation;
Method or attribute name: function getCachedGnssLocationsSize(): Promise<number>;
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<boolean>): void;
Old version:
Class name: geolocation;
Method or attribute name: function flushCachedGnssLocations(callback: AsyncCallback<boolean>): 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<boolean>;
Old version:
Class name: geolocation;
Method or attribute name: function flushCachedGnssLocations(): Promise<boolean>;
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<boolean>): void;
Old version:
Class name: geolocation;
Method or attribute name: function sendCommand(command: LocationCommand, callback: AsyncCallback<boolean>): 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<boolean>;
Old version:
Class name: geolocation;
Method or attribute name: function sendCommand(command: LocationCommand): Promise<boolean>;
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<number>;
Old version:
Class name: SatelliteStatusInfo;
Method or attribute name: satelliteIds: Array<number>;
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<number>;
Old version:
Class name: SatelliteStatusInfo;
Method or attribute name: carrierToNoiseDensitys: Array<number>;
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<number>;
Old version:
Class name: SatelliteStatusInfo;
Method or attribute name: altitudes: Array<number>;
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<number>;
Old version:
Class name: SatelliteStatusInfo;
Method or attribute name: azimuths: Array<number>;
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<number>;
Old version:
Class name: SatelliteStatusInfo;
Method or attribute name: carrierFrequencies: Array<number>;
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<string>;
Old version:
Class name: GeoAddress;
Method or attribute name: descriptions?: Array<string>;
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<string>;
Old version:
Class name: Location;
Method or attribute name: additions?: Array<string>;
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<string>;
Old version:
Class name: GetLocationTypeResponse;
Method or attribute name: types: Array<string>;
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<string>;
Old version:
Class name: Geolocation;
Method or attribute name: static getSupportedCoordTypes(): Array<string>;
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

你可能感兴趣的鸿蒙文章

harmony 鸿蒙JS API Differences

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-accessibility

harmony 鸿蒙js-apidiff-account

harmony 鸿蒙js-apidiff-application

harmony 鸿蒙js-apidiff-arkui

harmony 鸿蒙js-apidiff-battery

harmony 鸿蒙js-apidiff-bundle

harmony 鸿蒙js-apidiff-communication

harmony 鸿蒙js-apidiff-compiler-and-runtime

0  赞