Enables a device administrator application based on the specified bundle name and class name. This API uses an asynchronous callback to return the result.
...
...
@@ -22,6 +22,8 @@ Enables a device administrator application based on the specified bundle name an
Enables a device administrator application based on the specified bundle name and class name. This API uses an asynchronous callback to return the result.
...
...
@@ -61,6 +71,8 @@ Enables a device administrator application based on the specified bundle name an
Disables a device common administrator application based on the specified bundle name and class name. This API uses an asynchronous callback to return the result.
...
...
@@ -145,12 +173,20 @@ Disables a device common administrator application based on the specified bundle
Disables a device common administrator application based on the specified bundle name and class name. This API uses an asynchronous callback to return the result.
...
...
@@ -178,13 +214,21 @@ Disables a device common administrator application based on the specified bundle
| callback | AsyncCallback<[DeviceSettingsManager](js-apis-enterpriseDeviceManager-DeviceSettingsManager.md)> | Yes | Callback used to return the **DeviceSettingsManager** object obtained.|
| Promise<[DeviceSettingsManager](js-apis-enterpriseDeviceManager-DeviceSettingsManager.md)> | Promise used to return the **DeviceSettingsManager** object obtained.|
| callback | AsyncCallback<[EnterpriseInfo](#enterpriseinfo)> | Yes | Callback used to return the enterprise information of the device administrator application.|
| managedEvents | Array\<[ManagedEvent](#managedevent)> | Yes| Array of events to subscribe to.|
| callback | AsyncCallback\<void> | Yes| Callback used to return the result. If the subscription is successful, **err** is **null**. Otherwise, **err** is an error object.|
| managedEvents | Array\<[ManagedEvent](#managedevent)> | Yes| Array of events to unsubscribe from.|
| callback | AsyncCallback\<void> | Yes| Callback used to return the result. If the unsubscription is successful, **err** is **null**. Otherwise, **err** is an error object.|
@@ -40,6 +42,13 @@ Sets the system time. This API uses an asynchronous callback to return the resul
| time | number | Yes| Timestamp (ms).|
| callback | AsyncCallback\<void> | Yes| Callback used to the result. If the system time is set successfully, **err** is **null**; otherwise, **err** is an error object.|