渠道号获取接口支持元服务

Signed-off-by: 谢凯明 <xiekaiming2@huawei.com>
This commit is contained in:
谢凯明 2024-09-10 06:35:01 +00:00
parent c1f0272727
commit 9a2d9cbf4f

View File

@ -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;
}