DevicePolicyManager.GetOverrideApns(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 or managed profile owner to get all override APNs inserted by
device owner or managed profile owner previously using #addOverrideApn
.
[Android.Runtime.Register("getOverrideApns", "(Landroid/content/ComponentName;)Ljava/util/List;", "GetGetOverrideApns_Landroid_content_ComponentName_Handler", ApiSince=28)]
public virtual System.Collections.Generic.IList<Android.Telephony.Data.ApnSetting>? GetOverrideApns (Android.Content.ComponentName admin);
[<Android.Runtime.Register("getOverrideApns", "(Landroid/content/ComponentName;)Ljava/util/List;", "GetGetOverrideApns_Landroid_content_ComponentName_Handler", ApiSince=28)>]
abstract member GetOverrideApns : Android.Content.ComponentName -> System.Collections.Generic.IList<Android.Telephony.Data.ApnSetting>
override this.GetOverrideApns : Android.Content.ComponentName -> System.Collections.Generic.IList<Android.Telephony.Data.ApnSetting>
Parameters
- admin
- ComponentName
which DeviceAdminReceiver
this request is associated with
Returns
A list of override APNs inserted by device owner.
- Attributes
Remarks
Called by device owner or managed profile owner to get all override APNs inserted by device owner or managed profile owner previously using #addOverrideApn
.
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.