Added in API level 31

TelephonyCallback.PhysicalChannelConfigListener


public static interface TelephonyCallback.PhysicalChannelConfigListener

android.telephony.TelephonyCallback.PhysicalChannelConfigListener


Interface for current physical channel configuration listener.

Summary

Public methods

abstract void onPhysicalChannelConfigChanged(List<PhysicalChannelConfig> configs)

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 Manifest.permission.READ_PRECISE_PHONE_STATE.

Public methods

onPhysicalChannelConfigChanged

Added in API level 31
public abstract void onPhysicalChannelConfigChanged (List<PhysicalChannelConfig> configs)

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 Manifest.permission.READ_PRECISE_PHONE_STATE.
Requires Manifest.permission.READ_PRECISE_PHONE_STATE

Parameters
configs List: List of the current PhysicalChannelConfigs This value cannot be null.