Lines Matching refs:geolocation

5 @ohos.geolocation.d.ts接口不支持抛出错误码,而API9和systemApi都需要支持抛出错误码,为了支持该功能,把@ohos.geolocation.d.ts中systemAp…
24 |geolocation| namespace | declare namespacegeolocation| API9接口变更,迁移到@ohos.geoLocationManager.d.ts |
25 |geolocation | interface | export interface ReverseGeocodingMockInfo | API9接口变更,迁移到@ohos.geoLocati…
26 |geolocation | interface | export interface LocationMockConfig | API9接口变更,迁移到@ohos.geoLocationMana…
27 |geolocation | interface | export interface CountryCode | API9接口变更,迁移到@ohos.geoLocationManager.d.…
28 |geolocation | enum | export enum CountryCodeType | API9接口变更,迁移到@ohos.geoLocationManager.d.ts |
29 |geolocation.GeoAddress | field | isFromMock?: Boolean; | API9接口变更,迁移到@ohos.geoLocationManager.d.ts…
30 |geolocation.Location | field | isFromMock?: Boolean; | API9接口变更,迁移到@ohos.geoLocationManager.d.ts …
31 |geolocation.GeoLocationErrorCode | field | NOT_SUPPORTED = 100 | API9接口变更,迁移到@ohos.geoLocationMan…
32 |geolocation.GeoLocationErrorCode | field | QUERY_COUNTRY_CODE_ERROR | API9接口变更,迁移到@ohos.geoLocati…
33 |geolocation| method | function on(type: 'countryCodeChange', callback: Callback<CountryCode>…
34 |geolocation| method | function off(type: 'countryCodeChange', callback?: Callback<CountryCode&g…
35 |geolocation| method | function getCountryCode(callback: AsyncCallback<CountryCode>): void; |…
36 |geolocation| method | function getCountryCode(): Promise<CountryCode>; | API9接口变更,迁移到@ohos.g…
37 |geolocation| method | function enableLocationMock(scenario: LocationRequestScenario, callback: Asy…
38 |geolocation| method | function enableLocationMock(callback: AsyncCallback<void>): void; | AP…
39 |geolocation| method | function enableLocationMock(scenario: LocationRequestScenario): Promise<v…
40 |geolocation| method | function enableLocationMock(): Promise<void>; | API9接口变更,迁移到@ohos.geo…
41 |geolocation| method | function disableLocationMock(scenario: LocationRequestScenario, callback: As…
42 |geolocation| method | function disableLocationMock(callback: AsyncCallback<void>): void; | A…
43 |geolocation| method | function disableLocationMock(scenario: LocationRequestScenario): Promise<…
44 |geolocation| method | function disableLocationMock(): Promise<void>; | API9接口变更,迁移到@ohos.geo…
45 |geolocation| method | function setMockedLocations(config: LocationMockConfig, callback: AsyncCallb…
46 |geolocation| method | function setMockedLocations(config: LocationMockConfig): Promise<void>…
47 |geolocation| method | function enableReverseGeocodingMock(callback: AsyncCallback<void>): vo…
48 |geolocation| method | function enableReverseGeocodingMock(): Promise<void>; | API9接口变更,迁移到@o…
49 |geolocation| method | function disableReverseGeocodingMock(callback: AsyncCallback<void>): v…
50 |geolocation| method | function disableReverseGeocodingMock(): Promise<void>; | API9接口变更,迁移到@…
51 |geolocation| method | function setReverseGeocodingMockInfo(mockInfos: Array<ReverseGeocodingMoc…
52 |geolocation| method | function setReverseGeocodingMockInfo(mockInfos: Array<ReverseGeocodingMoc…
53 |geolocation| method | function isLocationPrivacyConfirmed(type: LocationPrivacyType, callback: Asy…
54 |geolocation| method | function isLocationPrivacyConfirmed(type: LocationPrivacyType): Promise<b…
55 |geolocation| method | function setLocationPrivacyConfirmStatus(type: LocationPrivacyType, isConfir…
56 |geolocation| method | function setLocationPrivacyConfirmStatus(type: LocationPrivacyType, isConfir…
116 如果使用的API版本大于等于9,则在使用@ohos.geolocation和@ohos.geoLocationManager中需要ohos.permission.LOCATION权限的接口时,都需要…