PhoneStateListener.ListenPreciseDataConnectionState Field
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.
Listen for PreciseDataConnectionState
on the data connection (cellular).
[Android.Runtime.Register("LISTEN_PRECISE_DATA_CONNECTION_STATE", ApiSince=30)]
[Android.Runtime.RequiresPermission("android.permission.READ_PRECISE_PHONE_STATE")]
public const Android.Telephony.PhoneStateListenerFlags ListenPreciseDataConnectionState = 4096;
[<Android.Runtime.Register("LISTEN_PRECISE_DATA_CONNECTION_STATE", ApiSince=30)>]
[<Android.Runtime.RequiresPermission("android.permission.READ_PRECISE_PHONE_STATE")>]
val mutable ListenPreciseDataConnectionState : Android.Telephony.PhoneStateListenerFlags
Field Value
Value = 4096- Attributes
Remarks
Listen for PreciseDataConnectionState
on the data connection (cellular).
Requires permission android.Manifest.permission#READ_PRECISE_PHONE_STATE
or the calling app has carrier privileges (see TelephonyManager#hasCarrierPrivileges
).
This member is deprecated. Use TelephonyCallback.PreciseDataConnectionStateListener
instead.
Java documentation for android.telephony.PhoneStateListener.LISTEN_PRECISE_DATA_CONNECTION_STATE
.
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.