PhoneStateListener.ListenDisplayInfoChanged Field

Definition

Listen for display info changed event.

[Android.Runtime.Register("LISTEN_DISPLAY_INFO_CHANGED", ApiSince=30)]
public const Android.Telephony.PhoneStateListenerFlags ListenDisplayInfoChanged = 1048576;
[<Android.Runtime.Register("LISTEN_DISPLAY_INFO_CHANGED", ApiSince=30)>]
val mutable ListenDisplayInfoChanged : Android.Telephony.PhoneStateListenerFlags

Field Value

Value = 1048576
Attributes

Remarks

Listen for display info changed event.

For clients compiled on Android 11 SDK, requires permission: android.Manifest.permission#READ_PHONE_STATE or that the calling app has carrier privileges (see TelephonyManager#hasCarrierPrivileges). For clients compiled on Android 12 SDK or newer, android.Manifest.permission#READ_PHONE_STATE or carrier privileges is not required anymore.

This member is deprecated. Use TelephonyCallback.DisplayInfoListener instead.

Java documentation for android.telephony.PhoneStateListener.LISTEN_DISPLAY_INFO_CHANGED.

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