TelephonyManager.VoiceNetworkType Property

Definition

Returns the NETWORK_TYPE_xxxx for voice

public virtual Android.Telephony.NetworkType VoiceNetworkType { [Android.Runtime.Register("getVoiceNetworkType", "()I", "GetGetVoiceNetworkTypeHandler", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getVoiceNetworkType", "()I", "GetGetVoiceNetworkTypeHandler", ApiSince=24)>]
member this.VoiceNetworkType : Android.Telephony.NetworkType

Property Value

Attributes

Remarks

Returns the NETWORK_TYPE_xxxx for voice

Requires Permission: android.Manifest.permission#READ_PHONE_STATE READ_PHONE_STATE or android.Manifest.permission#READ_BASIC_PHONE_STATE READ_BASIC_PHONE_STATE or that the calling app has carrier privileges (see #hasCarrierPrivileges).

Java documentation for android.telephony.TelephonyManager.getVoiceNetworkType().

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