openharmony 鸿蒙 js-apidiff-LocationKit

2026-08-25 浏览 (1)

Change TypeOld VersionNew Versiond.ts File
syscap changeClass name: global;
API declaration: declare namespace geoLocationManager
Differences: NA
Class name: global;
API declaration: declare namespace geoLocationManager
Differences: SystemCapability.Location.Location.Core
api/@ohos.geoLocationManager.d.ts
Function changeClass name: geoLocationManager;
API declaration: function on(type: 'locationChange', request: LocationRequest, callback: Callback<Location>): void;
Differences: request: LocationRequest
Class name: geoLocationManager;
API declaration: function on(type: 'locationChange', request: LocationRequest |ContinuousLocationRequest, callback: Callback<Location>): void;
Differences: request: LocationRequest |ContinuousLocationRequest
api/@ohos.geoLocationManager.d.ts
Function changeClass name: geoLocationManager;
API declaration: function getCurrentLocation(request: CurrentLocationRequest, callback: AsyncCallback<Location>): void;
Differences: request: CurrentLocationRequest
Class name: geoLocationManager;
API declaration: function getCurrentLocation(request: CurrentLocationRequest |SingleLocationRequest, callback: AsyncCallback<Location>): void;
Differences: request: CurrentLocationRequest |SingleLocationRequest
api/@ohos.geoLocationManager.d.ts
Function changeClass name: geoLocationManager;
API declaration: function getCurrentLocation(request?: CurrentLocationRequest): Promise<Location>;
Differences: request?: CurrentLocationRequest
Class name: geoLocationManager;
API declaration: function getCurrentLocation(request?: CurrentLocationRequest |SingleLocationRequest): Promise<Location>;
Differences: request?: CurrentLocationRequest |SingleLocationRequest
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: function on(type: 'locationError', callback: Callback<LocationError>): void;
Differences: function on(type: 'locationError', callback: Callback<LocationError>): void;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: function off(type: 'locationError', callback?: Callback<LocationError>): void;
Differences: function off(type: 'locationError', callback?: Callback<LocationError>): void;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: function addGnssGeofence(fenceRequest: GnssGeofenceRequest): Promise<number>;
Differences: function addGnssGeofence(fenceRequest: GnssGeofenceRequest): Promise<number>;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: function removeGnssGeofence(geofenceId: number): Promise<void>;
Differences: function removeGnssGeofence(geofenceId: number): Promise<void>;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: function getGeofenceSupportedCoordTypes(): Array<CoordinateSystemType>;
Differences: function getGeofenceSupportedCoordTypes(): Array<CoordinateSystemType>;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: SatelliteStatusInfo;
API declaration: satelliteConstellation?: Array<SatelliteConstellationCategory>;
Differences: satelliteConstellation?: Array<SatelliteConstellationCategory>;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: SatelliteStatusInfo;
API declaration: satelliteAdditionalInfo?: Array<number>;
Differences: satelliteAdditionalInfo?: Array<number>;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: export interface GnssGeofenceRequest
Differences: export interface GnssGeofenceRequest
api/@ohos.geoLocationManager.d.ts
New APINAClass name: GnssGeofenceRequest;
API declaration: geofence: Geofence;
Differences: geofence: Geofence;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: GnssGeofenceRequest;
API declaration: monitorTransitionEvents: Array<GeofenceTransitionEvent>;
Differences: monitorTransitionEvents: Array<GeofenceTransitionEvent>;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: GnssGeofenceRequest;
API declaration: notifications?: Array<NotificationRequest>;
Differences: notifications?: Array<NotificationRequest>;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: GnssGeofenceRequest;
API declaration: geofenceTransitionCallback: AsyncCallback<GeofenceTransition>;
Differences: geofenceTransitionCallback: AsyncCallback<GeofenceTransition>;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: Geofence;
API declaration: coordinateSystemType?: CoordinateSystemType;
Differences: coordinateSystemType?: CoordinateSystemType;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: ReverseGeoCodeRequest;
API declaration: country?: string;
Differences: country?: string;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: GeoCodeRequest;
API declaration: country?: string;
Differences: country?: string;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: export interface GeofenceTransition
Differences: export interface GeofenceTransition
api/@ohos.geoLocationManager.d.ts
New APINAClass name: GeofenceTransition;
API declaration: geofenceId: number;
Differences: geofenceId: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: GeofenceTransition;
API declaration: transitionEvent: GeofenceTransitionEvent;
Differences: transitionEvent: GeofenceTransitionEvent;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: export interface ContinuousLocationRequest
Differences: export interface ContinuousLocationRequest
api/@ohos.geoLocationManager.d.ts
New APINAClass name: ContinuousLocationRequest;
API declaration: interval: number;
Differences: interval: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: ContinuousLocationRequest;
API declaration: locationScenario: UserActivityScenario |PowerConsumptionScenario;
Differences: locationScenario: UserActivityScenario |PowerConsumptionScenario;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: export interface SingleLocationRequest
Differences: export interface SingleLocationRequest
api/@ohos.geoLocationManager.d.ts
New APINAClass name: SingleLocationRequest;
API declaration: locatingPriority: LocatingPriority;
Differences: locatingPriority: LocatingPriority;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: SingleLocationRequest;
API declaration: locatingTimeoutMs: number;
Differences: locatingTimeoutMs: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: Location;
API declaration: additionsMap?: Map<string, string>;
Differences: additionsMap?: Map<string, string>;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: Location;
API declaration: altitudeAccuracy?: number;
Differences: altitudeAccuracy?: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: Location;
API declaration: speedAccuracy?: number;
Differences: speedAccuracy?: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: Location;
API declaration: directionAccuracy?: number;
Differences: directionAccuracy?: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: Location;
API declaration: uncertaintyOfTimeSinceBoot?: number;
Differences: uncertaintyOfTimeSinceBoot?: number;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: Location;
API declaration: sourceType?: LocationSourceType;
Differences: sourceType?: LocationSourceType;
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: export enum LocationSourceType
Differences: export enum LocationSourceType
api/@ohos.geoLocationManager.d.ts
New APINAClass name: LocationSourceType;
API declaration: GNSS = 1
Differences: GNSS = 1
api/@ohos.geoLocationManager.d.ts
New APINAClass name: LocationSourceType;
API declaration: NETWORK = 2
Differences: NETWORK = 2
api/@ohos.geoLocationManager.d.ts
New APINAClass name: LocationSourceType;
API declaration: INDOOR = 3
Differences: INDOOR = 3
api/@ohos.geoLocationManager.d.ts
New APINAClass name: LocationSourceType;
API declaration: RTK = 4
Differences: RTK = 4
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: export enum CoordinateSystemType
Differences: export enum CoordinateSystemType
api/@ohos.geoLocationManager.d.ts
New APINAClass name: CoordinateSystemType;
API declaration: WGS84 = 1
Differences: WGS84 = 1
api/@ohos.geoLocationManager.d.ts
New APINAClass name: CoordinateSystemType;
API declaration: GCJ02 = 2
Differences: GCJ02 = 2
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: export enum LocationError
Differences: export enum LocationError
api/@ohos.geoLocationManager.d.ts
New APINAClass name: LocationError;
API declaration: LOCATING_FAILED_DEFAULT = -1
Differences: LOCATING_FAILED_DEFAULT = -1
api/@ohos.geoLocationManager.d.ts
New APINAClass name: LocationError;
API declaration: LOCATING_FAILED_LOCATION_PERMISSION_DENIED = -2
Differences: LOCATING_FAILED_LOCATION_PERMISSION_DENIED = -2
api/@ohos.geoLocationManager.d.ts
New APINAClass name: LocationError;
API declaration: LOCATING_FAILED_BACKGROUND_PERMISSION_DENIED = -3
Differences: LOCATING_FAILED_BACKGROUND_PERMISSION_DENIED = -3
api/@ohos.geoLocationManager.d.ts
New APINAClass name: LocationError;
API declaration: LOCATING_FAILED_LOCATION_SWITCH_OFF = -4
Differences: LOCATING_FAILED_LOCATION_SWITCH_OFF = -4
api/@ohos.geoLocationManager.d.ts
New APINAClass name: LocationError;
API declaration: LOCATING_FAILED_INTERNET_ACCESS_FAILURE = -5
Differences: LOCATING_FAILED_INTERNET_ACCESS_FAILURE = -5
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: export enum GeofenceTransitionEvent
Differences: export enum GeofenceTransitionEvent
api/@ohos.geoLocationManager.d.ts
New APINAClass name: GeofenceTransitionEvent;
API declaration: GEOFENCE_TRANSITION_EVENT_ENTER = 1
Differences: GEOFENCE_TRANSITION_EVENT_ENTER = 1
api/@ohos.geoLocationManager.d.ts
New APINAClass name: GeofenceTransitionEvent;
API declaration: GEOFENCE_TRANSITION_EVENT_EXIT = 2
Differences: GEOFENCE_TRANSITION_EVENT_EXIT = 2
api/@ohos.geoLocationManager.d.ts
New APINAClass name: GeofenceTransitionEvent;
API declaration: GEOFENCE_TRANSITION_EVENT_DWELL = 4
Differences: GEOFENCE_TRANSITION_EVENT_DWELL = 4
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: export enum SatelliteConstellationCategory
Differences: export enum SatelliteConstellationCategory
api/@ohos.geoLocationManager.d.ts
New APINAClass name: SatelliteConstellationCategory;
API declaration: CONSTELLATION_CATEGORY_UNKNOWN = 0
Differences: CONSTELLATION_CATEGORY_UNKNOWN = 0
api/@ohos.geoLocationManager.d.ts
New APINAClass name: SatelliteConstellationCategory;
API declaration: CONSTELLATION_CATEGORY_GPS = 1
Differences: CONSTELLATION_CATEGORY_GPS = 1
api/@ohos.geoLocationManager.d.ts
New APINAClass name: SatelliteConstellationCategory;
API declaration: CONSTELLATION_CATEGORY_SBAS = 2
Differences: CONSTELLATION_CATEGORY_SBAS = 2
api/@ohos.geoLocationManager.d.ts
New APINAClass name: SatelliteConstellationCategory;
API declaration: CONSTELLATION_CATEGORY_GLONASS = 3
Differences: CONSTELLATION_CATEGORY_GLONASS = 3
api/@ohos.geoLocationManager.d.ts
New APINAClass name: SatelliteConstellationCategory;
API declaration: CONSTELLATION_CATEGORY_QZSS = 4
Differences: CONSTELLATION_CATEGORY_QZSS = 4
api/@ohos.geoLocationManager.d.ts
New APINAClass name: SatelliteConstellationCategory;
API declaration: CONSTELLATION_CATEGORY_BEIDOU = 5
Differences: CONSTELLATION_CATEGORY_BEIDOU = 5
api/@ohos.geoLocationManager.d.ts
New APINAClass name: SatelliteConstellationCategory;
API declaration: CONSTELLATION_CATEGORY_GALILEO = 6
Differences: CONSTELLATION_CATEGORY_GALILEO = 6
api/@ohos.geoLocationManager.d.ts
New APINAClass name: SatelliteConstellationCategory;
API declaration: CONSTELLATION_CATEGORY_IRNSS = 7
Differences: CONSTELLATION_CATEGORY_IRNSS = 7
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: export enum SatelliteAdditionalInfo
Differences: export enum SatelliteAdditionalInfo
api/@ohos.geoLocationManager.d.ts
New APINAClass name: SatelliteAdditionalInfo;
API declaration: SATELLITES_ADDITIONAL_INFO_NULL = 0
Differences: SATELLITES_ADDITIONAL_INFO_NULL = 0
api/@ohos.geoLocationManager.d.ts
New APINAClass name: SatelliteAdditionalInfo;
API declaration: SATELLITES_ADDITIONAL_INFO_EPHEMERIS_DATA_EXIST = 1
Differences: SATELLITES_ADDITIONAL_INFO_EPHEMERIS_DATA_EXIST = 1
api/@ohos.geoLocationManager.d.ts
New APINAClass name: SatelliteAdditionalInfo;
API declaration: SATELLITES_ADDITIONAL_INFO_ALMANAC_DATA_EXIST = 2
Differences: SATELLITES_ADDITIONAL_INFO_ALMANAC_DATA_EXIST = 2
api/@ohos.geoLocationManager.d.ts
New APINAClass name: SatelliteAdditionalInfo;
API declaration: SATELLITES_ADDITIONAL_INFO_USED_IN_FIX = 4
Differences: SATELLITES_ADDITIONAL_INFO_USED_IN_FIX = 4
api/@ohos.geoLocationManager.d.ts
New APINAClass name: SatelliteAdditionalInfo;
API declaration: SATELLITES_ADDITIONAL_INFO_CARRIER_FREQUENCY_EXIST = 8
Differences: SATELLITES_ADDITIONAL_INFO_CARRIER_FREQUENCY_EXIST = 8
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: export enum UserActivityScenario
Differences: export enum UserActivityScenario
api/@ohos.geoLocationManager.d.ts
New APINAClass name: UserActivityScenario;
API declaration: NAVIGATION = 0x401
Differences: NAVIGATION = 0x401
api/@ohos.geoLocationManager.d.ts
New APINAClass name: UserActivityScenario;
API declaration: SPORT = 0x402
Differences: SPORT = 0x402
api/@ohos.geoLocationManager.d.ts
New APINAClass name: UserActivityScenario;
API declaration: TRANSPORT = 0x403
Differences: TRANSPORT = 0x403
api/@ohos.geoLocationManager.d.ts
New APINAClass name: UserActivityScenario;
API declaration: DAILY_LIFE_SERVICE = 0x404
Differences: DAILY_LIFE_SERVICE = 0x404
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: export enum LocatingPriority
Differences: export enum LocatingPriority
api/@ohos.geoLocationManager.d.ts
New APINAClass name: LocatingPriority;
API declaration: PRIORITY_ACCURACY = 0x501
Differences: PRIORITY_ACCURACY = 0x501
api/@ohos.geoLocationManager.d.ts
New APINAClass name: LocatingPriority;
API declaration: PRIORITY_LOCATING_SPEED = 0x502
Differences: PRIORITY_LOCATING_SPEED = 0x502
api/@ohos.geoLocationManager.d.ts
New APINAClass name: geoLocationManager;
API declaration: export enum PowerConsumptionScenario
Differences: export enum PowerConsumptionScenario
api/@ohos.geoLocationManager.d.ts
New APINAClass name: PowerConsumptionScenario;
API declaration: HIGH_POWER_CONSUMPTION = 0x601
Differences: HIGH_POWER_CONSUMPTION = 0x601
api/@ohos.geoLocationManager.d.ts
New APINAClass name: PowerConsumptionScenario;
API declaration: LOW_POWER_CONSUMPTION = 0x602
Differences: LOW_POWER_CONSUMPTION = 0x602
api/@ohos.geoLocationManager.d.ts
New APINAClass name: PowerConsumptionScenario;
API declaration: NO_POWER_CONSUMPTION = 0x603
Differences: NO_POWER_CONSUMPTION = 0x603
api/@ohos.geoLocationManager.d.ts

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 js-apidiff-ArkGraphics2D

openharmony 鸿蒙 js-apidiff-ArkGraphics3D

openharmony 鸿蒙 js-apidiff-MediaKit

openharmony 鸿蒙 js-apidiff-InputKit

openharmony 鸿蒙 js-apidiff-BasicServicesKit

openharmony 鸿蒙 js-apidiff-ConnectivityKit

openharmony 鸿蒙 js-apidiff-ArkWeb

openharmony 鸿蒙 js-apidiff-ArkData

openharmony 鸿蒙 js-apidiff-NA

openharmony 鸿蒙 js-apidiff-IPCKit

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