RemoteConnection.Callback.OnStateChanged(RemoteConnection, CallState) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在更改此 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()。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。