diff --git a/api/@ohos.enterprise.restrictions.d.ts b/api/@ohos.enterprise.restrictions.d.ts index e14f48436ae75f50d5e8fcee79343026be18734d..ad8d7c3cf2a8b169a6f73aae13d590c5ea688379 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.