Home
last modified time | relevance | path

Searched refs:CountryCode (Results 1 – 25 of 41) sorted by relevance

12

/ohos5.0/base/location/interfaces/inner_api/include/
H A Dcountry_code.h28 class CountryCode : public Parcelable {
30 CountryCode() in CountryCode() function
36 explicit CountryCode(CountryCode& country) in CountryCode() function
42 ~CountryCode() override = default;
44 inline bool IsSame(CountryCode& country) const in IsSame()
87 static std::shared_ptr<CountryCode> Unmarshalling(Parcel& parcel) in Unmarshalling()
89 auto country = std::make_shared<CountryCode>(); in Unmarshalling()
H A Dcountry_code_manager.h39 std::shared_ptr<CountryCode> GetIsoCountryCode();
82 std::shared_ptr<CountryCode> lastCountryByLocation_;
83 std::shared_ptr<CountryCode> lastCountry_;
H A Di_country_code_callback.h36 virtual void OnCountryCodeChange(const std::shared_ptr<CountryCode>& country) = 0;
H A Dlocator.h70 virtual std::shared_ptr<CountryCode> GetIsoCountryCode() = 0;
107 virtual LocationErrCode GetIsoCountryCodeV9(std::shared_ptr<CountryCode>& countryCode) = 0;
H A Dlocator_impl.h252 std::shared_ptr<CountryCode> GetIsoCountryCode();
519 LocationErrCode GetIsoCountryCodeV9(std::shared_ptr<CountryCode>& countryCode);
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta2/
H A Djs-apidiff-geolocation.md13 | ohos.geolocation | CountryCode | type: CountryCodeType; | 新增 |
14 | ohos.geolocation | CountryCode | country: string; | 新增 |
29 …n | getCountryCode(callback: AsyncCallback\<CountryCode>) : void;<br>getCountryCode() : Promise\<C…
30 | ohos.geolocation | geolocation | off(type: 'countryCodeChange', callback?: Callback\<CountryCode>…
31 | ohos.geolocation | geolocation | on(type: 'countryCodeChange', callback: Callback\<CountryCode>) …
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta2/
H A Djs-apidiff-geolocation.md13 | ohos.geolocation | CountryCode | type: CountryCodeType; | Added|
14 | ohos.geolocation | CountryCode | country: string; | Added|
29 …n | getCountryCode(callback: AsyncCallback\<CountryCode>) : void;<br>getCountryCode() : Promise\<C…
30 | ohos.geolocation | geolocation | off(type: 'countryCodeChange', callback?: Callback\<CountryCode>…
31 | ohos.geolocation | geolocation | on(type: 'countryCodeChange', callback: Callback\<CountryCode>) …
/ohos5.0/base/location/frameworks/native/locator_sdk/source/
H A Dcountry_code_callback_host.cpp32 auto countryCodePtr = CountryCode::Unmarshalling(data); in OnRemoteRequest()
44 void CountryCodeCallbackHost::OnCountryCodeChange(const std::shared_ptr<CountryCode>& country) in OnCountryCodeChange()
H A Dcountry_code_manager.cpp43 lastCountryByLocation_ = std::make_shared<CountryCode>(); in CountryCodeManager()
44 lastCountry_ = std::make_shared<CountryCode>(); in CountryCodeManager()
61 auto country = std::make_shared<CountryCode>(*lastCountry_); in NotifyAllListener()
213 std::shared_ptr<CountryCode> CountryCodeManager::GetIsoCountryCode() in GetIsoCountryCode()
248 CountryCode country; in GetIsoCountryCode()
346 CountryCode country; in OnLocationReport()
/ohos5.0/base/location/frameworks/js/napi/include/
H A Dcountry_code_callback_napi.h36 void OnCountryCodeChange(const std::shared_ptr<CountryCode>& country) override;
37 bool Send(const std::shared_ptr<CountryCode>& country);
H A Dnapi_util.h80 void CountryCodeToJs(const napi_env& env, const std::shared_ptr<CountryCode>& country, napi_value& …
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.3/
H A Dchangelogs-geolocation.md27 |geolocation | interface | export interface CountryCode | API9接口变更,迁移到@ohos.geoLocationManager.d.…
33 |geolocation| method | function on(type: 'countryCodeChange', callback: Callback&lt;CountryCode&gt;…
34 |geolocation| method | function off(type: 'countryCodeChange', callback?: Callback&lt;CountryCode&g…
35 |geolocation| method | function getCountryCode(callback: AsyncCallback&lt;CountryCode&gt;): void; |…
36 |geolocation| method | function getCountryCode(): Promise&lt;CountryCode&gt;; | API9接口变更,迁移到@ohos.g…
/ohos5.0/base/location/frameworks/js/napi/source/
H A Dcountry_code_callback_napi.cpp50 auto countryCodePtr = CountryCode::Unmarshalling(data); in OnRemoteRequest()
83 bool CountryCodeCallbackNapi::Send(const std::shared_ptr<CountryCode>& country) in Send()
183 void CountryCodeCallbackNapi::OnCountryCodeChange(const std::shared_ptr<CountryCode>& country) in OnCountryCodeChange()
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_3.2.8.3/
H A Dchangelogs-geolocation.md27 |geolocation | interface | export interface CountryCode | Migrated this API in API version 9 to *…
33 |geolocation| method | function on(type: 'countryCodeChange', callback: Callback&lt;CountryCode&gt;…
34 |geolocation| method | function off(type: 'countryCodeChange', callback?: Callback&lt;CountryCode&g…
35 |geolocation| method | function getCountryCode(callback: AsyncCallback&lt;CountryCode&gt;): void; |…
36 |geolocation| method | function getCountryCode(): Promise&lt;CountryCode&gt;; | Migrated this API i…
/ohos5.0/base/location/services/location_locator/callback/include/
H A Dcountry_code_callback_proxy.h31 void OnCountryCodeChange(const std::shared_ptr<CountryCode>& country) override;
/ohos5.0/base/location/frameworks/native/locator_sdk/include/
H A Dcountry_code_callback_host.h29 void OnCountryCodeChange(const std::shared_ptr<CountryCode>& country) override;
/ohos5.0/base/location/services/location_locator/callback/source/
H A Dcountry_code_callback_proxy.cpp30 void CountryCodeCallbackProxy::OnCountryCodeChange(const std::shared_ptr<CountryCode>& country) in OnCountryCodeChange()
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta4/
H A Djs-apidiff-geolocation.md128 |新增|NA|模块名: ohos.geoLocationManager<br>类名: CountryCode|@ohos.geoLocationManager.d.ts|
129 |新增|NA|模块名: ohos.geoLocationManager<br>类名: CountryCode<br>方法名 or 属性名: country|@ohos.geoLocationMana…
130 |新增|NA|模块名: ohos.geoLocationManager<br>类名: CountryCode<br>方法名 or 属性名: type|@ohos.geoLocationManager…
166 |删除|模块名: ohos.geolocation<br>类名: CountryCode|NA|@ohos.geolocation.d.ts|
167 |删除|模块名: ohos.geolocation<br>类名: CountryCode<br>方法名 or 属性名:country|NA|@ohos.geolocation.d.ts|
168 |删除|模块名: ohos.geolocation<br>类名: CountryCode<br>方法名 or 属性名:type|NA|@ohos.geolocation.d.ts|
/ohos5.0/docs/zh-cn/release-notes/api-diff/monthly-202210/
H A Djs-apidiff-geolocation.md128 |新增|NA|模块名: ohos.geoLocationManager<br>类名: CountryCode|@ohos.geoLocationManager.d.ts|
129 |新增|NA|模块名: ohos.geoLocationManager<br>类名: CountryCode<br>方法名 or 属性名: country|@ohos.geoLocationMana…
130 |新增|NA|模块名: ohos.geoLocationManager<br>类名: CountryCode<br>方法名 or 属性名: type|@ohos.geoLocationManager…
166 |删除|模块名: ohos.geolocation<br>类名: CountryCode|NA|@ohos.geolocation.d.ts|
167 |删除|模块名: ohos.geolocation<br>类名: CountryCode<br>方法名 or 属性名:country|NA|@ohos.geolocation.d.ts|
168 |删除|模块名: ohos.geolocation<br>类名: CountryCode<br>方法名 or 属性名:type|NA|@ohos.geolocation.d.ts|
/ohos5.0/base/location/test/location_locator/source/
H A Dcountry_code_manager_test.cpp33 countryCodeManager->lastCountryByLocation_ = std::make_shared<CountryCode>(); in TearDown()
34 countryCodeManager->lastCountry_ = std::make_shared<CountryCode>(); in TearDown()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-location-kit/
H A Djs-apis-geoLocationManager.md267 ## CountryCode section
1181 on(type: 'countryCodeChange', callback: Callback&lt;CountryCode&gt;): void
1192 | callback | Callback&lt;[CountryCode](#countrycode)&gt; | 是 | 回调函数,返回国家码信息。 |
1211 let callback = (code:geoLocationManager.CountryCode):void => {
1225 off(type: 'countryCodeChange', callback?: Callback&lt;CountryCode&gt;): void
1236 …| callback | Callback&lt;[CountryCode](#countrycode)&gt; | 否 | 需要取消订阅的回调函数。该回调函数需要与on接口传入的回调函数保持一致…
1254 let callback = (code:geoLocationManager.CountryCode):void => {
2043 getCountryCode(callback: AsyncCallback&lt;CountryCode&gt;): void
2053 | callback | AsyncCallback&lt;[CountryCode](#countrycode)&gt; | 是 | 回调函数,返回国家码信息。 |
2087 getCountryCode(): Promise&lt;CountryCode&gt;
[all …]
/ohos5.0/docs/en/release-notes/api-diff/monthly-202210/
H A Djs-apidiff-geolocation.md128 |Added|NA|Module name: ohos.geoLocationManager<br>Class name: CountryCode|@ohos.geoLocationManager.…
129 |Added|NA|Module name: ohos.geoLocationManager<br>Class name: CountryCode<br>Method or attribute na…
130 |Added|NA|Module name: ohos.geoLocationManager<br>Class name: CountryCode<br>Method or attribute na…
166 |Deleted|Module name: ohos.geolocation<br>Class name: CountryCode|NA|@ohos.geolocation.d.ts|
167 |Deleted|Module name: ohos.geolocation<br>Class name: CountryCode<br>Method or attribute name: coun…
168 |Deleted|Module name: ohos.geolocation<br>Class name: CountryCode<br>Method or attribute name: type…
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta4/
H A Djs-apidiff-geolocation.md128 |Added|NA|Module name: ohos.geoLocationManager<br>Class name: CountryCode|@ohos.geoLocationManager.…
129 |Added|NA|Module name: ohos.geoLocationManager<br>Class name: CountryCode<br>Method or attribute na…
130 |Added|NA|Module name: ohos.geoLocationManager<br>Class name: CountryCode<br>Method or attribute na…
166 |Deleted|Module name: ohos.geolocation<br>Class name: CountryCode|NA|@ohos.geolocation.d.ts|
167 |Deleted|Module name: ohos.geolocation<br>Class name: CountryCode<br>Method or attribute name: coun…
168 |Deleted|Module name: ohos.geolocation<br>Class name: CountryCode<br>Method or attribute name: type…
/ohos5.0/base/location/test/fuzztest/locator/locator_fuzzer/
H A Dlocator_fuzzer.cpp156 auto countryCodePtr = CountryCode::Unmarshalling(request); in CountryCodeCallbackHostFuzzerTest()
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta5/
H A Djs-apidiff-geolocation.md168 |起始版本有变化|类名:CountryCode<br>方法 or 属性:country: string;<br>起始版本:N/A|类名:CountryCode<br>方法 or 属性:country…
169 |起始版本有变化|类名:CountryCode<br>方法 or 属性:type: CountryCodeType;<br>起始版本:N/A|类名:CountryCode<br>方法 or 属性:t…
175 |新增(错误码)|NA|类名:geoLocationManager<br>方法 or 属性:function getCountryCode(): Promise<CountryCode>;<br>错…

12