openharmony 鸿蒙 js-apidiff-LocationKit

2026-08-25 浏览 (1)

Change TypeOld VersionNew Versiond.ts File
New APINAClass name: global;
API declaration: declare namespace geolocation
Differences: declare namespace geolocation
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: function on(type: 'locationChange', request: LocationRequest, callback: Callback<Location>): void;
Differences: function on(type: 'locationChange', request: LocationRequest, callback: Callback<Location>): void;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: function off(type: 'locationChange', callback?: Callback<Location>): void;
Differences: function off(type: 'locationChange', callback?: Callback<Location>): void;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: function on(type: 'locationServiceState', callback: Callback<boolean>): void;
Differences: function on(type: 'locationServiceState', callback: Callback<boolean>): void;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: function off(type: 'locationServiceState', callback?: Callback<boolean>): void;
Differences: function off(type: 'locationServiceState', callback?: Callback<boolean>): void;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: function on(type: 'cachedGnssLocationsReporting', request: CachedGnssLocationsRequest, callback: Callback<Array<Location>>): void;
Differences: function on(type: 'cachedGnssLocationsReporting', request: CachedGnssLocationsRequest, callback: Callback<Array<Location>>): void;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: function off(type: 'cachedGnssLocationsReporting', callback?: Callback<Array<Location>>): void;
Differences: function off(type: 'cachedGnssLocationsReporting', callback?: Callback<Array<Location>>): void;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: function on(type: 'gnssStatusChange', callback: Callback<SatelliteStatusInfo>): void;
Differences: function on(type: 'gnssStatusChange', callback: Callback<SatelliteStatusInfo>): void;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: function off(type: 'gnssStatusChange', callback?: Callback<SatelliteStatusInfo>): void;
Differences: function off(type: 'gnssStatusChange', callback?: Callback<SatelliteStatusInfo>): void;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: function on(type: 'nmeaMessageChange', callback: Callback<string>): void;
Differences: function on(type: 'nmeaMessageChange', callback: Callback<string>): void;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: function off(type: 'nmeaMessageChange', callback?: Callback<string>): void;
Differences: function off(type: 'nmeaMessageChange', callback?: Callback<string>): void;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: function on(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void;
Differences: function on(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: function off(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void;
Differences: function off(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: function getCurrentLocation(request: CurrentLocationRequest, callback: AsyncCallback<Location>): void;
Differences: function getCurrentLocation(request: CurrentLocationRequest, callback: AsyncCallback<Location>): void;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: function getCurrentLocation(callback: AsyncCallback<Location>): void;
Differences: function getCurrentLocation(callback: AsyncCallback<Location>): void;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: function getCurrentLocation(request?: CurrentLocationRequest): Promise<Location>;
Differences: function getCurrentLocation(request?: CurrentLocationRequest): Promise<Location>;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: function getLastLocation(callback: AsyncCallback<Location>): void;
Differences: function getLastLocation(callback: AsyncCallback<Location>): void;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: function getLastLocation(): Promise<Location>;
Differences: function getLastLocation(): Promise<Location>;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: function isLocationEnabled(callback: AsyncCallback<boolean>): void;
Differences: function isLocationEnabled(callback: AsyncCallback<boolean>): void;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: function isLocationEnabled(): Promise<boolean>;
Differences: function isLocationEnabled(): Promise<boolean>;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: function requestEnableLocation(callback: AsyncCallback<boolean>): void;
Differences: function requestEnableLocation(callback: AsyncCallback<boolean>): void;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: function requestEnableLocation(): Promise<boolean>;
Differences: function requestEnableLocation(): Promise<boolean>;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: function getAddressesFromLocation(request: ReverseGeoCodeRequest, callback: AsyncCallback<Array<GeoAddress>>): void;
Differences: function getAddressesFromLocation(request: ReverseGeoCodeRequest, callback: AsyncCallback<Array<GeoAddress>>): void;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: function getAddressesFromLocation(request: ReverseGeoCodeRequest): Promise<Array<GeoAddress>>;
Differences: function getAddressesFromLocation(request: ReverseGeoCodeRequest): Promise<Array<GeoAddress>>;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: function getAddressesFromLocationName(request: GeoCodeRequest, callback: AsyncCallback<Array<GeoAddress>>): void;
Differences: function getAddressesFromLocationName(request: GeoCodeRequest, callback: AsyncCallback<Array<GeoAddress>>): void;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: function getAddressesFromLocationName(request: GeoCodeRequest): Promise<Array<GeoAddress>>;
Differences: function getAddressesFromLocationName(request: GeoCodeRequest): Promise<Array<GeoAddress>>;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: function isGeoServiceAvailable(callback: AsyncCallback<boolean>): void;
Differences: function isGeoServiceAvailable(callback: AsyncCallback<boolean>): void;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: function isGeoServiceAvailable(): Promise<boolean>;
Differences: function isGeoServiceAvailable(): Promise<boolean>;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: function getCachedGnssLocationsSize(callback: AsyncCallback<number>): void;
Differences: function getCachedGnssLocationsSize(callback: AsyncCallback<number>): void;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: function getCachedGnssLocationsSize(): Promise<number>;
Differences: function getCachedGnssLocationsSize(): Promise<number>;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: function flushCachedGnssLocations(callback: AsyncCallback<boolean>): void;
Differences: function flushCachedGnssLocations(callback: AsyncCallback<boolean>): void;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: function flushCachedGnssLocations(): Promise<boolean>;
Differences: function flushCachedGnssLocations(): Promise<boolean>;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: function sendCommand(command: LocationCommand, callback: AsyncCallback<boolean>): void;
Differences: function sendCommand(command: LocationCommand, callback: AsyncCallback<boolean>): void;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: function sendCommand(command: LocationCommand): Promise<boolean>;
Differences: function sendCommand(command: LocationCommand): Promise<boolean>;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: export interface SatelliteStatusInfo
Differences: export interface SatelliteStatusInfo
api/@ohos.geolocation.d.ts
New APINAClass name: SatelliteStatusInfo;
API declaration: satellitesNumber: number;
Differences: satellitesNumber: number;
api/@ohos.geolocation.d.ts
New APINAClass name: SatelliteStatusInfo;
API declaration: satelliteIds: Array<number>;
Differences: satelliteIds: Array<number>;
api/@ohos.geolocation.d.ts
New APINAClass name: SatelliteStatusInfo;
API declaration: carrierToNoiseDensitys: Array<number>;
Differences: carrierToNoiseDensitys: Array<number>;
api/@ohos.geolocation.d.ts
New APINAClass name: SatelliteStatusInfo;
API declaration: altitudes: Array<number>;
Differences: altitudes: Array<number>;
api/@ohos.geolocation.d.ts
New APINAClass name: SatelliteStatusInfo;
API declaration: azimuths: Array<number>;
Differences: azimuths: Array<number>;
api/@ohos.geolocation.d.ts
New APINAClass name: SatelliteStatusInfo;
API declaration: carrierFrequencies: Array<number>;
Differences: carrierFrequencies: Array<number>;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: export interface CachedGnssLocationsRequest
Differences: export interface CachedGnssLocationsRequest
api/@ohos.geolocation.d.ts
New APINAClass name: CachedGnssLocationsRequest;
API declaration: reportingPeriodSec: number;
Differences: reportingPeriodSec: number;
api/@ohos.geolocation.d.ts
New APINAClass name: CachedGnssLocationsRequest;
API declaration: wakeUpCacheQueueFull: boolean;
Differences: wakeUpCacheQueueFull: boolean;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: export interface GeofenceRequest
Differences: export interface GeofenceRequest
api/@ohos.geolocation.d.ts
New APINAClass name: GeofenceRequest;
API declaration: priority: LocationRequestPriority;
Differences: priority: LocationRequestPriority;
api/@ohos.geolocation.d.ts
New APINAClass name: GeofenceRequest;
API declaration: scenario: LocationRequestScenario;
Differences: scenario: LocationRequestScenario;
api/@ohos.geolocation.d.ts
New APINAClass name: GeofenceRequest;
API declaration: geofence: Geofence;
Differences: geofence: Geofence;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: export interface Geofence
Differences: export interface Geofence
api/@ohos.geolocation.d.ts
New APINAClass name: Geofence;
API declaration: latitude: number;
Differences: latitude: number;
api/@ohos.geolocation.d.ts
New APINAClass name: Geofence;
API declaration: longitude: number;
Differences: longitude: number;
api/@ohos.geolocation.d.ts
New APINAClass name: Geofence;
API declaration: radius: number;
Differences: radius: number;
api/@ohos.geolocation.d.ts
New APINAClass name: Geofence;
API declaration: expiration: number;
Differences: expiration: number;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: export interface ReverseGeoCodeRequest
Differences: export interface ReverseGeoCodeRequest
api/@ohos.geolocation.d.ts
New APINAClass name: ReverseGeoCodeRequest;
API declaration: locale?: string;
Differences: locale?: string;
api/@ohos.geolocation.d.ts
New APINAClass name: ReverseGeoCodeRequest;
API declaration: latitude: number;
Differences: latitude: number;
api/@ohos.geolocation.d.ts
New APINAClass name: ReverseGeoCodeRequest;
API declaration: longitude: number;
Differences: longitude: number;
api/@ohos.geolocation.d.ts
New APINAClass name: ReverseGeoCodeRequest;
API declaration: maxItems?: number;
Differences: maxItems?: number;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: export interface GeoCodeRequest
Differences: export interface GeoCodeRequest
api/@ohos.geolocation.d.ts
New APINAClass name: GeoCodeRequest;
API declaration: locale?: string;
Differences: locale?: string;
api/@ohos.geolocation.d.ts
New APINAClass name: GeoCodeRequest;
API declaration: description: string;
Differences: description: string;
api/@ohos.geolocation.d.ts
New APINAClass name: GeoCodeRequest;
API declaration: maxItems?: number;
Differences: maxItems?: number;
api/@ohos.geolocation.d.ts
New APINAClass name: GeoCodeRequest;
API declaration: minLatitude?: number;
Differences: minLatitude?: number;
api/@ohos.geolocation.d.ts
New APINAClass name: GeoCodeRequest;
API declaration: minLongitude?: number;
Differences: minLongitude?: number;
api/@ohos.geolocation.d.ts
New APINAClass name: GeoCodeRequest;
API declaration: maxLatitude?: number;
Differences: maxLatitude?: number;
api/@ohos.geolocation.d.ts
New APINAClass name: GeoCodeRequest;
API declaration: maxLongitude?: number;
Differences: maxLongitude?: number;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: export interface GeoAddress
Differences: export interface GeoAddress
api/@ohos.geolocation.d.ts
New APINAClass name: GeoAddress;
API declaration: latitude?: number;
Differences: latitude?: number;
api/@ohos.geolocation.d.ts
New APINAClass name: GeoAddress;
API declaration: longitude?: number;
Differences: longitude?: number;
api/@ohos.geolocation.d.ts
New APINAClass name: GeoAddress;
API declaration: locale?: string;
Differences: locale?: string;
api/@ohos.geolocation.d.ts
New APINAClass name: GeoAddress;
API declaration: placeName?: string;
Differences: placeName?: string;
api/@ohos.geolocation.d.ts
New APINAClass name: GeoAddress;
API declaration: countryCode?: string;
Differences: countryCode?: string;
api/@ohos.geolocation.d.ts
New APINAClass name: GeoAddress;
API declaration: countryName?: string;
Differences: countryName?: string;
api/@ohos.geolocation.d.ts
New APINAClass name: GeoAddress;
API declaration: administrativeArea?: string;
Differences: administrativeArea?: string;
api/@ohos.geolocation.d.ts
New APINAClass name: GeoAddress;
API declaration: subAdministrativeArea?: string;
Differences: subAdministrativeArea?: string;
api/@ohos.geolocation.d.ts
New APINAClass name: GeoAddress;
API declaration: locality?: string;
Differences: locality?: string;
api/@ohos.geolocation.d.ts
New APINAClass name: GeoAddress;
API declaration: subLocality?: string;
Differences: subLocality?: string;
api/@ohos.geolocation.d.ts
New APINAClass name: GeoAddress;
API declaration: roadName?: string;
Differences: roadName?: string;
api/@ohos.geolocation.d.ts
New APINAClass name: GeoAddress;
API declaration: subRoadName?: string;
Differences: subRoadName?: string;
api/@ohos.geolocation.d.ts
New APINAClass name: GeoAddress;
API declaration: premises?: string;
Differences: premises?: string;
api/@ohos.geolocation.d.ts
New APINAClass name: GeoAddress;
API declaration: postalCode?: string;
Differences: postalCode?: string;
api/@ohos.geolocation.d.ts
New APINAClass name: GeoAddress;
API declaration: phoneNumber?: string;
Differences: phoneNumber?: string;
api/@ohos.geolocation.d.ts
New APINAClass name: GeoAddress;
API declaration: addressUrl?: string;
Differences: addressUrl?: string;
api/@ohos.geolocation.d.ts
New APINAClass name: GeoAddress;
API declaration: descriptions?: Array<string>;
Differences: descriptions?: Array<string>;
api/@ohos.geolocation.d.ts
New APINAClass name: GeoAddress;
API declaration: descriptionsSize?: number;
Differences: descriptionsSize?: number;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: export interface LocationRequest
Differences: export interface LocationRequest
api/@ohos.geolocation.d.ts
New APINAClass name: LocationRequest;
API declaration: priority?: LocationRequestPriority;
Differences: priority?: LocationRequestPriority;
api/@ohos.geolocation.d.ts
New APINAClass name: LocationRequest;
API declaration: scenario?: LocationRequestScenario;
Differences: scenario?: LocationRequestScenario;
api/@ohos.geolocation.d.ts
New APINAClass name: LocationRequest;
API declaration: timeInterval?: number;
Differences: timeInterval?: number;
api/@ohos.geolocation.d.ts
New APINAClass name: LocationRequest;
API declaration: distanceInterval?: number;
Differences: distanceInterval?: number;
api/@ohos.geolocation.d.ts
New APINAClass name: LocationRequest;
API declaration: maxAccuracy?: number;
Differences: maxAccuracy?: number;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: export interface CurrentLocationRequest
Differences: export interface CurrentLocationRequest
api/@ohos.geolocation.d.ts
New APINAClass name: CurrentLocationRequest;
API declaration: priority?: LocationRequestPriority;
Differences: priority?: LocationRequestPriority;
api/@ohos.geolocation.d.ts
New APINAClass name: CurrentLocationRequest;
API declaration: scenario?: LocationRequestScenario;
Differences: scenario?: LocationRequestScenario;
api/@ohos.geolocation.d.ts
New APINAClass name: CurrentLocationRequest;
API declaration: maxAccuracy?: number;
Differences: maxAccuracy?: number;
api/@ohos.geolocation.d.ts
New APINAClass name: CurrentLocationRequest;
API declaration: timeoutMs?: number;
Differences: timeoutMs?: number;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: export interface Location
Differences: export interface Location
api/@ohos.geolocation.d.ts
New APINAClass name: Location;
API declaration: latitude: number;
Differences: latitude: number;
api/@ohos.geolocation.d.ts
New APINAClass name: Location;
API declaration: longitude: number;
Differences: longitude: number;
api/@ohos.geolocation.d.ts
New APINAClass name: Location;
API declaration: altitude: number;
Differences: altitude: number;
api/@ohos.geolocation.d.ts
New APINAClass name: Location;
API declaration: accuracy: number;
Differences: accuracy: number;
api/@ohos.geolocation.d.ts
New APINAClass name: Location;
API declaration: speed: number;
Differences: speed: number;
api/@ohos.geolocation.d.ts
New APINAClass name: Location;
API declaration: timeStamp: number;
Differences: timeStamp: number;
api/@ohos.geolocation.d.ts
New APINAClass name: Location;
API declaration: direction: number;
Differences: direction: number;
api/@ohos.geolocation.d.ts
New APINAClass name: Location;
API declaration: timeSinceBoot: number;
Differences: timeSinceBoot: number;
api/@ohos.geolocation.d.ts
New APINAClass name: Location;
API declaration: additions?: Array<string>;
Differences: additions?: Array<string>;
api/@ohos.geolocation.d.ts
New APINAClass name: Location;
API declaration: additionSize?: number;
Differences: additionSize?: number;
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: export enum LocationRequestPriority
Differences: export enum LocationRequestPriority
api/@ohos.geolocation.d.ts
New APINAClass name: LocationRequestPriority;
API declaration: UNSET = 0x200
Differences: UNSET = 0x200
api/@ohos.geolocation.d.ts
New APINAClass name: LocationRequestPriority;
API declaration: ACCURACY
Differences: ACCURACY
api/@ohos.geolocation.d.ts
New APINAClass name: LocationRequestPriority;
API declaration: LOW_POWER
Differences: LOW_POWER
api/@ohos.geolocation.d.ts
New APINAClass name: LocationRequestPriority;
API declaration: FIRST_FIX
Differences: FIRST_FIX
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: export enum LocationRequestScenario
Differences: export enum LocationRequestScenario
api/@ohos.geolocation.d.ts
New APINAClass name: LocationRequestScenario;
API declaration: UNSET = 0x300
Differences: UNSET = 0x300
api/@ohos.geolocation.d.ts
New APINAClass name: LocationRequestScenario;
API declaration: NAVIGATION
Differences: NAVIGATION
api/@ohos.geolocation.d.ts
New APINAClass name: LocationRequestScenario;
API declaration: TRAJECTORY_TRACKING
Differences: TRAJECTORY_TRACKING
api/@ohos.geolocation.d.ts
New APINAClass name: LocationRequestScenario;
API declaration: CAR_HAILING
Differences: CAR_HAILING
api/@ohos.geolocation.d.ts
New APINAClass name: LocationRequestScenario;
API declaration: DAILY_LIFE_SERVICE
Differences: DAILY_LIFE_SERVICE
api/@ohos.geolocation.d.ts
New APINAClass name: LocationRequestScenario;
API declaration: NO_POWER
Differences: NO_POWER
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: export enum GeoLocationErrorCode
Differences: export enum GeoLocationErrorCode
api/@ohos.geolocation.d.ts
New APINAClass name: GeoLocationErrorCode;
API declaration: INPUT_PARAMS_ERROR
Differences: INPUT_PARAMS_ERROR
api/@ohos.geolocation.d.ts
New APINAClass name: GeoLocationErrorCode;
API declaration: REVERSE_GEOCODE_ERROR
Differences: REVERSE_GEOCODE_ERROR
api/@ohos.geolocation.d.ts
New APINAClass name: GeoLocationErrorCode;
API declaration: GEOCODE_ERROR
Differences: GEOCODE_ERROR
api/@ohos.geolocation.d.ts
New APINAClass name: GeoLocationErrorCode;
API declaration: LOCATOR_ERROR
Differences: LOCATOR_ERROR
api/@ohos.geolocation.d.ts
New APINAClass name: GeoLocationErrorCode;
API declaration: LOCATION_SWITCH_ERROR
Differences: LOCATION_SWITCH_ERROR
api/@ohos.geolocation.d.ts
New APINAClass name: GeoLocationErrorCode;
API declaration: LAST_KNOWN_LOCATION_ERROR
Differences: LAST_KNOWN_LOCATION_ERROR
api/@ohos.geolocation.d.ts
New APINAClass name: GeoLocationErrorCode;
API declaration: LOCATION_REQUEST_TIMEOUT_ERROR
Differences: LOCATION_REQUEST_TIMEOUT_ERROR
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: export enum LocationPrivacyType
Differences: export enum LocationPrivacyType
api/@ohos.geolocation.d.ts
New APINAClass name: LocationPrivacyType;
API declaration: OTHERS = 0
Differences: OTHERS = 0
api/@ohos.geolocation.d.ts
New APINAClass name: LocationPrivacyType;
API declaration: STARTUP
Differences: STARTUP
api/@ohos.geolocation.d.ts
New APINAClass name: LocationPrivacyType;
API declaration: CORE_LOCATION
Differences: CORE_LOCATION
api/@ohos.geolocation.d.ts
New APINAClass name: geolocation;
API declaration: export interface LocationCommand
Differences: export interface LocationCommand
api/@ohos.geolocation.d.ts
New APINAClass name: LocationCommand;
API declaration: scenario: LocationRequestScenario;
Differences: scenario: LocationRequestScenario;
api/@ohos.geolocation.d.ts
New APINAClass name: LocationCommand;
API declaration: command: string;
Differences: command: string;
api/@ohos.geolocation.d.ts
New APINAClass name: global;
API declaration: declare namespace geoLocationManager
Differences: declare namespace geoLocationManager
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: function on(type: 'locationChange', request: LocationRequest, callback: Callback<Location>): void;
Differences: function on(type: 'locationChange', request: LocationRequest, callback: Callback<Location>): void;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: function off(type: 'locationChange', callback?: Callback<Location>): void;
Differences: function off(type: 'locationChange', callback?: Callback<Location>): void;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: function on(type: 'locationEnabledChange', callback: Callback<boolean>): void;
Differences: function on(type: 'locationEnabledChange', callback: Callback<boolean>): void;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: function off(type: 'locationEnabledChange', callback?: Callback<boolean>): void;
Differences: function off(type: 'locationEnabledChange', callback?: Callback<boolean>): void;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: function on(type: 'cachedGnssLocationsChange', request: CachedGnssLocationsRequest, callback: Callback<Array<Location>>): void;
Differences: function on(type: 'cachedGnssLocationsChange', request: CachedGnssLocationsRequest, callback: Callback<Array<Location>>): void;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: function off(type: 'cachedGnssLocationsChange', callback?: Callback<Array<Location>>): void;
Differences: function off(type: 'cachedGnssLocationsChange', callback?: Callback<Array<Location>>): void;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: function on(type: 'satelliteStatusChange', callback: Callback<SatelliteStatusInfo>): void;
Differences: function on(type: 'satelliteStatusChange', callback: Callback<SatelliteStatusInfo>): void;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: function off(type: 'satelliteStatusChange', callback?: Callback<SatelliteStatusInfo>): void;
Differences: function off(type: 'satelliteStatusChange', callback?: Callback<SatelliteStatusInfo>): void;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: function on(type: 'nmeaMessage', callback: Callback<string>): void;
Differences: function on(type: 'nmeaMessage', callback: Callback<string>): void;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: function off(type: 'nmeaMessage', callback?: Callback<string>): void;
Differences: function off(type: 'nmeaMessage', callback?: Callback<string>): void;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: function on(type: 'gnssFenceStatusChange', request: GeofenceRequest, want: WantAgent): void;
Differences: function on(type: 'gnssFenceStatusChange', request: GeofenceRequest, want: WantAgent): void;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: function off(type: 'gnssFenceStatusChange', request: GeofenceRequest, want: WantAgent): void;
Differences: function off(type: 'gnssFenceStatusChange', request: GeofenceRequest, want: WantAgent): void;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: function on(type: 'countryCodeChange', callback: Callback<CountryCode>): void;
Differences: function on(type: 'countryCodeChange', callback: Callback<CountryCode>): void;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: function off(type: 'countryCodeChange', callback?: Callback<CountryCode>): void;
Differences: function off(type: 'countryCodeChange', callback?: Callback<CountryCode>): void;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: function getCurrentLocation(request: CurrentLocationRequest, callback: AsyncCallback<Location>): void;
Differences: function getCurrentLocation(request: CurrentLocationRequest, callback: AsyncCallback<Location>): void;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: function getCurrentLocation(callback: AsyncCallback<Location>): void;
Differences: function getCurrentLocation(callback: AsyncCallback<Location>): void;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: function getCurrentLocation(request?: CurrentLocationRequest): Promise<Location>;
Differences: function getCurrentLocation(request?: CurrentLocationRequest): Promise<Location>;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: function getLastLocation(): Location;
Differences: function getLastLocation(): Location;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: function isLocationEnabled(): boolean;
Differences: function isLocationEnabled(): boolean;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: function getAddressesFromLocation(request: ReverseGeoCodeRequest, callback: AsyncCallback<Array<GeoAddress>>): void;
Differences: function getAddressesFromLocation(request: ReverseGeoCodeRequest, callback: AsyncCallback<Array<GeoAddress>>): void;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: function getAddressesFromLocation(request: ReverseGeoCodeRequest): Promise<Array<GeoAddress>>;
Differences: function getAddressesFromLocation(request: ReverseGeoCodeRequest): Promise<Array<GeoAddress>>;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: function getAddressesFromLocationName(request: GeoCodeRequest, callback: AsyncCallback<Array<GeoAddress>>): void;
Differences: function getAddressesFromLocationName(request: GeoCodeRequest, callback: AsyncCallback<Array<GeoAddress>>): void;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: function getAddressesFromLocationName(request: GeoCodeRequest): Promise<Array<GeoAddress>>;
Differences: function getAddressesFromLocationName(request: GeoCodeRequest): Promise<Array<GeoAddress>>;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: function isGeocoderAvailable(): boolean;
Differences: function isGeocoderAvailable(): boolean;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: function getCachedGnssLocationsSize(callback: AsyncCallback<number>): void;
Differences: function getCachedGnssLocationsSize(callback: AsyncCallback<number>): void;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: function getCachedGnssLocationsSize(): Promise<number>;
Differences: function getCachedGnssLocationsSize(): Promise<number>;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: function flushCachedGnssLocations(callback: AsyncCallback<void>): void;
Differences: function flushCachedGnssLocations(callback: AsyncCallback<void>): void;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: function flushCachedGnssLocations(): Promise<void>;
Differences: function flushCachedGnssLocations(): Promise<void>;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: function sendCommand(command: LocationCommand, callback: AsyncCallback<void>): void;
Differences: function sendCommand(command: LocationCommand, callback: AsyncCallback<void>): void;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: function sendCommand(command: LocationCommand): Promise<void>;
Differences: function sendCommand(command: LocationCommand): Promise<void>;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: function getCountryCode(callback: AsyncCallback<CountryCode>): void;
Differences: function getCountryCode(callback: AsyncCallback<CountryCode>): void;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: function getCountryCode(): Promise<CountryCode>;
Differences: function getCountryCode(): Promise<CountryCode>;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: export interface SatelliteStatusInfo
Differences: export interface SatelliteStatusInfo
api/@ohos.geoLocationManager.d.ts
New APINAClass name: SatelliteStatusInfo;
API declaration: satellitesNumber: number;
Differences: satellitesNumber: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: SatelliteStatusInfo;
API declaration: satelliteIds: Array<number>;
Differences: satelliteIds: Array<number>;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: SatelliteStatusInfo;
API declaration: carrierToNoiseDensitys: Array<number>;
Differences: carrierToNoiseDensitys: Array<number>;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: SatelliteStatusInfo;
API declaration: altitudes: Array<number>;
Differences: altitudes: Array<number>;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: SatelliteStatusInfo;
API declaration: azimuths: Array<number>;
Differences: azimuths: Array<number>;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: SatelliteStatusInfo;
API declaration: carrierFrequencies: Array<number>;
Differences: carrierFrequencies: Array<number>;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: export interface CachedGnssLocationsRequest
Differences: export interface CachedGnssLocationsRequest
api/@ohos.geoLocationManager.d.ts
New APINAClass name: CachedGnssLocationsRequest;
API declaration: reportingPeriodSec: number;
Differences: reportingPeriodSec: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: CachedGnssLocationsRequest;
API declaration: wakeUpCacheQueueFull: boolean;
Differences: wakeUpCacheQueueFull: boolean;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: export interface GeofenceRequest
Differences: export interface GeofenceRequest
api/@ohos.geoLocationManager.d.ts
New APINAClass name: GeofenceRequest;
API declaration: scenario: LocationRequestScenario;
Differences: scenario: LocationRequestScenario;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: GeofenceRequest;
API declaration: geofence: Geofence;
Differences: geofence: Geofence;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: export interface Geofence
Differences: export interface Geofence
api/@ohos.geoLocationManager.d.ts
New APINAClass name: Geofence;
API declaration: latitude: number;
Differences: latitude: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: Geofence;
API declaration: longitude: number;
Differences: longitude: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: Geofence;
API declaration: radius: number;
Differences: radius: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: Geofence;
API declaration: expiration: number;
Differences: expiration: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: export interface ReverseGeoCodeRequest
Differences: export interface ReverseGeoCodeRequest
api/@ohos.geoLocationManager.d.ts
New APINAClass name: ReverseGeoCodeRequest;
API declaration: locale?: string;
Differences: locale?: string;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: ReverseGeoCodeRequest;
API declaration: latitude: number;
Differences: latitude: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: ReverseGeoCodeRequest;
API declaration: longitude: number;
Differences: longitude: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: ReverseGeoCodeRequest;
API declaration: maxItems?: number;
Differences: maxItems?: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: export interface GeoCodeRequest
Differences: export interface GeoCodeRequest
api/@ohos.geoLocationManager.d.ts
New APINAClass name: GeoCodeRequest;
API declaration: locale?: string;
Differences: locale?: string;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: GeoCodeRequest;
API declaration: description: string;
Differences: description: string;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: GeoCodeRequest;
API declaration: maxItems?: number;
Differences: maxItems?: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: GeoCodeRequest;
API declaration: minLatitude?: number;
Differences: minLatitude?: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: GeoCodeRequest;
API declaration: minLongitude?: number;
Differences: minLongitude?: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: GeoCodeRequest;
API declaration: maxLatitude?: number;
Differences: maxLatitude?: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: GeoCodeRequest;
API declaration: maxLongitude?: number;
Differences: maxLongitude?: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: export interface GeoAddress
Differences: export interface GeoAddress
api/@ohos.geoLocationManager.d.ts
New APINAClass name: GeoAddress;
API declaration: latitude?: number;
Differences: latitude?: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: GeoAddress;
API declaration: longitude?: number;
Differences: longitude?: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: GeoAddress;
API declaration: locale?: string;
Differences: locale?: string;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: GeoAddress;
API declaration: placeName?: string;
Differences: placeName?: string;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: GeoAddress;
API declaration: countryCode?: string;
Differences: countryCode?: string;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: GeoAddress;
API declaration: countryName?: string;
Differences: countryName?: string;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: GeoAddress;
API declaration: administrativeArea?: string;
Differences: administrativeArea?: string;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: GeoAddress;
API declaration: subAdministrativeArea?: string;
Differences: subAdministrativeArea?: string;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: GeoAddress;
API declaration: locality?: string;
Differences: locality?: string;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: GeoAddress;
API declaration: subLocality?: string;
Differences: subLocality?: string;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: GeoAddress;
API declaration: roadName?: string;
Differences: roadName?: string;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: GeoAddress;
API declaration: subRoadName?: string;
Differences: subRoadName?: string;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: GeoAddress;
API declaration: premises?: string;
Differences: premises?: string;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: GeoAddress;
API declaration: postalCode?: string;
Differences: postalCode?: string;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: GeoAddress;
API declaration: phoneNumber?: string;
Differences: phoneNumber?: string;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: GeoAddress;
API declaration: addressUrl?: string;
Differences: addressUrl?: string;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: GeoAddress;
API declaration: descriptions?: Array<string>;
Differences: descriptions?: Array<string>;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: GeoAddress;
API declaration: descriptionsSize?: number;
Differences: descriptionsSize?: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: export interface LocationRequest
Differences: export interface LocationRequest
api/@ohos.geoLocationManager.d.ts
New APINAClass name: LocationRequest;
API declaration: priority?: LocationRequestPriority;
Differences: priority?: LocationRequestPriority;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: LocationRequest;
API declaration: scenario?: LocationRequestScenario;
Differences: scenario?: LocationRequestScenario;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: LocationRequest;
API declaration: timeInterval?: number;
Differences: timeInterval?: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: LocationRequest;
API declaration: distanceInterval?: number;
Differences: distanceInterval?: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: LocationRequest;
API declaration: maxAccuracy?: number;
Differences: maxAccuracy?: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: export interface CurrentLocationRequest
Differences: export interface CurrentLocationRequest
api/@ohos.geoLocationManager.d.ts
New APINAClass name: CurrentLocationRequest;
API declaration: priority?: LocationRequestPriority;
Differences: priority?: LocationRequestPriority;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: CurrentLocationRequest;
API declaration: scenario?: LocationRequestScenario;
Differences: scenario?: LocationRequestScenario;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: CurrentLocationRequest;
API declaration: maxAccuracy?: number;
Differences: maxAccuracy?: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: CurrentLocationRequest;
API declaration: timeoutMs?: number;
Differences: timeoutMs?: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: export interface Location
Differences: export interface Location
api/@ohos.geoLocationManager.d.ts
New APINAClass name: Location;
API declaration: latitude: number;
Differences: latitude: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: Location;
API declaration: longitude: number;
Differences: longitude: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: Location;
API declaration: altitude: number;
Differences: altitude: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: Location;
API declaration: accuracy: number;
Differences: accuracy: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: Location;
API declaration: speed: number;
Differences: speed: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: Location;
API declaration: timeStamp: number;
Differences: timeStamp: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: Location;
API declaration: direction: number;
Differences: direction: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: Location;
API declaration: timeSinceBoot: number;
Differences: timeSinceBoot: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: Location;
API declaration: additions?: Array<string>;
Differences: additions?: Array<string>;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: Location;
API declaration: additionSize?: number;
Differences: additionSize?: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: export enum LocationRequestPriority
Differences: export enum LocationRequestPriority
api/@ohos.geoLocationManager.d.ts
New APINAClass name: LocationRequestPriority;
API declaration: UNSET = 0x200
Differences: UNSET = 0x200
api/@ohos.geoLocationManager.d.ts
New APINAClass name: LocationRequestPriority;
API declaration: ACCURACY
Differences: ACCURACY
api/@ohos.geoLocationManager.d.ts
New APINAClass name: LocationRequestPriority;
API declaration: LOW_POWER
Differences: LOW_POWER
api/@ohos.geoLocationManager.d.ts
New APINAClass name: LocationRequestPriority;
API declaration: FIRST_FIX
Differences: FIRST_FIX
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: export enum LocationRequestScenario
Differences: export enum LocationRequestScenario
api/@ohos.geoLocationManager.d.ts
New APINAClass name: LocationRequestScenario;
API declaration: UNSET = 0x300
Differences: UNSET = 0x300
api/@ohos.geoLocationManager.d.ts
New APINAClass name: LocationRequestScenario;
API declaration: NAVIGATION
Differences: NAVIGATION
api/@ohos.geoLocationManager.d.ts
New APINAClass name: LocationRequestScenario;
API declaration: TRAJECTORY_TRACKING
Differences: TRAJECTORY_TRACKING
api/@ohos.geoLocationManager.d.ts
New APINAClass name: LocationRequestScenario;
API declaration: CAR_HAILING
Differences: CAR_HAILING
api/@ohos.geoLocationManager.d.ts
New APINAClass name: LocationRequestScenario;
API declaration: DAILY_LIFE_SERVICE
Differences: DAILY_LIFE_SERVICE
api/@ohos.geoLocationManager.d.ts
New APINAClass name: LocationRequestScenario;
API declaration: NO_POWER
Differences: NO_POWER
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: export interface LocationCommand
Differences: export interface LocationCommand
api/@ohos.geoLocationManager.d.ts
New APINAClass name: LocationCommand;
API declaration: scenario: LocationRequestScenario;
Differences: scenario: LocationRequestScenario;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: LocationCommand;
API declaration: command: string;
Differences: command: string;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: export interface CountryCode
Differences: export interface CountryCode
api/@ohos.geoLocationManager.d.ts
New APINAClass name: CountryCode;
API declaration: country: string;
Differences: country: string;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: CountryCode;
API declaration: type: CountryCodeType;
Differences: type: CountryCodeType;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: export enum CountryCodeType
Differences: export enum CountryCodeType
api/@ohos.geoLocationManager.d.ts
New APINAClass name: CountryCodeType;
API declaration: COUNTRY_CODE_FROM_LOCALE = 1
Differences: COUNTRY_CODE_FROM_LOCALE = 1
api/@ohos.geoLocationManager.d.ts
New APINAClass name: CountryCodeType;
API declaration: COUNTRY_CODE_FROM_SIM
Differences: COUNTRY_CODE_FROM_SIM
api/@ohos.geoLocationManager.d.ts
New APINAClass name: CountryCodeType;
API declaration: COUNTRY_CODE_FROM_LOCATION
Differences: COUNTRY_CODE_FROM_LOCATION
api/@ohos.geoLocationManager.d.ts
New APINAClass name: CountryCodeType;
API declaration: COUNTRY_CODE_FROM_NETWORK
Differences: COUNTRY_CODE_FROM_NETWORK
api/@ohos.geoLocationManager.d.ts
New APINAClass name: global;
API declaration: export interface GeolocationResponse
Differences: export interface GeolocationResponse
api/@system.geolocation.d.ts
New APINAClass name: GeolocationResponse;
API declaration: longitude: number;
Differences: longitude: number;
api/@system.geolocation.d.ts
New APINAClass name: GeolocationResponse;
API declaration: latitude: number;
Differences: latitude: number;
api/@system.geolocation.d.ts
New APINAClass name: GeolocationResponse;
API declaration: altitude: number;
Differences: altitude: number;
api/@system.geolocation.d.ts
New APINAClass name: GeolocationResponse;
API declaration: accuracy: number;
Differences: accuracy: number;
api/@system.geolocation.d.ts
New APINAClass name: GeolocationResponse;
API declaration: time: number;
Differences: time: number;
api/@system.geolocation.d.ts
New APINAClass name: global;
API declaration: export interface GetLocationOption
Differences: export interface GetLocationOption
api/@system.geolocation.d.ts
New APINAClass name: GetLocationOption;
API declaration: timeout?: number;
Differences: timeout?: number;
api/@system.geolocation.d.ts
New APINAClass name: GetLocationOption;
API declaration: coordType?: string;
Differences: coordType?: string;
api/@system.geolocation.d.ts
New APINAClass name: GetLocationOption;
API declaration: success?: (data: GeolocationResponse) => void;
Differences: success?: (data: GeolocationResponse) => void;
api/@system.geolocation.d.ts
New APINAClass name: GetLocationOption;
API declaration: fail?: (data: string, code: number) => void;
Differences: fail?: (data: string, code: number) => void;
api/@system.geolocation.d.ts
New APINAClass name: GetLocationOption;
API declaration: complete?: () => void;
Differences: complete?: () => void;
api/@system.geolocation.d.ts
New APINAClass name: global;
API declaration: export interface GetLocationTypeResponse
Differences: export interface GetLocationTypeResponse
api/@system.geolocation.d.ts
New APINAClass name: GetLocationTypeResponse;
API declaration: types: Array<string>;
Differences: types: Array<string>;
api/@system.geolocation.d.ts
New APINAClass name: global;
API declaration: export interface GetLocationTypeOption
Differences: export interface GetLocationTypeOption
api/@system.geolocation.d.ts
New APINAClass name: GetLocationTypeOption;
API declaration: success?: (data: GetLocationTypeResponse) => void;
Differences: success?: (data: GetLocationTypeResponse) => void;
api/@system.geolocation.d.ts
New APINAClass name: GetLocationTypeOption;
API declaration: fail?: (data: string, code: number) => void;
Differences: fail?: (data: string, code: number) => void;
api/@system.geolocation.d.ts
New APINAClass name: GetLocationTypeOption;
API declaration: complete?: () => void;
Differences: complete?: () => void;
api/@system.geolocation.d.ts
New APINAClass name: global;
API declaration: export interface SubscribeLocationOption
Differences: export interface SubscribeLocationOption
api/@system.geolocation.d.ts
New APINAClass name: SubscribeLocationOption;
API declaration: coordType?: string;
Differences: coordType?: string;
api/@system.geolocation.d.ts
New APINAClass name: SubscribeLocationOption;
API declaration: success: (data: GeolocationResponse) => void;
Differences: success: (data: GeolocationResponse) => void;
api/@system.geolocation.d.ts
New APINAClass name: SubscribeLocationOption;
API declaration: fail?: (data: string, code: number) => void;
Differences: fail?: (data: string, code: number) => void;
api/@system.geolocation.d.ts
New APINAClass name: global;
API declaration: export default class Geolocation
Differences: export default class Geolocation
api/@system.geolocation.d.ts
New APINAClass name: Geolocation;
API declaration: static getLocation(options?: GetLocationOption): void;
Differences: static getLocation(options?: GetLocationOption): void;
api/@system.geolocation.d.ts
New APINAClass name: Geolocation;
API declaration: static getLocationType(options?: GetLocationTypeOption): void;
Differences: static getLocationType(options?: GetLocationTypeOption): void;
api/@system.geolocation.d.ts
New APINAClass name: Geolocation;
API declaration: static subscribe(options: SubscribeLocationOption): void;
Differences: static subscribe(options: SubscribeLocationOption): void;
api/@system.geolocation.d.ts
New APINAClass name: Geolocation;
API declaration: static unsubscribe(): void;
Differences: static unsubscribe(): void;
api/@system.geolocation.d.ts
New APINAClass name: Geolocation;
API declaration: static getSupportedCoordTypes(): Array<string>;
Differences: static getSupportedCoordTypes(): Array<string>;
api/@system.geolocation.d.ts
New KitClass name: global;
API declaration:
Differences: NA
Class name: global;
API declaration: api@ohos.geolocation.d.ts
Differences: LocationKit
api/@ohos.geolocation.d.ts
New KitClass name: global;
API declaration:
Differences: NA
Class name: global;
API declaration: api@ohos.geoLocationManager.d.ts
Differences: LocationKit
api/@ohos.geoLocationManager.d.ts
New KitClass name: global;
API declaration:
Differences: NA
Class name: global;
API declaration: api@system.geolocation.d.ts
Differences: LocationKit
api/@system.geolocation.d.ts
New KitClass name: global;
API declaration:
Differences: NA
Class name: global;
API declaration: kits@kit.LocationKit.d.ts
Differences: LocationKit
kits/@kit.LocationKit.d.ts

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 js-apidiff-ArkGraphics2D

openharmony 鸿蒙 js-apidiff-MediaKit

openharmony 鸿蒙 js-apidiff-InputKit

openharmony 鸿蒙 js-apidiff-BasicServicesKit

openharmony 鸿蒙 js-apidiff-ConnectivityKit

openharmony 鸿蒙 js-apidiff-ArkWeb

openharmony 鸿蒙 js-apidiff-MultimodalAwarenessKit

openharmony 鸿蒙 js-apidiff-ArkData

openharmony 鸿蒙 js-apidiff-NA

openharmony 鸿蒙 js-apidiff-IPCKit

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/ipHET7Pa