Stay organized with collections
Save and categorize content based on your preferences.
TelephonyCallback.DisplayInfoListener
public
static
interface
TelephonyCallback.DisplayInfoListener
android.telephony.TelephonyCallback.DisplayInfoListener
|
Interface for display info listener.
Summary
Public methods
onDisplayInfoChanged
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 . |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# TelephonyCallback.DisplayInfoListener\n\nAdded in [API level 31](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\nTelephonyCallback.DisplayInfoListener\n=====================================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/telephony/TelephonyCallback.DisplayInfoListener \"View this page in Kotlin\") \\|Java\n\n\n`\npublic\nstatic\n\n\ninterface\nTelephonyCallback.DisplayInfoListener\n`\n\n\n`\n\n\n`\n\n|---------------------------------------------------------|\n| android.telephony.TelephonyCallback.DisplayInfoListener |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nInterface for display info listener.\n\nSummary\n-------\n\n| ### Public methods ||\n|------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract void` | ` `[onDisplayInfoChanged](/reference/android/telephony/TelephonyCallback.DisplayInfoListener#onDisplayInfoChanged(android.telephony.TelephonyDisplayInfo))`(`[TelephonyDisplayInfo](/reference/android/telephony/TelephonyDisplayInfo)` telephonyDisplayInfo) ` Callback invoked when the display info has changed on the registered subscription. |\n\nPublic methods\n--------------\n\n### onDisplayInfoChanged\n\nAdded in [API level 31](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic abstract void onDisplayInfoChanged (TelephonyDisplayInfo telephonyDisplayInfo)\n```\n\nCallback invoked when the display info has changed on the registered subscription.\n\nThe [TelephonyDisplayInfo](/reference/android/telephony/TelephonyDisplayInfo) contains status information shown to the user\nbased on carrier policy.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|------------------------|--------------------------------------------------------------------------------------|\n| `telephonyDisplayInfo` | `TelephonyDisplayInfo`: The display information. This value cannot be `null`. \u003cbr /\u003e |"]]