Stay organized with collections
Save and categorize content based on your preferences.
TelephonyCallback.PhysicalChannelConfigListener
public
static
interface
TelephonyCallback.PhysicalChannelConfigListener
android.telephony.TelephonyCallback.PhysicalChannelConfigListener
|
Interface for current physical channel configuration listener.
Summary
Public methods
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.PhysicalChannelConfigListener\n\nAdded in [API level 31](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\nTelephonyCallback.PhysicalChannelConfigListener\n===============================================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/telephony/TelephonyCallback.PhysicalChannelConfigListener \"View this page in Kotlin\") \\|Java\n\n\n`\npublic\nstatic\n\n\ninterface\nTelephonyCallback.PhysicalChannelConfigListener\n`\n\n\n`\n\n\n`\n\n|-------------------------------------------------------------------|\n| android.telephony.TelephonyCallback.PhysicalChannelConfigListener |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nInterface for current physical channel configuration listener.\n\nSummary\n-------\n\n| ### Public methods ||\n|------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract void` | ` `[onPhysicalChannelConfigChanged](/reference/android/telephony/TelephonyCallback.PhysicalChannelConfigListener#onPhysicalChannelConfigChanged(java.util.List\u003candroid.telephony.PhysicalChannelConfig\u003e))`(`[List](/reference/java/util/List)`\u003c`[PhysicalChannelConfig](/reference/android/telephony/PhysicalChannelConfig)`\u003e configs) ` Callback invoked when the current physical channel configuration has changed The calling app should have carrier privileges (see [TelephonyManager.hasCarrierPrivileges](/reference/android/telephony/TelephonyManager#hasCarrierPrivileges())) if it does not have the [Manifest.permission.READ_PRECISE_PHONE_STATE](/reference/android/Manifest.permission#READ_PRECISE_PHONE_STATE). |\n\nPublic methods\n--------------\n\n### onPhysicalChannelConfigChanged\n\nAdded in [API level 31](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic abstract void onPhysicalChannelConfigChanged (List\u003cPhysicalChannelConfig\u003e configs)\n```\n\nCallback invoked when the current physical channel configuration has changed\n\nThe calling app should have carrier privileges\n(see [TelephonyManager.hasCarrierPrivileges](/reference/android/telephony/TelephonyManager#hasCarrierPrivileges())) if it does not have the\n[Manifest.permission.READ_PRECISE_PHONE_STATE](/reference/android/Manifest.permission#READ_PRECISE_PHONE_STATE).\n\n\u003cbr /\u003e\n\n\nRequires [Manifest.permission.READ_PRECISE_PHONE_STATE](/reference/android/Manifest.permission#READ_PRECISE_PHONE_STATE)\n\n\u003cbr /\u003e\n\n| Parameters ||\n|-----------|----------------------------------------------------------------------------------------------------------------------------------------------|\n| `configs` | `List`: List of the current [PhysicalChannelConfig](/reference/android/telephony/PhysicalChannelConfig)s This value cannot be `null`. \u003cbr /\u003e |"]]