ICallControlCallback.OnSetActive(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 active
[Android.Runtime.Register("onSetActive", "(Ljava/util/function/Consumer;)V", "GetOnSetActive_Ljava_util_function_Consumer_Handler:Android.Telecom.ICallControlCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)]
public void OnSetActive (Java.Util.Functions.IConsumer wasCompleted);
[<Android.Runtime.Register("onSetActive", "(Ljava/util/function/Consumer;)V", "GetOnSetActive_Ljava_util_function_Consumer_Handler:Android.Telecom.ICallControlCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)>]
abstract member OnSetActive : Java.Util.Functions.IConsumer -> unit
Parameters
- wasCompleted
- IConsumer
The Consumer
to be completed. If the client can set the call
active 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
setActive request and the call will remain in whatever state it is in.
- Attributes
Remarks
Telecom is informing the client to set the call active
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.