Freigeben über


PreciseDataConnectionState.ApnSetting Property

Definition

Return the APN Settings for this data connection.

public Android.Telephony.Data.ApnSetting? ApnSetting { [Android.Runtime.Register("getApnSetting", "()Landroid/telephony/data/ApnSetting;", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getApnSetting", "()Landroid/telephony/data/ApnSetting;", "", ApiSince=30)>]
member this.ApnSetting : Android.Telephony.Data.ApnSetting

Property Value

the ApnSetting that was used to configure this data connection. Note that a data connection cannot be established without a valid ApnSetting. The return value would never be null even though it has Nullable annotation.

Attributes

Remarks

Return the APN Settings for this data connection.

Java documentation for android.telephony.PreciseDataConnectionState.getApnSetting().

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