1| Change Type | Old Version | New Version | d.ts File |
2| ---- | ------ | ------ | -------- |
3|Added|NA|Class name: geoLocationManager;<br>Method or attribute name: function on(type: 'locatingRequiredDataChange', config: LocatingRequiredDataConfig, callback: Callback\<Array\<LocatingRequiredData>>): void;|@ohos.geoLocationManager.d.ts|
4|Added|NA|Class name: geoLocationManager;<br>Method or attribute name: function off(type: 'locatingRequiredDataChange', callback?: Callback\<Array\<LocatingRequiredData>>): void;|@ohos.geoLocationManager.d.ts|
5|Added|NA|Class name: geoLocationManager;<br>Method or attribute name: function getLocatingRequiredData(config: LocatingRequiredDataConfig): Promise\<Array\<LocatingRequiredData>>;|@ohos.geoLocationManager.d.ts|
6|Added|NA|Class name: LocatingRequiredDataConfig;<br>Method or attribute name: type: LocatingRequiredDataType;|@ohos.geoLocationManager.d.ts|
7|Added|NA|Class name: LocatingRequiredDataConfig;<br>Method or attribute name: needStartScan: boolean;|@ohos.geoLocationManager.d.ts|
8|Added|NA|Class name: LocatingRequiredDataConfig;<br>Method or attribute name: scanInterval?: number;|@ohos.geoLocationManager.d.ts|
9|Added|NA|Class name: LocatingRequiredDataConfig;<br>Method or attribute name: scanTimeout?: number;|@ohos.geoLocationManager.d.ts|
10|Added|NA|Class name: LocatingRequiredData;<br>Method or attribute name: wifiData?: WifiScanInfo;|@ohos.geoLocationManager.d.ts|
11|Added|NA|Class name: LocatingRequiredData;<br>Method or attribute name: bluetoothData?: BluetoothScanInfo;|@ohos.geoLocationManager.d.ts|
12|Added|NA|Class name: WifiScanInfo;<br>Method or attribute name: ssid: string;|@ohos.geoLocationManager.d.ts|
13|Added|NA|Class name: WifiScanInfo;<br>Method or attribute name: bssid: string;|@ohos.geoLocationManager.d.ts|
14|Added|NA|Class name: WifiScanInfo;<br>Method or attribute name: rssi: number;|@ohos.geoLocationManager.d.ts|
15|Added|NA|Class name: BluetoothScanInfo;<br>Method or attribute name: rssi: number;|@ohos.geoLocationManager.d.ts|
16|Added|NA|Class name: WifiScanInfo;<br>Method or attribute name: frequency: number;|@ohos.geoLocationManager.d.ts|
17|Added|NA|Class name: WifiScanInfo;<br>Method or attribute name: timestamp: number;|@ohos.geoLocationManager.d.ts|
18|Added|NA|Class name: BluetoothScanInfo;<br>Method or attribute name: timestamp: number;|@ohos.geoLocationManager.d.ts|
19|Added|NA|Class name: BluetoothScanInfo;<br>Method or attribute name: deviceName: string;|@ohos.geoLocationManager.d.ts|
20|Added|NA|Class name: BluetoothScanInfo;<br>Method or attribute name: macAddress: string;|@ohos.geoLocationManager.d.ts|
21|Added|NA|Class name: LocatingRequiredDataType;<br>Method or attribute name: WIFI = 1|@ohos.geoLocationManager.d.ts|
22|Added|NA|Class name: LocatingRequiredDataType;<br>Method or attribute name: BLUETOOTH|@ohos.geoLocationManager.d.ts|
23|Permission changed|Class name: geolocation;<br>Method or attribute name: function getCurrentLocation(callback: AsyncCallback\<Location>): void;<br>Old version information: |Class name: geolocation;<br>Method or attribute name: function getCurrentLocation(callback: AsyncCallback\<Location>): void;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
24|Permission changed|Class name: geolocation;<br>Method or attribute name: function getCurrentLocation(request?: CurrentLocationRequest): Promise\<Location>;<br>Old version information: |Class name: geolocation;<br>Method or attribute name: function getCurrentLocation(request?: CurrentLocationRequest): Promise\<Location>;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
25|Permission changed|Class name: geolocation;<br>Method or attribute name: function getLastLocation(): Promise\<Location>;<br>Old version information: |Class name: geolocation;<br>Method or attribute name: function getLastLocation(): Promise\<Location>;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
26|Permission changed|Class name: geolocation;<br>Method or attribute name: function isLocationEnabled(): Promise\<boolean>;<br>Old version information: |Class name: geolocation;<br>Method or attribute name: function isLocationEnabled(): Promise\<boolean>;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
27|Permission changed|Class name: geolocation;<br>Method or attribute name: function requestEnableLocation(): Promise\<boolean>;<br>Old version information: |Class name: geolocation;<br>Method or attribute name: function requestEnableLocation(): Promise\<boolean>;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
28|Permission changed|Class name: geolocation;<br>Method or attribute name: function getAddressesFromLocation(request: ReverseGeoCodeRequest): Promise\<Array\<GeoAddress>>;<br>Old version information: |Class name: geolocation;<br>Method or attribute name: function getAddressesFromLocation(request: ReverseGeoCodeRequest): Promise\<Array\<GeoAddress>>;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
29|Permission changed|Class name: geolocation;<br>Method or attribute name: function getAddressesFromLocationName(request: GeoCodeRequest): Promise\<Array\<GeoAddress>>;<br>Old version information: |Class name: geolocation;<br>Method or attribute name: function getAddressesFromLocationName(request: GeoCodeRequest): Promise\<Array\<GeoAddress>>;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
30|Permission changed|Class name: geolocation;<br>Method or attribute name: function isGeoServiceAvailable(): Promise\<boolean>;<br>Old version information: |Class name: geolocation;<br>Method or attribute name: function isGeoServiceAvailable(): Promise\<boolean>;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
31|Permission changed|Class name: geolocation;<br>Method or attribute name: function getCachedGnssLocationsSize(): Promise\<number>;<br>Old version information: |Class name: geolocation;<br>Method or attribute name: function getCachedGnssLocationsSize(): Promise\<number>;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
32|Permission changed|Class name: geolocation;<br>Method or attribute name: function flushCachedGnssLocations(): Promise\<boolean>;<br>Old version information: |Class name: geolocation;<br>Method or attribute name: function flushCachedGnssLocations(): Promise\<boolean>;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
33|Permission changed|Class name: geolocation;<br>Method or attribute name: function sendCommand(command: LocationCommand): Promise\<boolean>;<br>Old version information: |Class name: geolocation;<br>Method or attribute name: function sendCommand(command: LocationCommand): Promise\<boolean>;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
34|Permission changed|Class name: GeoAddress;<br>Method or attribute name: latitude?: number;<br>Old version information: |Class name: GeoAddress;<br>Method or attribute name: latitude?: number;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
35|Permission changed|Class name: GeoAddress;<br>Method or attribute name: longitude?: number;<br>Old version information: |Class name: GeoAddress;<br>Method or attribute name: longitude?: number;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
36|Permission changed|Class name: GeoAddress;<br>Method or attribute name: locale?: string;<br>Old version information: |Class name: GeoAddress;<br>Method or attribute name: locale?: string;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
37|Permission changed|Class name: GeoAddress;<br>Method or attribute name: placeName?: string;<br>Old version information: |Class name: GeoAddress;<br>Method or attribute name: placeName?: string;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
38|Permission changed|Class name: GeoAddress;<br>Method or attribute name: countryCode?: string;<br>Old version information: |Class name: GeoAddress;<br>Method or attribute name: countryCode?: string;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
39|Permission changed|Class name: GeoAddress;<br>Method or attribute name: countryName?: string;<br>Old version information: |Class name: GeoAddress;<br>Method or attribute name: countryName?: string;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
40|Permission changed|Class name: GeoAddress;<br>Method or attribute name: administrativeArea?: string;<br>Old version information: |Class name: GeoAddress;<br>Method or attribute name: administrativeArea?: string;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
41|Permission changed|Class name: GeoAddress;<br>Method or attribute name: subAdministrativeArea?: string;<br>Old version information: |Class name: GeoAddress;<br>Method or attribute name: subAdministrativeArea?: string;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
42|Permission changed|Class name: GeoAddress;<br>Method or attribute name: locality?: string;<br>Old version information: |Class name: GeoAddress;<br>Method or attribute name: locality?: string;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
43|Permission changed|Class name: GeoAddress;<br>Method or attribute name: subLocality?: string;<br>Old version information: |Class name: GeoAddress;<br>Method or attribute name: subLocality?: string;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
44|Permission changed|Class name: GeoAddress;<br>Method or attribute name: roadName?: string;<br>Old version information: |Class name: GeoAddress;<br>Method or attribute name: roadName?: string;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
45|Permission changed|Class name: GeoAddress;<br>Method or attribute name: subRoadName?: string;<br>Old version information: |Class name: GeoAddress;<br>Method or attribute name: subRoadName?: string;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
46|Permission changed|Class name: GeoAddress;<br>Method or attribute name: premises?: string;<br>Old version information: |Class name: GeoAddress;<br>Method or attribute name: premises?: string;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
47|Permission changed|Class name: GeoAddress;<br>Method or attribute name: postalCode?: string;<br>Old version information: |Class name: GeoAddress;<br>Method or attribute name: postalCode?: string;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
48|Permission changed|Class name: GeoAddress;<br>Method or attribute name: phoneNumber?: string;<br>Old version information: |Class name: GeoAddress;<br>Method or attribute name: phoneNumber?: string;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
49|Permission changed|Class name: GeoAddress;<br>Method or attribute name: addressUrl?: string;<br>Old version information: |Class name: GeoAddress;<br>Method or attribute name: addressUrl?: string;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
50|Permission changed|Class name: GeoAddress;<br>Method or attribute name: descriptions?: Array\<string>;<br>Old version information: |Class name: GeoAddress;<br>Method or attribute name: descriptions?: Array\<string>;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
51|Permission changed|Class name: GeoAddress;<br>Method or attribute name: descriptionsSize?: number;<br>Old version information: |Class name: GeoAddress;<br>Method or attribute name: descriptionsSize?: number;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
52|Permission changed|Class name: Location;<br>Method or attribute name: latitude: number;<br>Old version information: |Class name: Location;<br>Method or attribute name: latitude: number;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
53|Permission changed|Class name: Location;<br>Method or attribute name: longitude: number;<br>Old version information: |Class name: Location;<br>Method or attribute name: longitude: number;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
54|Permission changed|Class name: Location;<br>Method or attribute name: altitude: number;<br>Old version information: |Class name: Location;<br>Method or attribute name: altitude: number;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
55|Permission changed|Class name: Location;<br>Method or attribute name: accuracy: number;<br>Old version information: |Class name: Location;<br>Method or attribute name: accuracy: number;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
56|Permission changed|Class name: Location;<br>Method or attribute name: speed: number;<br>Old version information: |Class name: Location;<br>Method or attribute name: speed: number;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
57|Permission changed|Class name: Location;<br>Method or attribute name: timeStamp: number;<br>Old version information: |Class name: Location;<br>Method or attribute name: timeStamp: number;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
58|Permission changed|Class name: Location;<br>Method or attribute name: direction: number;<br>Old version information: |Class name: Location;<br>Method or attribute name: direction: number;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
59|Permission changed|Class name: Location;<br>Method or attribute name: timeSinceBoot: number;<br>Old version information: |Class name: Location;<br>Method or attribute name: timeSinceBoot: number;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
60|Permission changed|Class name: Location;<br>Method or attribute name: additions?: Array\<string>;<br>Old version information: |Class name: Location;<br>Method or attribute name: additions?: Array\<string>;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
61|Permission changed|Class name: Location;<br>Method or attribute name: additionSize?: number;<br>Old version information: |Class name: Location;<br>Method or attribute name: additionSize?: number;<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
62|Permission changed|Class name: GeoLocationErrorCode;<br>Method or attribute name: INPUT_PARAMS_ERROR<br>Old version information: |Class name: GeoLocationErrorCode;<br>Method or attribute name: INPUT_PARAMS_ERROR<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
63|Permission changed|Class name: GeoLocationErrorCode;<br>Method or attribute name: REVERSE_GEOCODE_ERROR<br>Old version information: |Class name: GeoLocationErrorCode;<br>Method or attribute name: REVERSE_GEOCODE_ERROR<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
64|Permission changed|Class name: GeoLocationErrorCode;<br>Method or attribute name: GEOCODE_ERROR<br>Old version information: |Class name: GeoLocationErrorCode;<br>Method or attribute name: GEOCODE_ERROR<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
65|Permission changed|Class name: GeoLocationErrorCode;<br>Method or attribute name: LOCATOR_ERROR<br>Old version information: |Class name: GeoLocationErrorCode;<br>Method or attribute name: LOCATOR_ERROR<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
66|Permission changed|Class name: GeoLocationErrorCode;<br>Method or attribute name: LOCATION_SWITCH_ERROR<br>Old version information: |Class name: GeoLocationErrorCode;<br>Method or attribute name: LOCATION_SWITCH_ERROR<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
67|Permission changed|Class name: GeoLocationErrorCode;<br>Method or attribute name: LAST_KNOWN_LOCATION_ERROR<br>Old version information: |Class name: GeoLocationErrorCode;<br>Method or attribute name: LAST_KNOWN_LOCATION_ERROR<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
68|Permission changed|Class name: GeoLocationErrorCode;<br>Method or attribute name: LOCATION_REQUEST_TIMEOUT_ERROR<br>Old version information: |Class name: GeoLocationErrorCode;<br>Method or attribute name: LOCATION_REQUEST_TIMEOUT_ERROR<br>New version information: ohos.permission.LOCATION|@ohos.geolocation.d.ts|
69