DevicePolicyManager.IsOverrideApnEnabled(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.
Called by device owner to check if override APNs are currently enabled.
[Android.Runtime.Register("isOverrideApnEnabled", "(Landroid/content/ComponentName;)Z", "GetIsOverrideApnEnabled_Landroid_content_ComponentName_Handler", ApiSince=28)]
public virtual bool IsOverrideApnEnabled (Android.Content.ComponentName admin);
[<Android.Runtime.Register("isOverrideApnEnabled", "(Landroid/content/ComponentName;)Z", "GetIsOverrideApnEnabled_Landroid_content_ComponentName_Handler", ApiSince=28)>]
abstract member IsOverrideApnEnabled : Android.Content.ComponentName -> bool
override this.IsOverrideApnEnabled : Android.Content.ComponentName -> bool
Parameters
- admin
- ComponentName
which DeviceAdminReceiver
this request is associated with
Returns
true
if override APNs are currently enabled, false
otherwise.
- Attributes
Remarks
Called by device owner to check if override APNs are currently enabled.
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.