共用方式為


ICallControlCallback.OnSetInactive(IConsumer) 方法

定義

電信會通知客戶端設定非使用中的呼叫。

[Android.Runtime.Register("onSetInactive", "(Ljava/util/function/Consumer;)V", "GetOnSetInactive_Ljava_util_function_Consumer_Handler:Android.Telecom.ICallControlCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)]
public void OnSetInactive (Java.Util.Functions.IConsumer wasCompleted);
[<Android.Runtime.Register("onSetInactive", "(Ljava/util/function/Consumer;)V", "GetOnSetInactive_Ljava_util_function_Consumer_Handler:Android.Telecom.ICallControlCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)>]
abstract member OnSetInactive : Java.Util.Functions.IConsumer -> unit

參數

wasCompleted
IConsumer

Consumer要完成的 。 如果客戶端可以在其端設定非作用中的呼叫, Consumer#accept(Object) 應該使用 Boolean#TRUE呼叫 。

                            Otherwise, <code data-dev-comment-type="c">Consumer#accept(Object)</code> should be called with
                            <code data-dev-comment-type="c">Boolean#FALSE</code>.  Telecom will effectively ignore the remote
                            setInactive request and the call will remain in whatever state it is in.
屬性

備註

電信會通知客戶端設定非使用中的呼叫。 這與保留兩個端點的通話相同,但可以擴充為設定非使用中的會議。

android.telecom.CallControlCallback.onSetInactive(java.util.function.Consumer<java.lang.Boolean>)Java 檔。

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

適用於