From 9407aa10c7e6c8f5dea5ba27f821c7d5e8107a06 Mon Sep 17 00:00:00 2001 From: dr123 Date: Mon, 14 Jul 2025 20:23:41 +0800 Subject: [PATCH] =?UTF-8?q?setDisallowedPolicy=E5=A2=9E=E5=8A=A0feature?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E7=A6=81=E7=94=A8=E5=85=AC=E7=BD=91=E5=8D=87?= =?UTF-8?q?=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: dr123 --- api/@ohos.enterprise.restrictions.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/@ohos.enterprise.restrictions.d.ts b/api/@ohos.enterprise.restrictions.d.ts index e14f48436a..ad8d7c3cf2 100644 --- a/api/@ohos.enterprise.restrictions.d.ts +++ b/api/@ohos.enterprise.restrictions.d.ts @@ -327,7 +327,7 @@ declare namespace restrictions { * the supported device features are as follows: * modifyDateTime, bluetooth, printer, hdc, microphone, fingerprint, usb, wifi, tethering, inactiveUserFreeze, camera, mtpClient, mtpServer, * globalDrag, externalSdCard, backupAndRestore, notification, mms, sms, remoteDiagnosis, remoteDesk, nfc, privateSpace, vpn, airplaneMode, - * mobileData, maintenanceMode, sambaClient, sambaServer. + * mobileData, maintenanceMode, sambaClient, sambaServer, otaUpdate. * @param { boolean } disallow - true if disallow the specific feature of device, otherwise false. * @throws { BusinessError } 9200001 - The application is not an administrator application of the device. * @throws { BusinessError } 9200002 - The administrator application does not have permission to manage the device. @@ -384,7 +384,7 @@ declare namespace restrictions { * the supported device features are as follows: * modifyDateTime, bluetooth, printer, hdc, microphone, fingerprint, usb, wifi, tethering, inactiveUserFreeze, camera, mtpClient, mtpServer, * globalDrag, externalSdCard, backupAndRestore, notification, mms, sms, remoteDiagnosis, remoteDesk, nfc, privateSpace, vpn, airplaneMode, - * mobileData, maintenanceMode, sambaClient, sambaServer. + * mobileData, maintenanceMode, sambaClient, sambaServer, otaUpdate. * @returns { boolean } true if the specific feature of device is disallowed, otherwise false. * @throws { BusinessError } 9200001 - The application is not an administrator application of the device. * @throws { BusinessError } 9200002 - The administrator application does not have permission to manage the device. -- Gitee