DevicePolicyManager.GetAutoTimeEnabled(ComponentName) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns true if auto time is enabled on the device.
[Android.Runtime.Register("getAutoTimeEnabled", "(Landroid/content/ComponentName;)Z", "GetGetAutoTimeEnabled_Landroid_content_ComponentName_Handler", ApiSince=30)]
public virtual bool GetAutoTimeEnabled (Android.Content.ComponentName? admin);
[<Android.Runtime.Register("getAutoTimeEnabled", "(Landroid/content/ComponentName;)Z", "GetGetAutoTimeEnabled_Landroid_content_ComponentName_Handler", ApiSince=30)>]
abstract member GetAutoTimeEnabled : Android.Content.ComponentName -> bool
override this.GetAutoTimeEnabled : Android.Content.ComponentName -> bool
Parameters
- admin
- ComponentName
Which DeviceAdminReceiver
this request is associated with. Null if the
caller is not a device admin.
Returns
true if auto time is enabled on the device.
- Attributes
Remarks
Returns true if auto time is enabled on the device.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.