mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 07:10:52 +00:00
渠道号获取接口支持元服务
Signed-off-by: 谢凯明 <xiekaiming2@huawei.com>
This commit is contained in:
parent
c1f0272727
commit
9a2d9cbf4f
18
api/@ohos.customization.customConfig.d.ts
vendored
18
api/@ohos.customization.customConfig.d.ts
vendored
@ -25,15 +25,31 @@
|
||||
* @syscap SystemCapability.Customization.CustomConfig
|
||||
* @since 12
|
||||
*/
|
||||
/**
|
||||
* Provides cust config APIS.
|
||||
*
|
||||
* @namespace customConfig
|
||||
* @syscap SystemCapability.Customization.CustomConfig
|
||||
* @atomicservice
|
||||
* @since 13
|
||||
*/
|
||||
declare namespace customConfig {
|
||||
|
||||
/**
|
||||
* Gets the channelId of the app.
|
||||
*
|
||||
* @returns { string } the channelId or empty if not exsit.
|
||||
* @returns { string } the channelId or empty if not exist.
|
||||
* @syscap SystemCapability.Customization.CustomConfig
|
||||
* @since 12
|
||||
*/
|
||||
/**
|
||||
* Gets the channelId of the app.
|
||||
*
|
||||
* @returns { string } the channelId or empty if not exist.
|
||||
* @syscap SystemCapability.Customization.CustomConfig
|
||||
* @atomicservice
|
||||
* @since 13
|
||||
*/
|
||||
function getChannelId(): string;
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user