mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 07:10:52 +00:00
修改deviceid描述
Signed-off-by: yangwei_814916 <yangwei271@huawei.com>
This commit is contained in:
parent
5784720b5a
commit
6904f63ce5
9
api/@ohos.distributedDeviceManager.d.ts
vendored
9
api/@ohos.distributedDeviceManager.d.ts
vendored
@ -223,13 +223,12 @@ declare namespace distributedDeviceManager {
|
||||
getLocalDeviceType(): number;
|
||||
|
||||
/**
|
||||
* Device identifier. The actual value is udid-hash confused with appid and salt value based on sha256.
|
||||
* This id remains unchanged after application installation. If the application is uninstalled and reinstalled,
|
||||
* the obtained ID will change.
|
||||
* Get the device id of the local device.
|
||||
*
|
||||
* @permission ohos.permission.DISTRIBUTED_DATASYNC
|
||||
* @returns { string } - Returns local device id. The actual value is udid_hash + appid + salt_value,
|
||||
* which is based on the obfuscated value of base256.
|
||||
* @returns { string } - Device identifier. The actual value is udid-hash confused with appid and salt value based on sha256.
|
||||
* This id remains unchanged after application installation. If the application is uninstalled and reinstalled,
|
||||
* the obtained ID will change.
|
||||
* @throws { BusinessError } 201 - Permission verification failed. The application does not have the permission required to call the API.
|
||||
* @throws { BusinessError } 11600101 - Failed to execute the function.
|
||||
* @syscap SystemCapability.DistributedHardware.DeviceManager
|
||||
|
Loading…
Reference in New Issue
Block a user