harmony 鸿蒙js-apidiff-geolocation

  • 2023-10-30
  • 浏览 (123)

Change Type Old Version New Version d.ts File
Added NA Class name: geoLocationManager;
Method or attribute name: function on(type: ‘locatingRequiredDataChange’, config: LocatingRequiredDataConfig, callback: Callback<Array<LocatingRequiredData>>): void;
@ohos.geoLocationManager.d.ts
Added NA Class name: geoLocationManager;
Method or attribute name: function off(type: ‘locatingRequiredDataChange’, callback?: Callback<Array<LocatingRequiredData>>): void;
@ohos.geoLocationManager.d.ts
Added NA Class name: geoLocationManager;
Method or attribute name: function getLocatingRequiredData(config: LocatingRequiredDataConfig): Promise<Array<LocatingRequiredData>>;
@ohos.geoLocationManager.d.ts
Added NA Class name: LocatingRequiredDataConfig;
Method or attribute name: type: LocatingRequiredDataType;
@ohos.geoLocationManager.d.ts
Added NA Class name: LocatingRequiredDataConfig;
Method or attribute name: needStartScan: boolean;
@ohos.geoLocationManager.d.ts
Added NA Class name: LocatingRequiredDataConfig;
Method or attribute name: scanInterval?: number;
@ohos.geoLocationManager.d.ts
Added NA Class name: LocatingRequiredDataConfig;
Method or attribute name: scanTimeout?: number;
@ohos.geoLocationManager.d.ts
Added NA Class name: LocatingRequiredData;
Method or attribute name: wifiData?: WifiScanInfo;
@ohos.geoLocationManager.d.ts
Added NA Class name: LocatingRequiredData;
Method or attribute name: bluetoothData?: BluetoothScanInfo;
@ohos.geoLocationManager.d.ts
Added NA Class name: WifiScanInfo;
Method or attribute name: ssid: string;
@ohos.geoLocationManager.d.ts
Added NA Class name: WifiScanInfo;
Method or attribute name: bssid: string;
@ohos.geoLocationManager.d.ts
Added NA Class name: WifiScanInfo;
Method or attribute name: rssi: number;
@ohos.geoLocationManager.d.ts
Added NA Class name: BluetoothScanInfo;
Method or attribute name: rssi: number;
@ohos.geoLocationManager.d.ts
Added NA Class name: WifiScanInfo;
Method or attribute name: frequency: number;
@ohos.geoLocationManager.d.ts
Added NA Class name: WifiScanInfo;
Method or attribute name: timestamp: number;
@ohos.geoLocationManager.d.ts
Added NA Class name: BluetoothScanInfo;
Method or attribute name: timestamp: number;
@ohos.geoLocationManager.d.ts
Added NA Class name: BluetoothScanInfo;
Method or attribute name: deviceName: string;
@ohos.geoLocationManager.d.ts
Added NA Class name: BluetoothScanInfo;
Method or attribute name: macAddress: string;
@ohos.geoLocationManager.d.ts
Added NA Class name: LocatingRequiredDataType;
Method or attribute name: WIFI = 1
@ohos.geoLocationManager.d.ts
Added NA Class name: LocatingRequiredDataType;
Method or attribute name: BLUETOOTH
@ohos.geoLocationManager.d.ts
Permission changed Class name: geolocation;
Method or attribute name: function getCurrentLocation(callback: AsyncCallback<Location>): void;
Old version information:
Class name: geolocation;
Method or attribute name: function getCurrentLocation(callback: AsyncCallback<Location>): void;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: geolocation;
Method or attribute name: function getCurrentLocation(request?: CurrentLocationRequest): Promise<Location>;
Old version information:
Class name: geolocation;
Method or attribute name: function getCurrentLocation(request?: CurrentLocationRequest): Promise<Location>;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: geolocation;
Method or attribute name: function getLastLocation(): Promise<Location>;
Old version information:
Class name: geolocation;
Method or attribute name: function getLastLocation(): Promise<Location>;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: geolocation;
Method or attribute name: function isLocationEnabled(): Promise<boolean>;
Old version information:
Class name: geolocation;
Method or attribute name: function isLocationEnabled(): Promise<boolean>;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: geolocation;
Method or attribute name: function requestEnableLocation(): Promise<boolean>;
Old version information:
Class name: geolocation;
Method or attribute name: function requestEnableLocation(): Promise<boolean>;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: geolocation;
Method or attribute name: function getAddressesFromLocation(request: ReverseGeoCodeRequest): Promise<Array<GeoAddress>>;
Old version information:
Class name: geolocation;
Method or attribute name: function getAddressesFromLocation(request: ReverseGeoCodeRequest): Promise<Array<GeoAddress>>;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: geolocation;
Method or attribute name: function getAddressesFromLocationName(request: GeoCodeRequest): Promise<Array<GeoAddress>>;
Old version information:
Class name: geolocation;
Method or attribute name: function getAddressesFromLocationName(request: GeoCodeRequest): Promise<Array<GeoAddress>>;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: geolocation;
Method or attribute name: function isGeoServiceAvailable(): Promise<boolean>;
Old version information:
Class name: geolocation;
Method or attribute name: function isGeoServiceAvailable(): Promise<boolean>;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: geolocation;
Method or attribute name: function getCachedGnssLocationsSize(): Promise<number>;
Old version information:
Class name: geolocation;
Method or attribute name: function getCachedGnssLocationsSize(): Promise<number>;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: geolocation;
Method or attribute name: function flushCachedGnssLocations(): Promise<boolean>;
Old version information:
Class name: geolocation;
Method or attribute name: function flushCachedGnssLocations(): Promise<boolean>;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: geolocation;
Method or attribute name: function sendCommand(command: LocationCommand): Promise<boolean>;
Old version information:
Class name: geolocation;
Method or attribute name: function sendCommand(command: LocationCommand): Promise<boolean>;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: GeoAddress;
Method or attribute name: latitude?: number;
Old version information:
Class name: GeoAddress;
Method or attribute name: latitude?: number;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: GeoAddress;
Method or attribute name: longitude?: number;
Old version information:
Class name: GeoAddress;
Method or attribute name: longitude?: number;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: GeoAddress;
Method or attribute name: locale?: string;
Old version information:
Class name: GeoAddress;
Method or attribute name: locale?: string;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: GeoAddress;
Method or attribute name: placeName?: string;
Old version information:
Class name: GeoAddress;
Method or attribute name: placeName?: string;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: GeoAddress;
Method or attribute name: countryCode?: string;
Old version information:
Class name: GeoAddress;
Method or attribute name: countryCode?: string;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: GeoAddress;
Method or attribute name: countryName?: string;
Old version information:
Class name: GeoAddress;
Method or attribute name: countryName?: string;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: GeoAddress;
Method or attribute name: administrativeArea?: string;
Old version information:
Class name: GeoAddress;
Method or attribute name: administrativeArea?: string;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: GeoAddress;
Method or attribute name: subAdministrativeArea?: string;
Old version information:
Class name: GeoAddress;
Method or attribute name: subAdministrativeArea?: string;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: GeoAddress;
Method or attribute name: locality?: string;
Old version information:
Class name: GeoAddress;
Method or attribute name: locality?: string;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: GeoAddress;
Method or attribute name: subLocality?: string;
Old version information:
Class name: GeoAddress;
Method or attribute name: subLocality?: string;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: GeoAddress;
Method or attribute name: roadName?: string;
Old version information:
Class name: GeoAddress;
Method or attribute name: roadName?: string;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: GeoAddress;
Method or attribute name: subRoadName?: string;
Old version information:
Class name: GeoAddress;
Method or attribute name: subRoadName?: string;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: GeoAddress;
Method or attribute name: premises?: string;
Old version information:
Class name: GeoAddress;
Method or attribute name: premises?: string;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: GeoAddress;
Method or attribute name: postalCode?: string;
Old version information:
Class name: GeoAddress;
Method or attribute name: postalCode?: string;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: GeoAddress;
Method or attribute name: phoneNumber?: string;
Old version information:
Class name: GeoAddress;
Method or attribute name: phoneNumber?: string;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: GeoAddress;
Method or attribute name: addressUrl?: string;
Old version information:
Class name: GeoAddress;
Method or attribute name: addressUrl?: string;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: GeoAddress;
Method or attribute name: descriptions?: Array<string>;
Old version information:
Class name: GeoAddress;
Method or attribute name: descriptions?: Array<string>;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: GeoAddress;
Method or attribute name: descriptionsSize?: number;
Old version information:
Class name: GeoAddress;
Method or attribute name: descriptionsSize?: number;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: Location;
Method or attribute name: latitude: number;
Old version information:
Class name: Location;
Method or attribute name: latitude: number;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: Location;
Method or attribute name: longitude: number;
Old version information:
Class name: Location;
Method or attribute name: longitude: number;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: Location;
Method or attribute name: altitude: number;
Old version information:
Class name: Location;
Method or attribute name: altitude: number;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: Location;
Method or attribute name: accuracy: number;
Old version information:
Class name: Location;
Method or attribute name: accuracy: number;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: Location;
Method or attribute name: speed: number;
Old version information:
Class name: Location;
Method or attribute name: speed: number;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: Location;
Method or attribute name: timeStamp: number;
Old version information:
Class name: Location;
Method or attribute name: timeStamp: number;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: Location;
Method or attribute name: direction: number;
Old version information:
Class name: Location;
Method or attribute name: direction: number;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: Location;
Method or attribute name: timeSinceBoot: number;
Old version information:
Class name: Location;
Method or attribute name: timeSinceBoot: number;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: Location;
Method or attribute name: additions?: Array<string>;
Old version information:
Class name: Location;
Method or attribute name: additions?: Array<string>;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: Location;
Method or attribute name: additionSize?: number;
Old version information:
Class name: Location;
Method or attribute name: additionSize?: number;
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: GeoLocationErrorCode;
Method or attribute name: INPUT_PARAMS_ERROR
Old version information:
Class name: GeoLocationErrorCode;
Method or attribute name: INPUT_PARAMS_ERROR
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: GeoLocationErrorCode;
Method or attribute name: REVERSE_GEOCODE_ERROR
Old version information:
Class name: GeoLocationErrorCode;
Method or attribute name: REVERSE_GEOCODE_ERROR
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: GeoLocationErrorCode;
Method or attribute name: GEOCODE_ERROR
Old version information:
Class name: GeoLocationErrorCode;
Method or attribute name: GEOCODE_ERROR
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: GeoLocationErrorCode;
Method or attribute name: LOCATOR_ERROR
Old version information:
Class name: GeoLocationErrorCode;
Method or attribute name: LOCATOR_ERROR
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: GeoLocationErrorCode;
Method or attribute name: LOCATION_SWITCH_ERROR
Old version information:
Class name: GeoLocationErrorCode;
Method or attribute name: LOCATION_SWITCH_ERROR
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: GeoLocationErrorCode;
Method or attribute name: LAST_KNOWN_LOCATION_ERROR
Old version information:
Class name: GeoLocationErrorCode;
Method or attribute name: LAST_KNOWN_LOCATION_ERROR
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts
Permission changed Class name: GeoLocationErrorCode;
Method or attribute name: LOCATION_REQUEST_TIMEOUT_ERROR
Old version information:
Class name: GeoLocationErrorCode;
Method or attribute name: LOCATION_REQUEST_TIMEOUT_ERROR
New version information: ohos.permission.LOCATION
@ohos.geolocation.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-accessibility

harmony 鸿蒙js-apidiff-account

harmony 鸿蒙js-apidiff-ai

harmony 鸿蒙js-apidiff-application

harmony 鸿蒙js-apidiff-arkui

harmony 鸿蒙js-apidiff-battery

harmony 鸿蒙js-apidiff-bundle

harmony 鸿蒙js-apidiff-communication

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

0  赞