Added in API level 31

PhysicalChannelConfigListener


interface PhysicalChannelConfigListener
android.telephony.TelephonyCallback.PhysicalChannelConfigListener

Interface for current physical channel configuration listener.

Summary

Public methods
abstract Unit

Callback invoked when the current physical channel configuration has changed The calling app should have carrier privileges (see TelephonyManager#hasCarrierPrivileges) if it does not have the android.Manifest.permission#READ_PRECISE_PHONE_STATE.

Public methods

onPhysicalChannelConfigChanged

Added in API level 31
abstract fun onPhysicalChannelConfigChanged(configs: MutableList<PhysicalChannelConfig!>): Unit

Callback invoked when the current physical channel configuration has changed The calling app should have carrier privileges (see TelephonyManager#hasCarrierPrivileges) if it does not have the android.Manifest.permission#READ_PRECISE_PHONE_STATE.
Requires android.Manifest.permission#READ_PRECISE_PHONE_STATE

Parameters
configs MutableList<PhysicalChannelConfig!>: List of the current PhysicalChannelConfigs This value cannot be null.