ApnSetting Class
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.
An Access Point Name (APN) configuration for a carrier data connection.
[Android.Runtime.Register("android/telephony/data/ApnSetting", ApiSince=28, DoNotGenerateAcw=true)]
public class ApnSetting : Java.Lang.Object, Android.OS.IParcelable, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("android/telephony/data/ApnSetting", ApiSince=28, DoNotGenerateAcw=true)>]
type ApnSetting = class
inherit Object
interface IParcelable
interface IJavaObject
interface IDisposable
interface IJavaPeerable
- Inheritance
- Attributes
- Implements
Remarks
An Access Point Name (APN) configuration for a carrier data connection.
The APN provides configuration to connect a cellular network device to an IP data network. A carrier uses the name, type and other configuration in an APNSetting
to decide which IP address to assign, any security methods to apply, and how the device might be connected to private networks.
Use ApnSetting.Builder
to create new instances.
Java documentation for android.telephony.data.ApnSetting
.
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.
Constructors
ApnSetting(IntPtr, JniHandleOwnership) |
Fields
AuthTypeChap |
Obsolete.
Authentication type for CHAP. |
AuthTypeNone |
Obsolete.
Authentication is not required. |
AuthTypePap |
Obsolete.
Authentication type for PAP. |
AuthTypePapOrChap |
Obsolete.
Authentication type for PAP or CHAP. |
MvnoTypeGid |
Obsolete.
MVNO type for group identifier level 1. |
MvnoTypeIccid |
Obsolete.
MVNO type for ICCID. |
MvnoTypeImsi |
Obsolete.
MVNO type for IMSI. |
MvnoTypeSpn |
Obsolete.
MVNO type for service provider name. |
ProtocolIp |
Obsolete.
Internet protocol. |
ProtocolIpv4v6 |
Obsolete.
Virtual PDP type introduced to handle dual IP stack UE capability. |
ProtocolIpv6 |
Obsolete.
Internet protocol, version 6. |
ProtocolNonIp |
Obsolete.
Transfer of Non-IP data to external packet data network. |
ProtocolPpp |
Obsolete.
Point to point protocol. |
ProtocolUnstructured |
Obsolete.
Transfer of Unstructured data to the Data Network via N6. |
TypeBip |
Obsolete.
APN type for BIP. |
TypeCbs |
Obsolete.
APN type for CBS. |
TypeDefault |
Obsolete.
APN type for default data traffic. |
TypeDun |
Obsolete.
APN type for DUN traffic. |
TypeEmergency |
Obsolete.
APN type for Emergency PDN. |
TypeEnterprise |
Obsolete.
APN type for ENTERPRISE. |
TypeFota |
Obsolete.
APN type for accessing the carrier's FOTA portal, used for over the air updates. |
TypeHipri |
Obsolete.
APN type for HiPri traffic. |
TypeIa |
Obsolete.
APN type for IA Initial Attach APN. |
TypeIms |
Obsolete.
APN type for IMS. |
TypeMcx |
Obsolete.
APN type for MCX (Mission Critical Service) where X can be PTT/Video/Data |
TypeMms |
Obsolete.
APN type for MMS traffic. |
TypeSupl |
Obsolete.
APN type for SUPL assisted GPS. |
TypeVsim |
Obsolete.
APN type for VSIM. |
TypeXcap |
Obsolete.
APN type for XCAP. |
Properties
ApnName |
Returns the name of the APN. |
ApnTypeBitmask |
Returns the bitmask of APN types. |
AuthType |
Returns the authentication type of the APN. |
CarrierId |
Returns the carrier id for this APN. |
Class |
Returns the runtime class of this |
Creator | |
EntryName |
Gets the human-readable name that describes the APN. |
Handle |
The handle to the underlying Android instance. (Inherited from Object) |
Id |
Returns the unique database id for this entry. |
IsEnabled |
Returns the current status of APN. |
IsPersistent |
Returns if the APN setting is persistent on the modem. |
JniIdentityHashCode | (Inherited from Object) |
JniPeerMembers | |
Mmsc |
Returns the MMSC Uri of the APN. |
MmsProxyAddress |
Gets the MMS proxy address configured for the APN. |
MmsProxyAddressAsString |
Returns the MMS proxy address of the APN. |
MmsProxyPort |
Returns the MMS proxy port of the APN. |
MtuV4 |
Returns the default MTU (Maximum Transmission Unit) size in bytes of the IPv4 routes brought up by this APN setting. |
MtuV6 |
Returns the MTU size of the IPv6 mobile interface to which the APN connected. |
MvnoType |
Returns the MVNO match type for this APN. |
NetworkTypeBitmask |
Returns a bitmask describing the Radio Technologies (Network Types) which this APN may use. |
OperatorNumeric |
Returns the numeric operator ID for the APN. |
Password |
Returns the APN password of the APN. |
PeerReference | (Inherited from Object) |
ProfileId |
Returns the profile id to which the APN saved in modem. |
Protocol |
Returns the protocol to use to connect to this APN. |
ProxyAddress |
Gets the HTTP proxy address configured for the APN. |
ProxyAddressAsString |
Returns the proxy address of the APN. |
ProxyPort |
Returns the proxy address of the APN. |
RoamingProtocol |
Returns the protocol to use to connect to this APN while the device is roaming. |
ThresholdClass | |
ThresholdType | |
User |
Returns the APN username of the APN. |
Methods
Clone() |
Creates and returns a copy of this object. (Inherited from Object) |
DescribeContents() | |
Dispose() | (Inherited from Object) |
Dispose(Boolean) | (Inherited from Object) |
Equals(Object) |
Indicates whether some other object is "equal to" this one. (Inherited from Object) |
GetHashCode() |
Returns a hash code value for the object. (Inherited from Object) |
JavaFinalize() |
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. (Inherited from Object) |
Notify() |
Wakes up a single thread that is waiting on this object's monitor. (Inherited from Object) |
NotifyAll() |
Wakes up all threads that are waiting on this object's monitor. (Inherited from Object) |
SetHandle(IntPtr, JniHandleOwnership) |
Sets the Handle property. (Inherited from Object) |
ToArray<T>() | (Inherited from Object) |
ToString() |
Returns a string representation of the object. (Inherited from Object) |
UnregisterFromRuntime() | (Inherited from Object) |
Wait() |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>. (Inherited from Object) |
Wait(Int64) |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed. (Inherited from Object) |
Wait(Int64, Int32) |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed. (Inherited from Object) |
WriteToParcel(Parcel, ParcelableWriteFlags) |
Explicit Interface Implementations
IJavaPeerable.Disposed() | (Inherited from Object) |
IJavaPeerable.DisposeUnlessReferenced() | (Inherited from Object) |
IJavaPeerable.Finalized() | (Inherited from Object) |
IJavaPeerable.JniManagedPeerState | (Inherited from Object) |
IJavaPeerable.SetJniIdentityHashCode(Int32) | (Inherited from Object) |
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) | (Inherited from Object) |
IJavaPeerable.SetPeerReference(JniObjectReference) | (Inherited from Object) |
Extension Methods
JavaCast<TResult>(IJavaObject) |
Performs an Android runtime-checked type conversion. |
JavaCast<TResult>(IJavaObject) | |
GetJniTypeName(IJavaPeerable) |