PhoneStateListener.ListenRegistrationFailure 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 Registration Failures.
[Android.Runtime.Register("LISTEN_REGISTRATION_FAILURE", ApiSince=30)]
public const Android.Telephony.PhoneStateListenerFlags ListenRegistrationFailure = 1073741824;
[<Android.Runtime.Register("LISTEN_REGISTRATION_FAILURE", ApiSince=30)>]
val mutable ListenRegistrationFailure : Android.Telephony.PhoneStateListenerFlags
Field Value
Value = 1073741824- Attributes
Remarks
Listen for Registration Failures.
Listen for indications that a registration procedure has failed in either the CS or PS domain. This indication does not necessarily indicate a change of service state, which should be tracked via #LISTEN_SERVICE_STATE
.
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.RegistrationFailedListener
instead.
Java documentation for android.telephony.PhoneStateListener.LISTEN_REGISTRATION_FAILURE
.
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.