Compartilhar via


ICallControlCallback.OnDisconnect(DisconnectCause, IConsumer) Método

Definição

Telecom está informando o cliente para desconectar a chamada

[Android.Runtime.Register("onDisconnect", "(Landroid/telecom/DisconnectCause;Ljava/util/function/Consumer;)V", "GetOnDisconnect_Landroid_telecom_DisconnectCause_Ljava_util_function_Consumer_Handler:Android.Telecom.ICallControlCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)]
public void OnDisconnect (Android.Telecom.DisconnectCause disconnectCause, Java.Util.Functions.IConsumer wasCompleted);
[<Android.Runtime.Register("onDisconnect", "(Landroid/telecom/DisconnectCause;Ljava/util/function/Consumer;)V", "GetOnDisconnect_Landroid_telecom_DisconnectCause_Ljava_util_function_Consumer_Handler:Android.Telecom.ICallControlCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)>]
abstract member OnDisconnect : Android.Telecom.DisconnectCause * Java.Util.Functions.IConsumer -> unit

Parâmetros

disconnectCause
DisconnectCause

representa a causa para desconectar a chamada.

wasCompleted
IConsumer

O Consumer a ser completado. Se o cliente puder desconectar a chamada em sua extremidade, Consumer#accept(Object) deverá ser chamado com 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>. However, Telecom will still disconnect
                               the call and remove it from tracking.
Atributos

Comentários

Telecom está informando o cliente para desconectar a chamada

Documentação Java para android.telecom.CallControlCallback.onDisconnect(android.telecom.DisconnectCause, java.util.function.Consumer<java.lang.Boolean>).

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Android Open Source Project e usado de acordo com os termos descritos na Creative Commons 2.5 Attribution License.

Aplica-se a