| 操作 | 旧版本 | 新版本 | d.ts文件 |
|---|---|---|---|
| 新增 | NA | 类名:geoLocationManager 方法or属性:function on(type: 'locationChange', request: LocationRequest, callback: Callback | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager 方法or属性:function off(type: 'locationChange', callback?: Callback | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager 方法or属性:function on(type: 'locationEnabledChange', callback: Callback | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager 方法or属性:function off(type: 'locationEnabledChange', callback?: Callback | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager 方法or属性:function on(type: 'cachedGnssLocationsChange', request: CachedGnssLocationsRequest, callback: Callback<Array | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager 方法or属性:function off(type: 'cachedGnssLocationsChange', callback?: Callback<Array | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager 方法or属性:function on(type: 'satelliteStatusChange', callback: Callback | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager 方法or属性:function off(type: 'satelliteStatusChange', callback?: Callback | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager 方法or属性:function on(type: 'nmeaMessage', callback: Callback | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager 方法or属性:function off(type: 'nmeaMessage', callback?: Callback | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager 方法or属性:function on(type: 'gnssFenceStatusChange', request: GeofenceRequest, want: WantAgent): 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 getCurrentLocation(request: CurrentLocationRequest, callback: AsyncCallback | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager 方法or属性:function getCurrentLocation(callback: AsyncCallback | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager 方法or属性:function getCurrentLocation(request?: CurrentLocationRequest): Promise | @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 disableLocation(): void; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager 方法or属性:function getAddressesFromLocation(request: ReverseGeoCodeRequest, callback: AsyncCallback<Array | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager 方法or属性:function getAddressesFromLocation(request: ReverseGeoCodeRequest): Promise<Array | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager 方法or属性:function getAddressesFromLocationName(request: GeoCodeRequest, callback: AsyncCallback<Array | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager 方法or属性:function getAddressesFromLocationName(request: GeoCodeRequest): Promise<Array | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager 方法or属性:function isGeocoderAvailable(): boolean; | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager 方法or属性:function getCachedGnssLocationsSize(callback: AsyncCallback | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager 方法or属性:function getCachedGnssLocationsSize(): Promise | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager 方法or属性:function flushCachedGnssLocations(callback: AsyncCallback | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager 方法or属性:function flushCachedGnssLocations(): Promise | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager 方法or属性:function sendCommand(command: LocationCommand, callback: AsyncCallback | @ohos.geoLocationManager.d.ts |
| 新增 | NA | 类名:geoLocationManager 方法or属性:function sendCommand(command: LocationCommand): Promise | @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 | @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 |
| 删除 | 模块名:ohos.geolocation 类名:geolocation 方法 or 属性:function enableLocation(callback: AsyncCallback | NA | @ohos.geolocation.d.ts |
| 删除 | 模块名:ohos.geolocation 类名:geolocation 方法 or 属性:function enableLocation(): Promise | NA | @ohos.geolocation.d.ts |
| 删除 | 模块名:ohos.geolocation 类名:geolocation 方法 or 属性:function disableLocation(callback: AsyncCallback | NA | @ohos.geolocation.d.ts |
| 删除 | 模块名:ohos.geolocation 类名:geolocation 方法 or 属性:function disableLocation(): Promise | NA | @ohos.geolocation.d.ts |
| 删除 | 模块名:ohos.geoLocationManager 类名:GeofenceRequest 方法 or 属性:priority: LocationRequestPriority; | NA | @ohos.geoLocationManager.d.ts |
| 访问级别有变化 | 类名:ReverseGeocodingMockInfo 方法 or 属性:location: ReverseGeoCodeRequest; 访问级别:公开API | 类名:ReverseGeocodingMockInfo 方法 or 属性:location: ReverseGeoCodeRequest; 访问级别:系统API | @ohos.geoLocationManager.d.ts |
| 访问级别有变化 | 类名:ReverseGeocodingMockInfo 方法 or 属性:geoAddress: GeoAddress; 访问级别:公开API | 类名:ReverseGeocodingMockInfo 方法 or 属性:geoAddress: GeoAddress; 访问级别:系统API | @ohos.geoLocationManager.d.ts |
| 访问级别有变化 | 类名:LocationMockConfig 方法 or 属性:timeInterval: number; 访问级别:公开API | 类名:LocationMockConfig 方法 or 属性:timeInterval: number; 访问级别:系统API | @ohos.geoLocationManager.d.ts |
| 访问级别有变化 | 类名:LocationMockConfig 方法 or 属性:locations: Array 访问级别:公开API | 类名:LocationMockConfig 方法 or 属性:locations: Array 访问级别:系统API | @ohos.geoLocationManager.d.ts |
| 访问级别有变化 | 类名:GeoAddress 方法 or 属性:isFromMock?: Boolean; 访问级别:公开API | 类名:GeoAddress 方法 or 属性:isFromMock?: Boolean; 访问级别:系统API | @ohos.geoLocationManager.d.ts |
| 访问级别有变化 | 类名:Location 方法 or 属性:isFromMock?: Boolean; 访问级别:公开API | 类名:Location 方法 or 属性:isFromMock?: Boolean; 访问级别:系统API | @ohos.geoLocationManager.d.ts |
| 访问级别有变化 | 类名:LocationPrivacyType 访问级别:公开API | 类名:LocationPrivacyType 访问级别:系统API | @ohos.geoLocationManager.d.ts |
| 访问级别有变化 | 类名:LocationPrivacyType 方法 or 属性:OTHERS = 0 访问级别:公开API | 类名:LocationPrivacyType 方法 or 属性:OTHERS = 0 访问级别:系统API | @ohos.geoLocationManager.d.ts |
| 访问级别有变化 | 类名:LocationPrivacyType 方法 or 属性:STARTUP 访问级别:公开API | 类名:LocationPrivacyType 方法 or 属性:STARTUP 访问级别:系统API | @ohos.geoLocationManager.d.ts |
| 访问级别有变化 | 类名:LocationPrivacyType 方法 or 属性:CORE_LOCATION 访问级别:公开API | 类名:LocationPrivacyType 方法 or 属性:CORE_LOCATION 访问级别:系统API | @ohos.geoLocationManager.d.ts |
| 废弃版本有变化 | 类名:geolocation 废弃版本:N/A | 类名:geolocation 废弃版本:9 代替接口:N/A | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation 方法 or 属性:function on(type: 'locationChange', request: LocationRequest, callback: Callback 废弃版本:N/A | 类名:geolocation 方法 or 属性:function on(type: 'locationChange', request: LocationRequest, callback: Callback 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.on | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation 方法 or 属性:function off(type: 'locationChange', callback?: Callback 废弃版本:N/A | 类名:geolocation 方法 or 属性:function off(type: 'locationChange', callback?: Callback 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.off | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation 方法 or 属性:function on(type: 'locationServiceState', callback: Callback 废弃版本:N/A | 类名:geolocation 方法 or 属性:function on(type: 'locationServiceState', callback: Callback 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.on | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation 方法 or 属性:function off(type: 'locationServiceState', callback?: Callback 废弃版本:N/A | 类名:geolocation 方法 or 属性:function off(type: 'locationServiceState', callback?: Callback 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.off | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation 方法 or 属性:function on(type: 'cachedGnssLocationsReporting', request: CachedGnssLocationsRequest, callback: Callback<Array 废弃版本:N/A | 类名:geolocation 方法 or 属性:function on(type: 'cachedGnssLocationsReporting', request: CachedGnssLocationsRequest, callback: Callback<Array 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.on | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation 方法 or 属性:function off(type: 'cachedGnssLocationsReporting', callback?: Callback<Array 废弃版本:N/A | 类名:geolocation 方法 or 属性:function off(type: 'cachedGnssLocationsReporting', callback?: Callback<Array 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.off | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation 方法 or 属性:function on(type: 'gnssStatusChange', callback: Callback 废弃版本:N/A | 类名:geolocation 方法 or 属性:function on(type: 'gnssStatusChange', callback: Callback 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.on | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation 方法 or 属性:function off(type: 'gnssStatusChange', callback?: Callback 废弃版本:N/A | 类名:geolocation 方法 or 属性:function off(type: 'gnssStatusChange', callback?: Callback 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.off | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation 方法 or 属性:function on(type: 'nmeaMessageChange', callback: Callback 废弃版本:N/A | 类名:geolocation 方法 or 属性:function on(type: 'nmeaMessageChange', callback: Callback 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.on | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation 方法 or 属性:function off(type: 'nmeaMessageChange', callback?: Callback 废弃版本:N/A | 类名:geolocation 方法 or 属性:function off(type: 'nmeaMessageChange', callback?: Callback 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.off | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation 方法 or 属性:function on(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void; 废弃版本:N/A | 类名:geolocation 方法 or 属性:function on(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void; 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.on | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation 方法 or 属性:function off(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void; 废弃版本:N/A | 类名:geolocation 方法 or 属性:function off(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void; 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.off | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation 方法 or 属性:function getCurrentLocation(request: CurrentLocationRequest, callback: AsyncCallback 废弃版本:N/A | 类名:geolocation 方法 or 属性:function getCurrentLocation(request: CurrentLocationRequest, callback: AsyncCallback 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.getCurrentLocation | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation 方法 or 属性:function getCurrentLocation(callback: AsyncCallback 废弃版本:N/A | 类名:geolocation 方法 or 属性:function getCurrentLocation(callback: AsyncCallback 废弃版本:9 | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation 方法 or 属性:function getCurrentLocation(request?: CurrentLocationRequest): Promise 废弃版本:N/A | 类名:geolocation 方法 or 属性:function getCurrentLocation(request?: CurrentLocationRequest): Promise 废弃版本:9 | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation 方法 or 属性:function getLastLocation(callback: AsyncCallback 废弃版本:N/A | 类名:geolocation 方法 or 属性:function getLastLocation(callback: AsyncCallback 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.getLastLocation | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation 方法 or 属性:function getLastLocation(): Promise 废弃版本:N/A | 类名:geolocation 方法 or 属性:function getLastLocation(): Promise 废弃版本:9 | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation 方法 or 属性:function isLocationEnabled(callback: AsyncCallback 废弃版本:N/A | 类名:geolocation 方法 or 属性:function isLocationEnabled(callback: AsyncCallback 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.isLocationEnabled | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation 方法 or 属性:function isLocationEnabled(): Promise 废弃版本:N/A | 类名:geolocation 方法 or 属性:function isLocationEnabled(): Promise 废弃版本:9 | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation 方法 or 属性:function requestEnableLocation(callback: AsyncCallback 废弃版本:N/A | 类名:geolocation 方法 or 属性:function requestEnableLocation(callback: AsyncCallback 废弃版本:9 代替接口:N/A | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation 方法 or 属性:function requestEnableLocation(): Promise 废弃版本:N/A | 类名:geolocation 方法 or 属性:function requestEnableLocation(): Promise 废弃版本:9 | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation 方法 or 属性:function getAddressesFromLocation(request: ReverseGeoCodeRequest, callback: AsyncCallback<Array 废弃版本:N/A | 类名:geolocation 方法 or 属性:function getAddressesFromLocation(request: ReverseGeoCodeRequest, callback: AsyncCallback<Array 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.getAddressesFromLocation | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation 方法 or 属性:function getAddressesFromLocation(request: ReverseGeoCodeRequest): Promise<Array 废弃版本:N/A | 类名:geolocation 方法 or 属性:function getAddressesFromLocation(request: ReverseGeoCodeRequest): Promise<Array 废弃版本:9 | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation 方法 or 属性:function getAddressesFromLocationName(request: GeoCodeRequest, callback: AsyncCallback<Array 废弃版本:N/A | 类名:geolocation 方法 or 属性:function getAddressesFromLocationName(request: GeoCodeRequest, callback: AsyncCallback<Array 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.getAddressesFromLocationName | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation 方法 or 属性:function getAddressesFromLocationName(request: GeoCodeRequest): Promise<Array 废弃版本:N/A | 类名:geolocation 方法 or 属性:function getAddressesFromLocationName(request: GeoCodeRequest): Promise<Array 废弃版本:9 | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation 方法 or 属性:function isGeoServiceAvailable(callback: AsyncCallback 废弃版本:N/A | 类名:geolocation 方法 or 属性:function isGeoServiceAvailable(callback: AsyncCallback 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.isGeocoderAvailable | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation 方法 or 属性:function isGeoServiceAvailable(): Promise 废弃版本:N/A | 类名:geolocation 方法 or 属性:function isGeoServiceAvailable(): Promise 废弃版本:9 | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation 方法 or 属性:function getCachedGnssLocationsSize(callback: AsyncCallback 废弃版本:N/A | 类名:geolocation 方法 or 属性:function getCachedGnssLocationsSize(callback: AsyncCallback 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.getCachedGnssLocationsSize | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation 方法 or 属性:function getCachedGnssLocationsSize(): Promise 废弃版本:N/A | 类名:geolocation 方法 or 属性:function getCachedGnssLocationsSize(): Promise 废弃版本:9 | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation 方法 or 属性:function flushCachedGnssLocations(callback: AsyncCallback 废弃版本:N/A | 类名:geolocation 方法 or 属性:function flushCachedGnssLocations(callback: AsyncCallback 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.flushCachedGnssLocations | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation 方法 or 属性:function flushCachedGnssLocations(): Promise 废弃版本:N/A | 类名:geolocation 方法 or 属性:function flushCachedGnssLocations(): Promise 废弃版本:9 | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation 方法 or 属性:function sendCommand(command: LocationCommand, callback: AsyncCallback 废弃版本:N/A | 类名:geolocation 方法 or 属性:function sendCommand(command: LocationCommand, callback: AsyncCallback 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.sendCommand | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:geolocation 方法 or 属性:function sendCommand(command: LocationCommand): Promise 废弃版本:N/A | 类名:geolocation 方法 or 属性:function sendCommand(command: LocationCommand): Promise 废弃版本:9 | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:SatelliteStatusInfo 废弃版本:N/A | 类名:SatelliteStatusInfo 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.SatelliteStatusInfo | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:CachedGnssLocationsRequest 废弃版本:N/A | 类名:CachedGnssLocationsRequest 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.CachedGnssLocationsRequest | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeofenceRequest 废弃版本:N/A | 类名:GeofenceRequest 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.GeofenceRequest | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:Geofence 废弃版本:N/A | 类名:Geofence 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.Geofence | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:ReverseGeoCodeRequest 废弃版本:N/A | 类名:ReverseGeoCodeRequest 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.ReverseGeoCodeRequest | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoCodeRequest 废弃版本:N/A | 类名:GeoCodeRequest 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.GeoCodeRequest | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoAddress 废弃版本:N/A | 类名:GeoAddress 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.GeoAddress | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:LocationRequest 废弃版本:N/A | 类名:LocationRequest 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.LocationRequest | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:CurrentLocationRequest 废弃版本:N/A | 类名:CurrentLocationRequest 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.CurrentLocationRequest | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:Location 废弃版本:N/A | 类名:Location 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.Location | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:LocationRequestPriority 废弃版本:N/A | 类名:LocationRequestPriority 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.LocationRequestPriority | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:LocationRequestScenario 废弃版本:N/A | 类名:LocationRequestScenario 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.LocationRequestScenario | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeoLocationErrorCode 废弃版本:N/A | 类名:GeoLocationErrorCode 废弃版本:9 代替接口:N/A | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:LocationPrivacyType 废弃版本:N/A | 类名:LocationPrivacyType 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.LocationPrivacyType | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:LocationCommand 废弃版本:N/A | 类名:LocationCommand 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.LocationCommand | @ohos.geolocation.d.ts |
| 废弃版本有变化 | 类名:GeolocationResponse 废弃版本:N/A | 类名:GeolocationResponse 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.Location | @system.geolocation.d.ts |
| 废弃版本有变化 | 类名:GetLocationOption 废弃版本:N/A | 类名:GetLocationOption 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.CurrentLocationRequest | @system.geolocation.d.ts |
| 废弃版本有变化 | 类名:GetLocationTypeResponse 废弃版本:N/A | 类名:GetLocationTypeResponse 废弃版本:9 代替接口:N/A | @system.geolocation.d.ts |
| 废弃版本有变化 | 类名:GetLocationTypeOption 废弃版本:N/A | 类名:GetLocationTypeOption 废弃版本:9 代替接口:N/A | @system.geolocation.d.ts |
| 废弃版本有变化 | 类名:SubscribeLocationOption 废弃版本:N/A | 类名:SubscribeLocationOption 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.LocationRequest | @system.geolocation.d.ts |
| 废弃版本有变化 | 类名:Geolocation 废弃版本:N/A | 类名:Geolocation 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager | @system.geolocation.d.ts |
| 废弃版本有变化 | 类名:Geolocation 方法 or 属性:static getLocation(options?: GetLocationOption): void; 废弃版本:N/A | 类名:Geolocation 方法 or 属性:static getLocation(options?: GetLocationOption): void; 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.getCurrentLocation | @system.geolocation.d.ts |
| 废弃版本有变化 | 类名:Geolocation 方法 or 属性:static getLocationType(options?: GetLocationTypeOption): void; 废弃版本:N/A | 类名:Geolocation 方法 or 属性:static getLocationType(options?: GetLocationTypeOption): void; 废弃版本:9 代替接口:N/A | @system.geolocation.d.ts |
| 废弃版本有变化 | 类名:Geolocation 方法 or 属性:static subscribe(options: SubscribeLocationOption): void; 废弃版本:N/A | 类名:Geolocation 方法 or 属性:static subscribe(options: SubscribeLocationOption): void; 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.on | @system.geolocation.d.ts |
| 废弃版本有变化 | 类名:Geolocation 方法 or 属性:static unsubscribe(): void; 废弃版本:N/A | 类名:Geolocation 方法 or 属性:static unsubscribe(): void; 废弃版本:9 代替接口:ohos.geoLocationManager/geoLocationManager.off | @system.geolocation.d.ts |
| 废弃版本有变化 | 类名:Geolocation 方法 or 属性:static getSupportedCoordTypes(): Array 废弃版本:N/A | 类名:Geolocation 方法 or 属性:static getSupportedCoordTypes(): Array 废弃版本:9 代替接口:N/A | @system.geolocation.d.ts |
| 起始版本有变化 | 类名:ReverseGeocodingMockInfo 方法 or 属性:location: ReverseGeoCodeRequest; 起始版本:N/A | 类名:ReverseGeocodingMockInfo 方法 or 属性:location: ReverseGeoCodeRequest; 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:ReverseGeocodingMockInfo 方法 or 属性:geoAddress: GeoAddress; 起始版本:N/A | 类名:ReverseGeocodingMockInfo 方法 or 属性:geoAddress: GeoAddress; 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:LocationMockConfig 方法 or 属性:timeInterval: number; 起始版本:N/A | 类名:LocationMockConfig 方法 or 属性:timeInterval: number; 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:LocationMockConfig 方法 or 属性:locations: Array 起始版本:N/A | 类名:LocationMockConfig 方法 or 属性:locations: Array 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:SatelliteStatusInfo 方法 or 属性:satellitesNumber: number; 起始版本:N/A | 类名:SatelliteStatusInfo 方法 or 属性:satellitesNumber: number; 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:SatelliteStatusInfo 方法 or 属性:satelliteIds: Array 起始版本:N/A | 类名:SatelliteStatusInfo 方法 or 属性:satelliteIds: Array 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:SatelliteStatusInfo 方法 or 属性:carrierToNoiseDensitys: Array 起始版本:N/A | 类名:SatelliteStatusInfo 方法 or 属性:carrierToNoiseDensitys: Array 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:SatelliteStatusInfo 方法 or 属性:altitudes: Array 起始版本:N/A | 类名:SatelliteStatusInfo 方法 or 属性:altitudes: Array 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:SatelliteStatusInfo 方法 or 属性:azimuths: Array 起始版本:N/A | 类名:SatelliteStatusInfo 方法 or 属性:azimuths: Array 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:SatelliteStatusInfo 方法 or 属性:carrierFrequencies: Array 起始版本:N/A | 类名:SatelliteStatusInfo 方法 or 属性:carrierFrequencies: Array 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:CachedGnssLocationsRequest 方法 or 属性:reportingPeriodSec: number; 起始版本:N/A | 类名:CachedGnssLocationsRequest 方法 or 属性:reportingPeriodSec: number; 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:CachedGnssLocationsRequest 方法 or 属性:wakeUpCacheQueueFull: boolean; 起始版本:N/A | 类名:CachedGnssLocationsRequest 方法 or 属性:wakeUpCacheQueueFull: boolean; 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:GeofenceRequest 方法 or 属性:scenario: LocationRequestScenario; 起始版本:N/A | 类名:GeofenceRequest 方法 or 属性:scenario: LocationRequestScenario; 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:GeofenceRequest 方法 or 属性:geofence: Geofence; 起始版本:N/A | 类名:GeofenceRequest 方法 or 属性:geofence: Geofence; 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:Geofence 方法 or 属性:latitude: number; 起始版本:N/A | 类名:Geofence 方法 or 属性:latitude: number; 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:Geofence 方法 or 属性:longitude: number; 起始版本:N/A | 类名:Geofence 方法 or 属性:longitude: number; 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:Geofence 方法 or 属性:radius: number; 起始版本:N/A | 类名:Geofence 方法 or 属性:radius: number; 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:Geofence 方法 or 属性:expiration: number; 起始版本:N/A | 类名:Geofence 方法 or 属性:expiration: number; 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:ReverseGeoCodeRequest 方法 or 属性:locale?: string; 起始版本:N/A | 类名:ReverseGeoCodeRequest 方法 or 属性:locale?: string; 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:ReverseGeoCodeRequest 方法 or 属性:latitude: number; 起始版本:N/A | 类名:ReverseGeoCodeRequest 方法 or 属性:latitude: number; 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:ReverseGeoCodeRequest 方法 or 属性:longitude: number; 起始版本:N/A | 类名:ReverseGeoCodeRequest 方法 or 属性:longitude: number; 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:ReverseGeoCodeRequest 方法 or 属性:maxItems?: number; 起始版本:N/A | 类名:ReverseGeoCodeRequest 方法 or 属性:maxItems?: number; 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:GeoCodeRequest 方法 or 属性:locale?: string; 起始版本:N/A | 类名:GeoCodeRequest 方法 or 属性:locale?: string; 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:GeoCodeRequest 方法 or 属性:description: string; 起始版本:N/A | 类名:GeoCodeRequest 方法 or 属性:description: string; 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:GeoCodeRequest 方法 or 属性:maxItems?: number; 起始版本:N/A | 类名:GeoCodeRequest 方法 or 属性:maxItems?: number; 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:GeoCodeRequest 方法 or 属性:minLatitude?: number; 起始版本:N/A | 类名:GeoCodeRequest 方法 or 属性:minLatitude?: number; 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:GeoCodeRequest 方法 or 属性:minLongitude?: number; 起始版本:N/A | 类名:GeoCodeRequest 方法 or 属性:minLongitude?: number; 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:GeoCodeRequest 方法 or 属性:maxLatitude?: number; 起始版本:N/A | 类名:GeoCodeRequest 方法 or 属性:maxLatitude?: number; 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:GeoCodeRequest 方法 or 属性:maxLongitude?: number; 起始版本:N/A | 类名:GeoCodeRequest 方法 or 属性:maxLongitude?: number; 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:LocationRequest 方法 or 属性:priority?: LocationRequestPriority; 起始版本:N/A | 类名:LocationRequest 方法 or 属性:priority?: LocationRequestPriority; 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:LocationRequest 方法 or 属性:scenario?: LocationRequestScenario; 起始版本:N/A | 类名:LocationRequest 方法 or 属性:scenario?: LocationRequestScenario; 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:LocationRequest 方法 or 属性:timeInterval?: number; 起始版本:N/A | 类名:LocationRequest 方法 or 属性:timeInterval?: number; 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:LocationRequest 方法 or 属性:distanceInterval?: number; 起始版本:N/A | 类名:LocationRequest 方法 or 属性:distanceInterval?: number; 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:LocationRequest 方法 or 属性:maxAccuracy?: number; 起始版本:N/A | 类名:LocationRequest 方法 or 属性:maxAccuracy?: number; 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:CurrentLocationRequest 方法 or 属性:priority?: LocationRequestPriority; 起始版本:N/A | 类名:CurrentLocationRequest 方法 or 属性:priority?: LocationRequestPriority; 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:CurrentLocationRequest 方法 or 属性:scenario?: LocationRequestScenario; 起始版本:N/A | 类名:CurrentLocationRequest 方法 or 属性:scenario?: LocationRequestScenario; 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:CurrentLocationRequest 方法 or 属性:maxAccuracy?: number; 起始版本:N/A | 类名:CurrentLocationRequest 方法 or 属性:maxAccuracy?: number; 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:CurrentLocationRequest 方法 or 属性:timeoutMs?: number; 起始版本:N/A | 类名:CurrentLocationRequest 方法 or 属性:timeoutMs?: number; 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:LocationRequestPriority 方法 or 属性:UNSET = 0x200 起始版本:N/A | 类名:LocationRequestPriority 方法 or 属性:UNSET = 0x200 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:LocationRequestPriority 方法 or 属性:ACCURACY 起始版本:N/A | 类名:LocationRequestPriority 方法 or 属性:ACCURACY 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:LocationRequestPriority 方法 or 属性:LOW_POWER 起始版本:N/A | 类名:LocationRequestPriority 方法 or 属性:LOW_POWER 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:LocationRequestPriority 方法 or 属性:FIRST_FIX 起始版本:N/A | 类名:LocationRequestPriority 方法 or 属性:FIRST_FIX 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:LocationRequestScenario 方法 or 属性:UNSET = 0x300 起始版本:N/A | 类名:LocationRequestScenario 方法 or 属性:UNSET = 0x300 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:LocationRequestScenario 方法 or 属性:NAVIGATION 起始版本:N/A | 类名:LocationRequestScenario 方法 or 属性:NAVIGATION 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:LocationRequestScenario 方法 or 属性:TRAJECTORY_TRACKING 起始版本:N/A | 类名:LocationRequestScenario 方法 or 属性:TRAJECTORY_TRACKING 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:LocationRequestScenario 方法 or 属性:CAR_HAILING 起始版本:N/A | 类名:LocationRequestScenario 方法 or 属性:CAR_HAILING 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:LocationRequestScenario 方法 or 属性:DAILY_LIFE_SERVICE 起始版本:N/A | 类名:LocationRequestScenario 方法 or 属性:DAILY_LIFE_SERVICE 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:LocationRequestScenario 方法 or 属性:NO_POWER 起始版本:N/A | 类名:LocationRequestScenario 方法 or 属性:NO_POWER 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:LocationPrivacyType 方法 or 属性:OTHERS = 0 起始版本:N/A | 类名:LocationPrivacyType 方法 or 属性:OTHERS = 0 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:LocationPrivacyType 方法 or 属性:STARTUP 起始版本:N/A | 类名:LocationPrivacyType 方法 or 属性:STARTUP 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:LocationPrivacyType 方法 or 属性:CORE_LOCATION 起始版本:N/A | 类名:LocationPrivacyType 方法 or 属性:CORE_LOCATION 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:LocationCommand 方法 or 属性:scenario: LocationRequestScenario; 起始版本:N/A | 类名:LocationCommand 方法 or 属性:scenario: LocationRequestScenario; 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:LocationCommand 方法 or 属性:command: string; 起始版本:N/A | 类名:LocationCommand 方法 or 属性:command: string; 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:CountryCode 方法 or 属性:country: string; 起始版本:N/A | 类名:CountryCode 方法 or 属性:country: string; 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:CountryCode 方法 or 属性:type: CountryCodeType; 起始版本:N/A | 类名:CountryCode 方法 or 属性:type: CountryCodeType; 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:CountryCodeType 方法 or 属性:COUNTRY_CODE_FROM_LOCALE = 1 起始版本:N/A | 类名:CountryCodeType 方法 or 属性:COUNTRY_CODE_FROM_LOCALE = 1 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:CountryCodeType 方法 or 属性:COUNTRY_CODE_FROM_SIM 起始版本:N/A | 类名:CountryCodeType 方法 or 属性:COUNTRY_CODE_FROM_SIM 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:CountryCodeType 方法 or 属性:COUNTRY_CODE_FROM_LOCATION 起始版本:N/A | 类名:CountryCodeType 方法 or 属性:COUNTRY_CODE_FROM_LOCATION 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 起始版本有变化 | 类名:CountryCodeType 方法 or 属性:COUNTRY_CODE_FROM_NETWORK 起始版本:N/A | 类名:CountryCodeType 方法 or 属性:COUNTRY_CODE_FROM_NETWORK 起始版本:9 | @ohos.geoLocationManager.d.ts |
| 新增(错误码) | NA | 类名:geoLocationManager 方法 or 属性:function enableLocation(): Promise 错误码内容:201,202,801,3301000 | @ohos.geoLocationManager.d.ts |
| 新增(错误码) | NA | 类名:geoLocationManager 方法 or 属性:function getCountryCode(): Promise 错误码内容:801,3301000,3301500 | @ohos.geoLocationManager.d.ts |
| 访问级别有变化 | 类名:ReverseGeocodingMockInfo 方法 or 属性:location: ReverseGeoCodeRequest; 访问级别:公开API | 类名:ReverseGeocodingMockInfo 方法 or 属性:location: ReverseGeoCodeRequest; 访问级别:系统API | @ohos.geoLocationManager.d.ts |
| 访问级别有变化 | 类名:ReverseGeocodingMockInfo 方法 or 属性:geoAddress: GeoAddress; 访问级别:公开API | 类名:ReverseGeocodingMockInfo 方法 or 属性:geoAddress: GeoAddress; 访问级别:系统API | @ohos.geoLocationManager.d.ts |
| 访问级别有变化 | 类名:LocationMockConfig 方法 or 属性:timeInterval: number; 访问级别:公开API | 类名:LocationMockConfig 方法 or 属性:timeInterval: number; 访问级别:系统API | @ohos.geoLocationManager.d.ts |
| 访问级别有变化 | 类名:LocationMockConfig 方法 or 属性:locations: Array 访问级别:公开API | 类名:LocationMockConfig 方法 or 属性:locations: Array 访问级别:系统API | @ohos.geoLocationManager.d.ts |
| 访问级别有变化 | 类名:GeoAddress 方法 or 属性:isFromMock?: Boolean; 访问级别:公开API | 类名:GeoAddress 方法 or 属性:isFromMock?: Boolean; 访问级别:系统API | @ohos.geoLocationManager.d.ts |
| 访问级别有变化 | 类名:Location 方法 or 属性:isFromMock?: Boolean; 访问级别:公开API | 类名:Location 方法 or 属性:isFromMock?: Boolean; 访问级别:系统API | @ohos.geoLocationManager.d.ts |
| 访问级别有变化 | 类名:LocationPrivacyType 访问级别:公开API | 类名:LocationPrivacyType 访问级别:系统API | @ohos.geoLocationManager.d.ts |
| 访问级别有变化 | 类名:LocationPrivacyType 方法 or 属性:OTHERS = 0 访问级别:公开API | 类名:LocationPrivacyType 方法 or 属性:OTHERS = 0 访问级别:系统API | @ohos.geoLocationManager.d.ts |
| 访问级别有变化 | 类名:LocationPrivacyType 方法 or 属性:STARTUP 访问级别:公开API | 类名:LocationPrivacyType 方法 or 属性:STARTUP 访问级别:系统API | @ohos.geoLocationManager.d.ts |
| 访问级别有变化 | 类名:LocationPrivacyType 方法 or 属性:CORE_LOCATION 访问级别:公开API | 类名:LocationPrivacyType 方法 or 属性:CORE_LOCATION 访问级别:系统API | @ohos.geoLocationManager.d.ts |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙js-apidiff-application
harmony 鸿蒙js-apidiff-communication