PhoneStateListener.ListenBarringInfo 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 Barring Information for the current registered / camped cell.
[Android.Runtime.Register("LISTEN_BARRING_INFO", ApiSince=30)]
public const Android.Telephony.PhoneStateListenerFlags ListenBarringInfo = -2147483648;
[<Android.Runtime.Register("LISTEN_BARRING_INFO", ApiSince=30)>]
val mutable ListenBarringInfo : Android.Telephony.PhoneStateListenerFlags
Field Value
Value = -2147483648- Attributes
Remarks
Listen for Barring Information for the current registered / camped cell.
Requires permission android.Manifest.permission#READ_PRECISE_PHONE_STATE
or the calling app has carrier privileges (see TelephonyManager#hasCarrierPrivileges
).
Also requires the Manifest.permission#ACCESS_FINE_LOCATION
permission, regardless of whether the calling app has carrier privileges.
This member is deprecated. Use TelephonyCallback.BarringInfoListener
instead.
Java documentation for android.telephony.PhoneStateListener.LISTEN_BARRING_INFO
.
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.