Lines Matching refs:API9
3 ## cl.location.1 系统API和API9接口迁移到新增的@ohos.geoLocationManager.d.ts
5 @ohos.geolocation.d.ts接口不支持抛出错误码,而API9和systemApi都需要支持抛出错误码,为了支持该功能,把@ohos.geolocation.d.ts中systemAp…
7 后续需要import @ohos.geoLocationManager才能使用位置服务的系统API和API9接口:
14 仅对系统API和API9所有接口的使用有影响,需要import @ohos.geoLocationManager才能使用位置服务的系统API和API9接口:
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 …ype: 'countryCodeChange', callback: Callback<CountryCode>): void; | API9接口变更,迁移到@ohos.geoLoc…
34 …pe: 'countryCodeChange', callback?: Callback<CountryCode>): void; | API9接口变更,迁移到@ohos.geoLoc…
35 …ction getCountryCode(callback: AsyncCallback<CountryCode>): void; | API9接口变更,迁移到@ohos.geoLoc…
36 |geolocation| method | function getCountryCode(): Promise<CountryCode>; | API9接口变更,迁移到@ohos.g…
37 …scenario: LocationRequestScenario, callback: AsyncCallback<void>): void; | API9接口变更,该接口删除。 |
38 …function enableLocationMock(callback: AsyncCallback<void>): void; | API9接口变更,迁移到@ohos.geoLoc…
39 …on enableLocationMock(scenario: LocationRequestScenario): Promise<void>; | API9接口变更,该接口删除。 |
40 |geolocation| method | function enableLocationMock(): Promise<void>; | API9接口变更,迁移到@ohos.geo…
41 …scenario: LocationRequestScenario, callback: AsyncCallback<void>): void; | API9接口变更,该接口删除。 |
42 …unction disableLocationMock(callback: AsyncCallback<void>): void; | API9接口变更,迁移到@ohos.geoLoc…
43 …n disableLocationMock(scenario: LocationRequestScenario): Promise<void>; | API9接口变更,该接口删除。 |
44 |geolocation| method | function disableLocationMock(): Promise<void>; | API9接口变更,迁移到@ohos.geo…
45 …config: LocationMockConfig, callback: AsyncCallback<void>): void; | API9接口变更,迁移到@ohos.geoLoc…
46 …on setMockedLocations(config: LocationMockConfig): Promise<void>; | API9接口变更,迁移到@ohos.geoLoc…
47 … enableReverseGeocodingMock(callback: AsyncCallback<void>): void; | API9接口变更,迁移到@ohos.geoLoc…
48 |geolocation| method | function enableReverseGeocodingMock(): Promise<void>; | API9接口变更,迁移到@o…
49 …disableReverseGeocodingMock(callback: AsyncCallback<void>): void; | API9接口变更,迁移到@ohos.geoLoc…
50 |geolocation| method | function disableReverseGeocodingMock(): Promise<void>; | API9接口变更,迁移到@…
51 …verseGeocodingMockInfo>, callback: AsyncCallback<void>): void; | API9接口变更,迁移到@ohos.geoLoc…
52 …mockInfos: Array<ReverseGeocodingMockInfo>): Promise<void>; | API9接口变更,迁移到@ohos.geoLoc…
53 …pe: LocationPrivacyType, callback: AsyncCallback<boolean>): void; | API9接口变更,迁移到@ohos.geoLoc…
54 …ionPrivacyConfirmed(type: LocationPrivacyType): Promise<boolean>; | API9接口变更,迁移到@ohos.geoLoc…
55 …e, isConfirmed: boolean, callback: AsyncCallback<boolean>): void; | API9接口变更,迁移到@ohos.geoLoc…
56 …pe: LocationPrivacyType, isConfirmed: boolean): Promise<boolean>; | API9接口变更,迁移到@ohos.geoLoc…
77 从API9开始,增加ohos.permission.APPROXIMATELY_LOCATION,表示模糊位置权限。
97 API9之前的版本,申请ohos.permission.LOCATION即可。
99 API9及之后的版本,需要申请ohos.permission.APPROXIMATELY_LOCATION或者同时申请ohos.permission.APPROXIMATELY_LOCATION和o…