mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-27 09:22:53 +00:00
修改设置时间接口权限
Signed-off-by: fangyun <fangyun2@huawei.com>
This commit is contained in:
parent
589939dcd3
commit
15fdec5e1b
@ -26,7 +26,7 @@ export interface DeviceSettingsManager {
|
||||
/**
|
||||
* Sets the system time.
|
||||
* This function can be called by a super administrator.
|
||||
* @permission ohos.permission.EDM_MANAGE_DATETIME
|
||||
* @permission ohos.permission.ENTERPRISE_SET_DATETIME
|
||||
* @param { Want } admin - admin indicates the administrator ability information.
|
||||
* @param { number } time - time indicates rhe target time stamp (ms).
|
||||
* @returns { Promise<void> } the promise returned by the setDateTime.
|
||||
|
Loading…
Reference in New Issue
Block a user