共用方式為


TelephonyCallback.IPhysicalChannelConfigListener.OnPhysicalChannelConfigChanged 方法

定義

當目前實體通道組態變更時叫用的回呼

        The calling app should have carrier privileges
        (see <code data-dev-comment-type="c">TelephonyManager#hasCarrierPrivileges</code>) if it does not have the
        <code data-dev-comment-type="c">android.Manifest.permission#READ_PRECISE_PHONE_STATE</code>.
[Android.Runtime.Register("onPhysicalChannelConfigChanged", "(Ljava/util/List;)V", "GetOnPhysicalChannelConfigChanged_Ljava_util_List_Handler:Android.Telephony.TelephonyCallback/IPhysicalChannelConfigListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)]
public void OnPhysicalChannelConfigChanged (System.Collections.Generic.IList<Android.Telephony.PhysicalChannelConfig> configs);
[<Android.Runtime.Register("onPhysicalChannelConfigChanged", "(Ljava/util/List;)V", "GetOnPhysicalChannelConfigChanged_Ljava_util_List_Handler:Android.Telephony.TelephonyCallback/IPhysicalChannelConfigListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)>]
abstract member OnPhysicalChannelConfigChanged : System.Collections.Generic.IList<Android.Telephony.PhysicalChannelConfig> -> unit

參數

configs
IList<PhysicalChannelConfig>

目前 PhysicalChannelConfigs 的清單

屬性

備註

當目前實體通道組態變更時叫用的回呼

如果呼叫應用程式沒有 android.Manifest.permission#READ_PRECISE_PHONE_STATE,則應該具有電信業者許可權(請參閱 TelephonyManager#hasCarrierPrivileges)。

android.telephony.TelephonyCallback.PhysicalChannelConfigListener.onPhysicalChannelConfigChanged(java.util.List<android.telephony.PhysicalChannelConfig>)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於