Stay organized with collections
Save and categorize content based on your preferences.
PhysicalChannelConfigListener
interface 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](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nPhysicalChannelConfigListener\n=============================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/telephony/TelephonyCallback.PhysicalChannelConfigListener \"View this page in Java\") \n\n```\ninterface PhysicalChannelConfigListener\n```\n\n|------------------------------------------------------------------------|\n| [android.telephony.TelephonyCallback.PhysicalChannelConfigListener](#) |\n\nInterface for current physical channel configuration listener.\n\nSummary\n-------\n\n| Public methods ||\n|---------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [onPhysicalChannelConfigChanged](#onPhysicalChannelConfigChanged(kotlin.collections.MutableList))`(`configs:` `[MutableList](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)\u003c[PhysicalChannelConfig](/reference/kotlin/android/telephony/PhysicalChannelConfig)!\u003e`)` Callback invoked when the current physical channel configuration has changed The calling app should have carrier privileges (see [TelephonyManager.hasCarrierPrivileges](/reference/kotlin/android/telephony/TelephonyManager#hasCarrierPrivileges())) if it does not have the [android.Manifest.permission#READ_PRECISE_PHONE_STATE](../Manifest.permission.html#READ_PRECISE_PHONE_STATE:kotlin.String). |\n\nPublic methods\n--------------\n\n### onPhysicalChannelConfigChanged\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nabstract fun onPhysicalChannelConfigChanged(configs: MutableList\u003cPhysicalChannelConfig!\u003e): Unit\n```\n\nCallback invoked when the current physical channel configuration has changed The calling app should have carrier privileges (see [TelephonyManager.hasCarrierPrivileges](/reference/kotlin/android/telephony/TelephonyManager#hasCarrierPrivileges())) if it does not have the [android.Manifest.permission#READ_PRECISE_PHONE_STATE](../Manifest.permission.html#READ_PRECISE_PHONE_STATE:kotlin.String). \nRequires [android.Manifest.permission#READ_PRECISE_PHONE_STATE](../Manifest.permission.html#READ_PRECISE_PHONE_STATE:kotlin.String)\n\n| Parameters ||\n|-----------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `configs` | [MutableList](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)\\\u003c[PhysicalChannelConfig](/reference/kotlin/android/telephony/PhysicalChannelConfig)!\\\u003e: List of the current [PhysicalChannelConfig](/reference/kotlin/android/telephony/PhysicalChannelConfig)s This value cannot be `null`. |"]]