語言

RemoteConnection.Callback.OnStateChanged(RemoteConnection, CallState) 方法

定義

當情況 RemoteConnection 改變時會被召喚。

[Android.Runtime.Register("onStateChanged", "(Landroid/telecom/RemoteConnection;I)V", "GetOnStateChanged_Landroid_telecom_RemoteConnection_IHandler", ApiSince=23)]
public virtual void OnStateChanged(Android.Telecom.RemoteConnection connection, Android.Telecom.CallState state);
[<Android.Runtime.Register("onStateChanged", "(Landroid/telecom/RemoteConnection;I)V", "GetOnStateChanged_Landroid_telecom_RemoteConnection_IHandler", ApiSince=23)>]
abstract member OnStateChanged : Android.Telecom.RemoteConnection * Android.Telecom.CallState -> unit
override this.OnStateChanged : Android.Telecom.RemoteConnection * Android.Telecom.CallState -> unit

參數

connection
RemoteConnection

就是 RemoteConnection 要運用這個方法。

state
CallState

新的狀態 RemoteConnection。

屬性

備註

當情況 RemoteConnection 改變時會被召喚。 參見 #getState()。

Java 文件 android.telecom.RemoteConnection.Callback.onStateChanged(android.telecom.RemoteConnection, int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於