ICallControlCallback.OnSetInactive(IConsumer) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Telecom is informing the client to set the call inactive.
[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
Parameters
- wasCompleted
- IConsumer
The Consumer
to be completed. If the client can set the call
inactive on their end, the Consumer#accept(Object)
should be
called with 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.
- Attributes
Remarks
Telecom is informing the client to set the call inactive. This is the same as holding a call for two endpoints but can be extended to setting a meeting inactive.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.