Added in API level 31

DisplayInfoListener


interface DisplayInfoListener
android.telephony.TelephonyCallback.DisplayInfoListener

Interface for display info listener.

Summary

Public methods
abstract Unit

Callback invoked when the display info has changed on the registered subscription.

Public methods

onDisplayInfoChanged

Added in API level 31
abstract fun onDisplayInfoChanged(telephonyDisplayInfo: TelephonyDisplayInfo): Unit

Callback invoked when the display info has changed on the registered subscription.

The TelephonyDisplayInfo contains status information shown to the user based on carrier policy.

Parameters
telephonyDisplayInfo TelephonyDisplayInfo: The display information. This value cannot be null.