| 操作 | 旧版本 | 新版本 | d.ts文件 |
|---|---|---|---|
| 删除 | 类名:geolocation; 方法or属性:function enableLocation(callback: AsyncCallback<boolean>) : void; | NA | @ohos.geolocation.d.ts |
| 删除 | 类名:geolocation; 方法or属性:function enableLocation() : Promise<boolean>; | NA | @ohos.geolocation.d.ts |
| 删除 | 类名:geolocation; 方法or属性:function disableLocation(callback: AsyncCallback<boolean>) : void; | NA | @ohos.geolocation.d.ts |
| 删除 | 类名:geolocation; 方法or属性:function disableLocation() : Promise<boolean>; | NA | @ohos.geolocation.d.ts |
| 删除 | 类名:geolocation; 方法or属性:function isLocationPrivacyConfirmed(type : LocationPrivacyType, callback: AsyncCallback<boolean>) : void; | NA | @ohos.geolocation.d.ts |
| 删除 | 类名:geolocation; 方法or属性:function isLocationPrivacyConfirmed(type : LocationPrivacyType,) : Promise<boolean>; | NA | @ohos.geolocation.d.ts |
| 删除 | 类名:geolocation; 方法or属性:function setLocationPrivacyConfirmStatus(type : LocationPrivacyType, isConfirmed : boolean, callback: AsyncCallback<boolean>) : void; | NA | @ohos.geolocation.d.ts |
| 删除 | 类名:geolocation; 方法or属性:function setLocationPrivacyConfirmStatus(type : LocationPrivacyType, isConfirmed : boolean) : Promise<boolean>; | NA | @ohos.geolocation.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function on(type: 'locationChange', request: LocationRequest, callback: Callback<Location>): void; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function on(type: 'locationEnabledChange', callback: Callback<boolean>): void; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function on(type: 'cachedGnssLocationsChange', request: CachedGnssLocationsRequest, callback: Callback<Array<Location>>): void; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function on(type: 'satelliteStatusChange', callback: Callback<SatelliteStatusInfo>): void; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function on(type: 'nmeaMessage', callback: Callback<string>): void; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function on(type: 'gnssFenceStatusChange', request: GeofenceRequest, want: WantAgent): void; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function on(type: 'countryCodeChange', callback: Callback<CountryCode>): void; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function off(type: 'locationChange', callback?: Callback<Location>): void; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function off(type: 'locationEnabledChange', callback?: Callback<boolean>): void; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function off(type: 'cachedGnssLocationsChange', callback?: Callback<Array<Location>>): void; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function off(type: 'satelliteStatusChange', callback?: Callback<SatelliteStatusInfo>): void; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function off(type: 'nmeaMessage', callback?: Callback<string>): void; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function off(type: 'gnssFenceStatusChange', request: GeofenceRequest, want: WantAgent): void; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function off(type: 'countryCodeChange', callback?: Callback<CountryCode>): void; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function getCurrentLocation(request: CurrentLocationRequest, callback: AsyncCallback<Location>): void; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function getCurrentLocation(callback: AsyncCallback<Location>): void; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function getCurrentLocation(request?: CurrentLocationRequest): Promise<Location>; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function getLastLocation(): Location; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function isLocationEnabled(): boolean; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function enableLocation(callback: AsyncCallback<void>): void; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function enableLocation(): Promise<void>; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function disableLocation(): void; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function getAddressesFromLocation(request: ReverseGeoCodeRequest, callback: AsyncCallback<Array<GeoAddress>>): void; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function getAddressesFromLocation(request: ReverseGeoCodeRequest): Promise<Array<GeoAddress>>; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function getAddressesFromLocationName(request: GeoCodeRequest, callback: AsyncCallback<Array<GeoAddress>>): void; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function getAddressesFromLocationName(request: GeoCodeRequest): Promise<Array<GeoAddress>>; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function isGeocoderAvailable(): boolean; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function getCachedGnssLocationsSize(callback: AsyncCallback<number>): void; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function getCachedGnssLocationsSize(): Promise<number>; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function flushCachedGnssLocations(callback: AsyncCallback<void>): void; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function flushCachedGnssLocations(): Promise<void>; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function sendCommand(command: LocationCommand, callback: AsyncCallback<void>): void; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function sendCommand(command: LocationCommand): Promise<void>; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function getCountryCode(callback: AsyncCallback<CountryCode>): void; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function getCountryCode(): Promise<CountryCode>; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function enableLocationMock(): void; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function disableLocationMock(): void; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function setMockedLocations(config: LocationMockConfig): void; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function enableReverseGeocodingMock(): void; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function disableReverseGeocodingMock(): void; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function setReverseGeocodingMockInfo(mockInfos: Array<ReverseGeocodingMockInfo>): void; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function isLocationPrivacyConfirmed(type: LocationPrivacyType): boolean; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager; 方法or属性:function setLocationPrivacyConfirmStatus(type: LocationPrivacyType, isConfirmed: boolean): void; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:ReverseGeocodingMockInfo; 方法or属性:location: ReverseGeoCodeRequest; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:ReverseGeocodingMockInfo; 方法or属性:geoAddress: GeoAddress; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:LocationMockConfig; 方法or属性:timeInterval: number; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:LocationMockConfig; 方法or属性:locations: Array<Location>; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:SatelliteStatusInfo; 方法or属性:satellitesNumber: number; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:SatelliteStatusInfo; 方法or属性:satelliteIds: Array<number>; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:SatelliteStatusInfo; 方法or属性:carrierToNoiseDensitys: Array<number>; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:SatelliteStatusInfo; 方法or属性:altitudes: Array<number>; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:SatelliteStatusInfo; 方法or属性:azimuths: Array<number>; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:SatelliteStatusInfo; 方法or属性:carrierFrequencies: Array<number>; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:CachedGnssLocationsRequest; 方法or属性:reportingPeriodSec: number; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:CachedGnssLocationsRequest; 方法or属性:wakeUpCacheQueueFull: boolean; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:GeofenceRequest; 方法or属性:scenario: LocationRequestScenario; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:LocationCommand; 方法or属性:scenario: LocationRequestScenario; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:GeofenceRequest; 方法or属性:geofence: Geofence; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:Geofence; 方法or属性:latitude: number; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:ReverseGeoCodeRequest; 方法or属性:latitude: number; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:Location; 方法or属性:latitude: number; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:Geofence; 方法or属性:longitude: number; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:ReverseGeoCodeRequest; 方法or属性:longitude: number; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:Location; 方法or属性:longitude: number; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:Geofence; 方法or属性:radius: number; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:Geofence; 方法or属性:expiration: number; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:ReverseGeoCodeRequest; 方法or属性:locale?: string; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:GeoCodeRequest; 方法or属性:locale?: string; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:GeoAddress; 方法or属性:locale?: string; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:ReverseGeoCodeRequest; 方法or属性:maxItems?: number; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:GeoCodeRequest; 方法or属性:maxItems?: number; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:GeoCodeRequest; 方法or属性:description: string; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:GeoCodeRequest; 方法or属性:minLatitude?: number; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:GeoCodeRequest; 方法or属性:minLongitude?: number; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:GeoCodeRequest; 方法or属性:maxLatitude?: number; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:GeoCodeRequest; 方法or属性:maxLongitude?: number; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:GeoAddress; 方法or属性:latitude?: number; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:GeoAddress; 方法or属性:longitude?: number; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:GeoAddress; 方法or属性:placeName?: string; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:GeoAddress; 方法or属性:countryCode?: string; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:GeoAddress; 方法or属性:countryName?: string; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:GeoAddress; 方法or属性:administrativeArea?: string; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:GeoAddress; 方法or属性:subAdministrativeArea?: string; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:GeoAddress; 方法or属性:locality?: string; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:GeoAddress; 方法or属性:subLocality?: string; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:GeoAddress; 方法or属性:roadName?: string; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:GeoAddress; 方法or属性:subRoadName?: string; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:GeoAddress; 方法or属性:premises?: string; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:GeoAddress; 方法or属性:postalCode?: string; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:GeoAddress; 方法or属性:phoneNumber?: string; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:GeoAddress; 方法or属性:addressUrl?: string; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:GeoAddress; 方法or属性:descriptions?: Array<string>; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:GeoAddress; 方法or属性:descriptionsSize?: number; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:GeoAddress; 方法or属性:isFromMock?: Boolean; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:Location; 方法or属性:isFromMock?: Boolean; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:LocationRequest; 方法or属性:priority?: LocationRequestPriority; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:CurrentLocationRequest; 方法or属性:priority?: LocationRequestPriority; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:LocationRequest; 方法or属性:scenario?: LocationRequestScenario; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:CurrentLocationRequest; 方法or属性:scenario?: LocationRequestScenario; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:LocationRequest; 方法or属性:timeInterval?: number; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:LocationRequest; 方法or属性:distanceInterval?: number; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:LocationRequest; 方法or属性:maxAccuracy?: number; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:CurrentLocationRequest; 方法or属性:maxAccuracy?: number; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:CurrentLocationRequest; 方法or属性:timeoutMs?: number; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:Location; 方法or属性:altitude: number; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:Location; 方法or属性:accuracy: number; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:Location; 方法or属性:speed: number; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:Location; 方法or属性:timeStamp: number; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:Location; 方法or属性:direction: number; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:Location; 方法or属性:timeSinceBoot: number; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:Location; 方法or属性:additions?: Array<string>; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:Location; 方法or属性:additionSize?: number; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:LocationRequestPriority; 方法or属性:UNSET = 0x200 | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:LocationRequestPriority; 方法or属性:ACCURACY | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:LocationRequestPriority; 方法or属性:LOW_POWER | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:LocationRequestPriority; 方法or属性:FIRST_FIX | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:LocationRequestScenario; 方法or属性:UNSET = 0x300 | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:LocationRequestScenario; 方法or属性:NAVIGATION | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:LocationRequestScenario; 方法or属性:TRAJECTORY_TRACKING | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:LocationRequestScenario; 方法or属性:CAR_HAILING | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:LocationRequestScenario; 方法or属性:DAILY_LIFE_SERVICE | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:LocationRequestScenario; 方法or属性:NO_POWER | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:LocationPrivacyType; 方法or属性:OTHERS = 0 | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:LocationPrivacyType; 方法or属性:STARTUP | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:LocationPrivacyType; 方法or属性:CORE_LOCATION | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:LocationCommand; 方法or属性:command: string; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:CountryCode; 方法or属性:country: string; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:CountryCode; 方法or属性:type: CountryCodeType; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:CountryCodeType; 方法or属性:COUNTRY_CODE_FROM_LOCALE = 1 | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:CountryCodeType; 方法or属性:COUNTRY_CODE_FROM_SIM | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:CountryCodeType; 方法or属性:COUNTRY_CODE_FROM_LOCATION | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:CountryCodeType; 方法or属性:COUNTRY_CODE_FROM_NETWORK | @ohos.geoLocationManager.d.ts |
| 废弃版本有变化 | 类名:geolocation; 方法or属性:declare geolocation 旧版本信息: | 类名:geolocation; 方法or属性:declare geolocation 新版本信息:9 代替接口: | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation; 方法or属性:function on(type: 'locationChange', request: LocationRequest, callback: Callback<Location>): void; 旧版本信息: | 类名:geolocation; 方法or属性:function on(type: 'locationChange', request: LocationRequest, callback: Callback<Location>): void; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.on#event:locationChange | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation; 方法or属性:function on(type: 'locationServiceState', callback: Callback<boolean>): void; 旧版本信息: | 类名:geolocation; 方法or属性:function on(type: 'locationServiceState', callback: Callback<boolean>): void; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.on#event:locationEnabledChange | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation; 方法or属性:function on(type: 'cachedGnssLocationsReporting', request: CachedGnssLocationsRequest, callback: Callback<Array<Location>>): void; 旧版本信息: | 类名:geolocation; 方法or属性:function on(type: 'cachedGnssLocationsReporting', request: CachedGnssLocationsRequest, callback: Callback<Array<Location>>): void; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.on#event:cachedGnssLocationsChange | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation; 方法or属性:function on(type: 'gnssStatusChange', callback: Callback<SatelliteStatusInfo>): void; 旧版本信息: | 类名:geolocation; 方法or属性:function on(type: 'gnssStatusChange', callback: Callback<SatelliteStatusInfo>): void; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.on#event:satelliteStatusChange | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation; 方法or属性:function on(type: 'nmeaMessageChange', callback: Callback<string>): void; 旧版本信息: | 类名:geolocation; 方法or属性:function on(type: 'nmeaMessageChange', callback: Callback<string>): void; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.on#event:nmeaMessage | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation; 方法or属性:function on(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void; 旧版本信息: | 类名:geolocation; 方法or属性:function on(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.on#event:gnssFenceStatusChange | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation; 方法or属性:function off(type: 'locationChange', callback?: Callback<Location>): void; 旧版本信息: | 类名:geolocation; 方法or属性:function off(type: 'locationChange', callback?: Callback<Location>): void; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.off#event:locationChange | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation; 方法or属性:function off(type: 'locationServiceState', callback?: Callback<boolean>): void; 旧版本信息: | 类名:geolocation; 方法or属性:function off(type: 'locationServiceState', callback?: Callback<boolean>): void; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.off#event:locationEnabledChange | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation; 方法or属性:function off(type: 'cachedGnssLocationsReporting', callback?: Callback<Array<Location>>): void; 旧版本信息: | 类名:geolocation; 方法or属性:function off(type: 'cachedGnssLocationsReporting', callback?: Callback<Array<Location>>): void; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.off#event:cachedGnssLocationsChange | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation; 方法or属性:function off(type: 'gnssStatusChange', callback?: Callback<SatelliteStatusInfo>): void; 旧版本信息: | 类名:geolocation; 方法or属性:function off(type: 'gnssStatusChange', callback?: Callback<SatelliteStatusInfo>): void; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.off#event:satelliteStatusChange | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation; 方法or属性:function off(type: 'nmeaMessageChange', callback?: Callback<string>): void; 旧版本信息: | 类名:geolocation; 方法or属性:function off(type: 'nmeaMessageChange', callback?: Callback<string>): void; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.off#event:nmeaMessage | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation; 方法or属性:function off(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void; 旧版本信息: | 类名:geolocation; 方法or属性:function off(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.off#event:gnssFenceStatusChange | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation; 方法or属性:function getCurrentLocation(request: CurrentLocationRequest, callback: AsyncCallback<Location>): void; 旧版本信息: | 类名:geolocation; 方法or属性:function getCurrentLocation(request: CurrentLocationRequest, callback: AsyncCallback<Location>): void; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.getCurrentLocation | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation; 方法or属性:function getCurrentLocation(callback: AsyncCallback<Location>): void; 旧版本信息: | 类名:geolocation; 方法or属性:function getCurrentLocation(callback: AsyncCallback<Location>): void; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.getCurrentLocation | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation; 方法or属性:function getCurrentLocation(request?: CurrentLocationRequest): Promise<Location>; 旧版本信息: | 类名:geolocation; 方法or属性:function getCurrentLocation(request?: CurrentLocationRequest): Promise<Location>; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.getCurrentLocation | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation; 方法or属性:function getLastLocation(callback: AsyncCallback<Location>): void; 旧版本信息: | 类名:geolocation; 方法or属性:function getLastLocation(callback: AsyncCallback<Location>): void; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.getLastLocation | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation; 方法or属性:function getLastLocation(): Promise<Location>; 旧版本信息: | 类名:geolocation; 方法or属性:function getLastLocation(): Promise<Location>; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.getLastLocation | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation; 方法or属性:function isLocationEnabled(callback: AsyncCallback<boolean>): void; 旧版本信息: | 类名:geolocation; 方法or属性:function isLocationEnabled(callback: AsyncCallback<boolean>): void; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.isLocationEnabled | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation; 方法or属性:function isLocationEnabled(): Promise<boolean>; 旧版本信息: | 类名:geolocation; 方法or属性:function isLocationEnabled(): Promise<boolean>; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.isLocationEnabled | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation; 方法or属性:function requestEnableLocation(callback: AsyncCallback<boolean>): void; 旧版本信息: | 类名:geolocation; 方法or属性:function requestEnableLocation(callback: AsyncCallback<boolean>): void; 新版本信息:9 代替接口: | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation; 方法or属性:function requestEnableLocation(): Promise<boolean>; 旧版本信息: | 类名:geolocation; 方法or属性:function requestEnableLocation(): Promise<boolean>; 新版本信息:9 代替接口: | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation; 方法or属性:function getAddressesFromLocation(request: ReverseGeoCodeRequest, callback: AsyncCallback<Array<GeoAddress>>): void; 旧版本信息: | 类名:geolocation; 方法or属性:function getAddressesFromLocation(request: ReverseGeoCodeRequest, callback: AsyncCallback<Array<GeoAddress>>): void; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.getAddressesFromLocation | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation; 方法or属性:function getAddressesFromLocation(request: ReverseGeoCodeRequest): Promise<Array<GeoAddress>>; 旧版本信息: | 类名:geolocation; 方法or属性:function getAddressesFromLocation(request: ReverseGeoCodeRequest): Promise<Array<GeoAddress>>; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.getAddressesFromLocation | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation; 方法or属性:function getAddressesFromLocationName(request: GeoCodeRequest, callback: AsyncCallback<Array<GeoAddress>>): void; 旧版本信息: | 类名:geolocation; 方法or属性:function getAddressesFromLocationName(request: GeoCodeRequest, callback: AsyncCallback<Array<GeoAddress>>): void; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.getAddressesFromLocationName | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation; 方法or属性:function getAddressesFromLocationName(request: GeoCodeRequest): Promise<Array<GeoAddress>>; 旧版本信息: | 类名:geolocation; 方法or属性:function getAddressesFromLocationName(request: GeoCodeRequest): Promise<Array<GeoAddress>>; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.getAddressesFromLocationName | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation; 方法or属性:function isGeoServiceAvailable(callback: AsyncCallback<boolean>): void; 旧版本信息: | 类名:geolocation; 方法or属性:function isGeoServiceAvailable(callback: AsyncCallback<boolean>): void; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.isGeocoderAvailable | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation; 方法or属性:function isGeoServiceAvailable(): Promise<boolean>; 旧版本信息: | 类名:geolocation; 方法or属性:function isGeoServiceAvailable(): Promise<boolean>; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.isGeocoderAvailable | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation; 方法or属性:function getCachedGnssLocationsSize(callback: AsyncCallback<number>): void; 旧版本信息: | 类名:geolocation; 方法or属性:function getCachedGnssLocationsSize(callback: AsyncCallback<number>): void; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.getCachedGnssLocationsSize | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation; 方法or属性:function getCachedGnssLocationsSize(): Promise<number>; 旧版本信息: | 类名:geolocation; 方法or属性:function getCachedGnssLocationsSize(): Promise<number>; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.getCachedGnssLocationsSize | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation; 方法or属性:function flushCachedGnssLocations(callback: AsyncCallback<boolean>): void; 旧版本信息: | 类名:geolocation; 方法or属性:function flushCachedGnssLocations(callback: AsyncCallback<boolean>): void; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.flushCachedGnssLocations | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation; 方法or属性:function flushCachedGnssLocations(): Promise<boolean>; 旧版本信息: | 类名:geolocation; 方法or属性:function flushCachedGnssLocations(): Promise<boolean>; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.flushCachedGnssLocations | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation; 方法or属性:function sendCommand(command: LocationCommand, callback: AsyncCallback<boolean>): void; 旧版本信息: | 类名:geolocation; 方法or属性:function sendCommand(command: LocationCommand, callback: AsyncCallback<boolean>): void; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.sendCommand | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation; 方法or属性:function sendCommand(command: LocationCommand): Promise<boolean>; 旧版本信息: | 类名:geolocation; 方法or属性:function sendCommand(command: LocationCommand): Promise<boolean>; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.sendCommand | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:SatelliteStatusInfo; 方法or属性:export interface SatelliteStatusInfo 旧版本信息: | 类名:SatelliteStatusInfo; 方法or属性:export interface SatelliteStatusInfo 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.SatelliteStatusInfo | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:SatelliteStatusInfo; 方法or属性:satellitesNumber: number; 旧版本信息: | 类名:SatelliteStatusInfo; 方法or属性:satellitesNumber: number; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.SatelliteStatusInfo | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:SatelliteStatusInfo; 方法or属性:satelliteIds: Array<number>; 旧版本信息: | 类名:SatelliteStatusInfo; 方法or属性:satelliteIds: Array<number>; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.SatelliteStatusInfo | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:SatelliteStatusInfo; 方法or属性:carrierToNoiseDensitys: Array<number>; 旧版本信息: | 类名:SatelliteStatusInfo; 方法or属性:carrierToNoiseDensitys: Array<number>; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.SatelliteStatusInfo | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:SatelliteStatusInfo; 方法or属性:altitudes: Array<number>; 旧版本信息: | 类名:SatelliteStatusInfo; 方法or属性:altitudes: Array<number>; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.SatelliteStatusInfo | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:SatelliteStatusInfo; 方法or属性:azimuths: Array<number>; 旧版本信息: | 类名:SatelliteStatusInfo; 方法or属性:azimuths: Array<number>; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.SatelliteStatusInfo | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:SatelliteStatusInfo; 方法or属性:carrierFrequencies: Array<number>; 旧版本信息: | 类名:SatelliteStatusInfo; 方法or属性:carrierFrequencies: Array<number>; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.SatelliteStatusInfo | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:CachedGnssLocationsRequest; 方法or属性:export interface CachedGnssLocationsRequest 旧版本信息: | 类名:CachedGnssLocationsRequest; 方法or属性:export interface CachedGnssLocationsRequest 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.CachedGnssLocationsRequest | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:CachedGnssLocationsRequest; 方法or属性:reportingPeriodSec: number; 旧版本信息: | 类名:CachedGnssLocationsRequest; 方法or属性:reportingPeriodSec: number; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.CachedGnssLocationsRequest | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:CachedGnssLocationsRequest; 方法or属性:wakeUpCacheQueueFull: boolean; 旧版本信息: | 类名:CachedGnssLocationsRequest; 方法or属性:wakeUpCacheQueueFull: boolean; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.CachedGnssLocationsRequest | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeofenceRequest; 方法or属性:export interface GeofenceRequest 旧版本信息: | 类名:GeofenceRequest; 方法or属性:export interface GeofenceRequest 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.GeofenceRequest | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeofenceRequest; 方法or属性:priority: LocationRequestPriority; 旧版本信息: | 类名:GeofenceRequest; 方法or属性:priority: LocationRequestPriority; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.GeofenceRequest | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeofenceRequest; 方法or属性:scenario: LocationRequestScenario; 旧版本信息: | 类名:GeofenceRequest; 方法or属性:scenario: LocationRequestScenario; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.GeofenceRequest | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:LocationCommand; 方法or属性:scenario: LocationRequestScenario; 旧版本信息: | 类名:LocationCommand; 方法or属性:scenario: LocationRequestScenario; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.LocationCommand | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeofenceRequest; 方法or属性:geofence: Geofence; 旧版本信息: | 类名:GeofenceRequest; 方法or属性:geofence: Geofence; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.GeofenceRequest | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:Geofence; 方法or属性:export interface Geofence 旧版本信息: | 类名:Geofence; 方法or属性:export interface Geofence 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.Geofence | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:Geofence; 方法or属性:latitude: number; 旧版本信息: | 类名:Geofence; 方法or属性:latitude: number; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.Geofence | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:ReverseGeoCodeRequest; 方法or属性:latitude: number; 旧版本信息: | 类名:ReverseGeoCodeRequest; 方法or属性:latitude: number; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.ReverseGeoCodeRequest | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:Location; 方法or属性:latitude: number; 旧版本信息: | 类名:Location; 方法or属性:latitude: number; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.Location | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:Geofence; 方法or属性:longitude: number; 旧版本信息: | 类名:Geofence; 方法or属性:longitude: number; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.Geofence | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:ReverseGeoCodeRequest; 方法or属性:longitude: number; 旧版本信息: | 类名:ReverseGeoCodeRequest; 方法or属性:longitude: number; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.ReverseGeoCodeRequest | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:Location; 方法or属性:longitude: number; 旧版本信息: | 类名:Location; 方法or属性:longitude: number; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.Location | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:Geofence; 方法or属性:radius: number; 旧版本信息: | 类名:Geofence; 方法or属性:radius: number; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.Geofence | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:Geofence; 方法or属性:expiration: number; 旧版本信息: | 类名:Geofence; 方法or属性:expiration: number; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.Geofence | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:ReverseGeoCodeRequest; 方法or属性:export interface ReverseGeoCodeRequest 旧版本信息: | 类名:ReverseGeoCodeRequest; 方法or属性:export interface ReverseGeoCodeRequest 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.ReverseGeoCodeRequest | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:ReverseGeoCodeRequest; 方法or属性:locale?: string; 旧版本信息: | 类名:ReverseGeoCodeRequest; 方法or属性:locale?: string; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.ReverseGeoCodeRequest | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoCodeRequest; 方法or属性:locale?: string; 旧版本信息: | 类名:GeoCodeRequest; 方法or属性:locale?: string; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.GeoCodeRequest | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoAddress; 方法or属性:locale?: string; 旧版本信息: | 类名:GeoAddress; 方法or属性:locale?: string; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.GeoAddress | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:ReverseGeoCodeRequest; 方法or属性:maxItems?: number; 旧版本信息: | 类名:ReverseGeoCodeRequest; 方法or属性:maxItems?: number; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.ReverseGeoCodeRequest | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoCodeRequest; 方法or属性:maxItems?: number; 旧版本信息: | 类名:GeoCodeRequest; 方法or属性:maxItems?: number; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.GeoCodeRequest | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoCodeRequest; 方法or属性:export interface GeoCodeRequest 旧版本信息: | 类名:GeoCodeRequest; 方法or属性:export interface GeoCodeRequest 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.GeoCodeRequest | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoCodeRequest; 方法or属性:description: string; 旧版本信息: | 类名:GeoCodeRequest; 方法or属性:description: string; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.GeoCodeRequest | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoCodeRequest; 方法or属性:minLatitude?: number; 旧版本信息: | 类名:GeoCodeRequest; 方法or属性:minLatitude?: number; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.GeoCodeRequest | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoCodeRequest; 方法or属性:minLongitude?: number; 旧版本信息: | 类名:GeoCodeRequest; 方法or属性:minLongitude?: number; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.GeoCodeRequest | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoCodeRequest; 方法or属性:maxLatitude?: number; 旧版本信息: | 类名:GeoCodeRequest; 方法or属性:maxLatitude?: number; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.GeoCodeRequest | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoCodeRequest; 方法or属性:maxLongitude?: number; 旧版本信息: | 类名:GeoCodeRequest; 方法or属性:maxLongitude?: number; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.GeoCodeRequest | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoAddress; 方法or属性:export interface GeoAddress 旧版本信息: | 类名:GeoAddress; 方法or属性:export interface GeoAddress 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.GeoAddress | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoAddress; 方法or属性:latitude?: number; 旧版本信息: | 类名:GeoAddress; 方法or属性:latitude?: number; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.GeoAddress | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoAddress; 方法or属性:longitude?: number; 旧版本信息: | 类名:GeoAddress; 方法or属性:longitude?: number; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.GeoAddress | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoAddress; 方法or属性:placeName?: string; 旧版本信息: | 类名:GeoAddress; 方法or属性:placeName?: string; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.GeoAddress | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoAddress; 方法or属性:countryCode?: string; 旧版本信息: | 类名:GeoAddress; 方法or属性:countryCode?: string; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.GeoAddress | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoAddress; 方法or属性:countryName?: string; 旧版本信息: | 类名:GeoAddress; 方法or属性:countryName?: string; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.GeoAddress | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoAddress; 方法or属性:administrativeArea?: string; 旧版本信息: | 类名:GeoAddress; 方法or属性:administrativeArea?: string; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.GeoAddress | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoAddress; 方法or属性:subAdministrativeArea?: string; 旧版本信息: | 类名:GeoAddress; 方法or属性:subAdministrativeArea?: string; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.GeoAddress | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoAddress; 方法or属性:locality?: string; 旧版本信息: | 类名:GeoAddress; 方法or属性:locality?: string; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.GeoAddress | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoAddress; 方法or属性:subLocality?: string; 旧版本信息: | 类名:GeoAddress; 方法or属性:subLocality?: string; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.GeoAddress | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoAddress; 方法or属性:roadName?: string; 旧版本信息: | 类名:GeoAddress; 方法or属性:roadName?: string; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.GeoAddress | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoAddress; 方法or属性:subRoadName?: string; 旧版本信息: | 类名:GeoAddress; 方法or属性:subRoadName?: string; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.GeoAddress | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoAddress; 方法or属性:premises?: string; 旧版本信息: | 类名:GeoAddress; 方法or属性:premises?: string; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.GeoAddress | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoAddress; 方法or属性:postalCode?: string; 旧版本信息: | 类名:GeoAddress; 方法or属性:postalCode?: string; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.GeoAddress | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoAddress; 方法or属性:phoneNumber?: string; 旧版本信息: | 类名:GeoAddress; 方法or属性:phoneNumber?: string; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.GeoAddress | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoAddress; 方法or属性:addressUrl?: string; 旧版本信息: | 类名:GeoAddress; 方法or属性:addressUrl?: string; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.GeoAddress | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoAddress; 方法or属性:descriptions?: Array<string>; 旧版本信息: | 类名:GeoAddress; 方法or属性:descriptions?: Array<string>; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.GeoAddress | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoAddress; 方法or属性:descriptionsSize?: number; 旧版本信息: | 类名:GeoAddress; 方法or属性:descriptionsSize?: number; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.GeoAddress | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:LocationRequest; 方法or属性:export interface LocationRequest 旧版本信息: | 类名:LocationRequest; 方法or属性:export interface LocationRequest 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.LocationRequest | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:LocationRequest; 方法or属性:priority?: LocationRequestPriority; 旧版本信息: | 类名:LocationRequest; 方法or属性:priority?: LocationRequestPriority; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.LocationRequest | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:CurrentLocationRequest; 方法or属性:priority?: LocationRequestPriority; 旧版本信息: | 类名:CurrentLocationRequest; 方法or属性:priority?: LocationRequestPriority; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.CurrentLocationRequest | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:LocationRequest; 方法or属性:scenario?: LocationRequestScenario; 旧版本信息: | 类名:LocationRequest; 方法or属性:scenario?: LocationRequestScenario; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.LocationRequest | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:CurrentLocationRequest; 方法or属性:scenario?: LocationRequestScenario; 旧版本信息: | 类名:CurrentLocationRequest; 方法or属性:scenario?: LocationRequestScenario; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.CurrentLocationRequest | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:LocationRequest; 方法or属性:timeInterval?: number; 旧版本信息: | 类名:LocationRequest; 方法or属性:timeInterval?: number; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.LocationRequest | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:LocationRequest; 方法or属性:distanceInterval?: number; 旧版本信息: | 类名:LocationRequest; 方法or属性:distanceInterval?: number; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.LocationRequest | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:LocationRequest; 方法or属性:maxAccuracy?: number; 旧版本信息: | 类名:LocationRequest; 方法or属性:maxAccuracy?: number; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.LocationRequest | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:CurrentLocationRequest; 方法or属性:maxAccuracy?: number; 旧版本信息: | 类名:CurrentLocationRequest; 方法or属性:maxAccuracy?: number; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.CurrentLocationRequest | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:CurrentLocationRequest; 方法or属性:export interface CurrentLocationRequest 旧版本信息: | 类名:CurrentLocationRequest; 方法or属性:export interface CurrentLocationRequest 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.CurrentLocationRequest | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:CurrentLocationRequest; 方法or属性:timeoutMs?: number; 旧版本信息: | 类名:CurrentLocationRequest; 方法or属性:timeoutMs?: number; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.CurrentLocationRequest | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:Location; 方法or属性:export interface Location 旧版本信息: | 类名:Location; 方法or属性:export interface Location 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.Location | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:Location; 方法or属性:altitude: number; 旧版本信息: | 类名:Location; 方法or属性:altitude: number; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.Location | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:Location; 方法or属性:accuracy: number; 旧版本信息: | 类名:Location; 方法or属性:accuracy: number; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.Location | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:Location; 方法or属性:speed: number; 旧版本信息: | 类名:Location; 方法or属性:speed: number; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.Location | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:Location; 方法or属性:timeStamp: number; 旧版本信息: | 类名:Location; 方法or属性:timeStamp: number; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.Location | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:Location; 方法or属性:direction: number; 旧版本信息: | 类名:Location; 方法or属性:direction: number; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.Location | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:Location; 方法or属性:timeSinceBoot: number; 旧版本信息: | 类名:Location; 方法or属性:timeSinceBoot: number; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.Location | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:Location; 方法or属性:additions?: Array<string>; 旧版本信息: | 类名:Location; 方法or属性:additions?: Array<string>; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.Location | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:Location; 方法or属性:additionSize?: number; 旧版本信息: | 类名:Location; 方法or属性:additionSize?: number; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.Location | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:LocationRequestPriority; 方法or属性:export enum LocationRequestPriority 旧版本信息: | 类名:LocationRequestPriority; 方法or属性:export enum LocationRequestPriority 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.LocationRequestPriority | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:LocationRequestPriority; 方法or属性:UNSET = 0x200 旧版本信息: | 类名:LocationRequestPriority; 方法or属性:UNSET = 0x200 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.LocationRequestPriority | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:LocationRequestPriority; 方法or属性:ACCURACY 旧版本信息: | 类名:LocationRequestPriority; 方法or属性:ACCURACY 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.LocationRequestPriority | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:LocationRequestPriority; 方法or属性:LOW_POWER 旧版本信息: | 类名:LocationRequestPriority; 方法or属性:LOW_POWER 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.LocationRequestPriority | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:LocationRequestPriority; 方法or属性:FIRST_FIX 旧版本信息: | 类名:LocationRequestPriority; 方法or属性:FIRST_FIX 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.LocationRequestPriority | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:LocationRequestScenario; 方法or属性:export enum LocationRequestScenario 旧版本信息: | 类名:LocationRequestScenario; 方法or属性:export enum LocationRequestScenario 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.LocationRequestScenario | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:LocationRequestScenario; 方法or属性:UNSET = 0x300 旧版本信息: | 类名:LocationRequestScenario; 方法or属性:UNSET = 0x300 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.LocationRequestScenario | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:LocationRequestScenario; 方法or属性:NAVIGATION 旧版本信息: | 类名:LocationRequestScenario; 方法or属性:NAVIGATION 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.LocationRequestScenario | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:LocationRequestScenario; 方法or属性:TRAJECTORY_TRACKING 旧版本信息: | 类名:LocationRequestScenario; 方法or属性:TRAJECTORY_TRACKING 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.LocationRequestScenario | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:LocationRequestScenario; 方法or属性:CAR_HAILING 旧版本信息: | 类名:LocationRequestScenario; 方法or属性:CAR_HAILING 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.LocationRequestScenario | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:LocationRequestScenario; 方法or属性:DAILY_LIFE_SERVICE 旧版本信息: | 类名:LocationRequestScenario; 方法or属性:DAILY_LIFE_SERVICE 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.LocationRequestScenario | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:LocationRequestScenario; 方法or属性:NO_POWER 旧版本信息: | 类名:LocationRequestScenario; 方法or属性:NO_POWER 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.LocationRequestScenario | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoLocationErrorCode; 方法or属性:export enum GeoLocationErrorCode 旧版本信息: | 类名:GeoLocationErrorCode; 方法or属性:export enum GeoLocationErrorCode 新版本信息:9 代替接口: | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoLocationErrorCode; 方法or属性:INPUT_PARAMS_ERROR 旧版本信息: | 类名:GeoLocationErrorCode; 方法or属性:INPUT_PARAMS_ERROR 新版本信息:9 代替接口: | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoLocationErrorCode; 方法or属性:REVERSE_GEOCODE_ERROR 旧版本信息: | 类名:GeoLocationErrorCode; 方法or属性:REVERSE_GEOCODE_ERROR 新版本信息:9 代替接口: | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoLocationErrorCode; 方法or属性:GEOCODE_ERROR 旧版本信息: | 类名:GeoLocationErrorCode; 方法or属性:GEOCODE_ERROR 新版本信息:9 代替接口: | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoLocationErrorCode; 方法or属性:LOCATOR_ERROR 旧版本信息: | 类名:GeoLocationErrorCode; 方法or属性:LOCATOR_ERROR 新版本信息:9 代替接口: | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoLocationErrorCode; 方法or属性:LOCATION_SWITCH_ERROR 旧版本信息: | 类名:GeoLocationErrorCode; 方法or属性:LOCATION_SWITCH_ERROR 新版本信息:9 代替接口: | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoLocationErrorCode; 方法or属性:LAST_KNOWN_LOCATION_ERROR 旧版本信息: | 类名:GeoLocationErrorCode; 方法or属性:LAST_KNOWN_LOCATION_ERROR 新版本信息:9 代替接口: | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoLocationErrorCode; 方法or属性:LOCATION_REQUEST_TIMEOUT_ERROR 旧版本信息: | 类名:GeoLocationErrorCode; 方法or属性:LOCATION_REQUEST_TIMEOUT_ERROR 新版本信息:9 代替接口: | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:LocationPrivacyType; 方法or属性:export enum LocationPrivacyType 旧版本信息: | 类名:LocationPrivacyType; 方法or属性:export enum LocationPrivacyType 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.LocationPrivacyType | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:LocationPrivacyType; 方法or属性:OTHERS = 0 旧版本信息: | 类名:LocationPrivacyType; 方法or属性:OTHERS = 0 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.LocationPrivacyType | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:LocationPrivacyType; 方法or属性:STARTUP 旧版本信息: | 类名:LocationPrivacyType; 方法or属性:STARTUP 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.LocationPrivacyType | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:LocationPrivacyType; 方法or属性:CORE_LOCATION 旧版本信息: | 类名:LocationPrivacyType; 方法or属性:CORE_LOCATION 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.LocationPrivacyType | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:LocationCommand; 方法or属性:export interface LocationCommand 旧版本信息: | 类名:LocationCommand; 方法or属性:export interface LocationCommand 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.LocationCommand | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:LocationCommand; 方法or属性:command: string; 旧版本信息: | 类名:LocationCommand; 方法or属性:command: string; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.LocationCommand | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeolocationResponse; 方法or属性:export interface GeolocationResponse 旧版本信息: | 类名:GeolocationResponse; 方法or属性:export interface GeolocationResponse 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.Location | @system.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeolocationResponse; 方法or属性:longitude: number; 旧版本信息: | 类名:GeolocationResponse; 方法or属性:longitude: number; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.Location | @system.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeolocationResponse; 方法or属性:latitude: number; 旧版本信息: | 类名:GeolocationResponse; 方法or属性:latitude: number; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.Location | @system.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeolocationResponse; 方法or属性:altitude: number; 旧版本信息: | 类名:GeolocationResponse; 方法or属性:altitude: number; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.Location | @system.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeolocationResponse; 方法or属性:accuracy: number; 旧版本信息: | 类名:GeolocationResponse; 方法or属性:accuracy: number; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.Location | @system.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeolocationResponse; 方法or属性:time: number; 旧版本信息: | 类名:GeolocationResponse; 方法or属性:time: number; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.Location | @system.geolocation.d.ts |
| 废弃版本有变化 | 类名:GetLocationOption; 方法or属性:export interface GetLocationOption 旧版本信息: | 类名:GetLocationOption; 方法or属性:export interface GetLocationOption 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.CurrentLocationRequest | @system.geolocation.d.ts |
| 废弃版本有变化 | 类名:GetLocationOption; 方法or属性:timeout?: number; 旧版本信息: | 类名:GetLocationOption; 方法or属性:timeout?: number; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.CurrentLocationRequest | @system.geolocation.d.ts |
| 废弃版本有变化 | 类名:GetLocationOption; 方法or属性:coordType?: string; 旧版本信息: | 类名:GetLocationOption; 方法or属性:coordType?: string; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.CurrentLocationRequest | @system.geolocation.d.ts |
| 废弃版本有变化 | 类名:SubscribeLocationOption; 方法or属性:coordType?: string; 旧版本信息: | 类名:SubscribeLocationOption; 方法or属性:coordType?: string; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.LocationRequest | @system.geolocation.d.ts |
| 废弃版本有变化 | 类名:GetLocationOption; 方法or属性:success?: (data: GeolocationResponse) => void; 旧版本信息: | 类名:GetLocationOption; 方法or属性:success?: (data: GeolocationResponse) => void; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.CurrentLocationRequest | @system.geolocation.d.ts |
| 废弃版本有变化 | 类名:GetLocationOption; 方法or属性:fail?: (data: string, code: number) => void; 旧版本信息: | 类名:GetLocationOption; 方法or属性:fail?: (data: string, code: number) => void; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.CurrentLocationRequest | @system.geolocation.d.ts |
| 废弃版本有变化 | 类名:GetLocationTypeOption; 方法or属性:fail?: (data: string, code: number) => void; 旧版本信息: | 类名:GetLocationTypeOption; 方法or属性:fail?: (data: string, code: number) => void; 新版本信息:9 代替接口: | @system.geolocation.d.ts |
| 废弃版本有变化 | 类名:SubscribeLocationOption; 方法or属性:fail?: (data: string, code: number) => void; 旧版本信息: | 类名:SubscribeLocationOption; 方法or属性:fail?: (data: string, code: number) => void; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.LocationRequest | @system.geolocation.d.ts |
| 废弃版本有变化 | 类名:GetLocationOption; 方法or属性:complete?: () => void; 旧版本信息: | 类名:GetLocationOption; 方法or属性:complete?: () => void; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.CurrentLocationRequest | @system.geolocation.d.ts |
| 废弃版本有变化 | 类名:GetLocationTypeOption; 方法or属性:complete?: () => void; 旧版本信息: | 类名:GetLocationTypeOption; 方法or属性:complete?: () => void; 新版本信息:9 代替接口: | @system.geolocation.d.ts |
| 废弃版本有变化 | 类名:GetLocationTypeResponse; 方法or属性:export interface GetLocationTypeResponse 旧版本信息: | 类名:GetLocationTypeResponse; 方法or属性:export interface GetLocationTypeResponse 新版本信息:9 代替接口: | @system.geolocation.d.ts |
| 废弃版本有变化 | 类名:GetLocationTypeResponse; 方法or属性:types: Array<string>; 旧版本信息: | 类名:GetLocationTypeResponse; 方法or属性:types: Array<string>; 新版本信息:9 代替接口: | @system.geolocation.d.ts |
| 废弃版本有变化 | 类名:GetLocationTypeOption; 方法or属性:export interface GetLocationTypeOption 旧版本信息: | 类名:GetLocationTypeOption; 方法or属性:export interface GetLocationTypeOption 新版本信息:9 代替接口: | @system.geolocation.d.ts |
| 废弃版本有变化 | 类名:GetLocationTypeOption; 方法or属性:success?: (data: GetLocationTypeResponse) => void; 旧版本信息: | 类名:GetLocationTypeOption; 方法or属性:success?: (data: GetLocationTypeResponse) => void; 新版本信息:9 代替接口: | @system.geolocation.d.ts |
| 废弃版本有变化 | 类名:SubscribeLocationOption; 方法or属性:export interface SubscribeLocationOption 旧版本信息: | 类名:SubscribeLocationOption; 方法or属性:export interface SubscribeLocationOption 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.LocationRequest | @system.geolocation.d.ts |
| 废弃版本有变化 | 类名:SubscribeLocationOption; 方法or属性:success: (data: GeolocationResponse) => void; 旧版本信息: | 类名:SubscribeLocationOption; 方法or属性:success: (data: GeolocationResponse) => void; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.LocationRequest | @system.geolocation.d.ts |
| 废弃版本有变化 | 类名:Geolocation; 方法or属性:export default class Geolocation 旧版本信息: | 类名:Geolocation; 方法or属性:export default class Geolocation 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager | @system.geolocation.d.ts |
| 废弃版本有变化 | 类名:Geolocation; 方法or属性:static getLocation(options?: GetLocationOption): void; 旧版本信息: | 类名:Geolocation; 方法or属性:static getLocation(options?: GetLocationOption): void; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.getCurrentLocation | @system.geolocation.d.ts |
| 废弃版本有变化 | 类名:Geolocation; 方法or属性:static getLocationType(options?: GetLocationTypeOption): void; 旧版本信息: | 类名:Geolocation; 方法or属性:static getLocationType(options?: GetLocationTypeOption): void; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager | @system.geolocation.d.ts |
| 废弃版本有变化 | 类名:Geolocation; 方法or属性:static subscribe(options: SubscribeLocationOption): void; 旧版本信息: | 类名:Geolocation; 方法or属性:static subscribe(options: SubscribeLocationOption): void; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.on#event:locationChange | @system.geolocation.d.ts |
| 废弃版本有变化 | 类名:Geolocation; 方法or属性:static unsubscribe(): void; 旧版本信息: | 类名:Geolocation; 方法or属性:static unsubscribe(): void; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager.off#event:locationChange | @system.geolocation.d.ts |
| 废弃版本有变化 | 类名:Geolocation; 方法or属性:static getSupportedCoordTypes(): Array<string>; 旧版本信息: | 类名:Geolocation; 方法or属性:static getSupportedCoordTypes(): Array<string>; 新版本信息:9 代替接口: ohos.geoLocationManager/geoLocationManager | @system.geolocation.d.ts |
| 函数有变化 | 类名:GeoLocationErrorCode; 方法or属性:INPUT_PARAMS_ERROR = 101 | 类名:GeoLocationErrorCode; 方法or属性:INPUT_PARAMS_ERROR | @ohos.geolocation.d.ts |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙js-apidiff-accessibility
harmony 鸿蒙js-apidiff-application