Share via


DevicePolicyManager.IsOverrideApnEnabled(ComponentName) Method

Definition

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.

Java documentation for android.app.admin.DevicePolicyManager.isOverrideApnEnabled(android.content.ComponentName).

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.

Applies to