Added in API level 31

TelephonyCallback.DisplayInfoListener


public static interface TelephonyCallback.DisplayInfoListener

android.telephony.TelephonyCallback.DisplayInfoListener


Interface for display info listener.

Summary

Public methods

abstract void onDisplayInfoChanged(TelephonyDisplayInfo telephonyDisplayInfo)

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

Public methods

onDisplayInfoChanged

Added in API level 31
public abstract void onDisplayInfoChanged (TelephonyDisplayInfo telephonyDisplayInfo)

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.