add oaid api

Signed-off-by: chenshuai <chenshuai3@huawei.com>
This commit is contained in:
chenshuai 2023-09-23 08:09:16 +08:00
parent d32a4a8aac
commit 709e38d0a4

View File

@ -37,7 +37,7 @@ declare namespace identifier {
* Obtain the OAID asynchronously.
* Obtaining OAID requires the permission:ohos.permission.APP_TRACKING_CONSENT, or the obtained OAID is empty.
* @permission ohos.permission.APP_TRACKING_CONSENT
* @return { Promise<string> } Returns the OAID.
* @returns { Promise<string> } Returns the OAID.
* @throws { BusinessError } 17300001 - System internal error.
* @syscap SystemCapability.Advertising.OAID
* @since 10