Lingua

CallControl.SetGroupCallState(Boolean, IExecutor, IOutcomeReceiver) Method

Definition

Sets the group call state for an ongoing call.

[Android.Runtime.Register("setGroupCallState", "(ZLjava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=37)]
public void SetGroupCallState(bool isGroupCall, Java.Util.Concurrent.IExecutor executor, Android.OS.IOutcomeReceiver callback);
[<Android.Runtime.Register("setGroupCallState", "(ZLjava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=37)>]
member this.SetGroupCallState : bool * Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit

Parameters

isGroupCall
Boolean

true if the call is currently a group call, false otherwise.

executor
IExecutor

The Executor on which the OutcomeReceiver callback will be called on.

callback
IOutcomeReceiver

that will be completed on the Telecom side that details success or failure of the requested operation.

                           <code data-dev-comment-type="c">OutcomeReceiver#onResult</code> will be called if Telecom has
                           successfully switched the video state.

                           <code data-dev-comment-type="c">OutcomeReceiver#onError</code> will be called if Telecom has failed to
                           set the new video state.  A <code data-dev-comment-type="c">CallException</code> will be passed  that
                           details why the operation failed.
Attributes

Remarks

Sets the group call state for an ongoing call.

This method should be invoked by a VoIP application. when a call transitions to or from being a group call. For instance, if a one-on-one call adds more participants and becomes a conference, this method informs the system of that change.

Providing this state allows the Android system to correctly represent the call in the system's user interface, such as the native call log. As part of the integrated call logs feature, which provides a unified history for both carrier and VoIP calls, accurately identifying group calls is essential for a consistent user experience.

Android reference for android.telecom.CallControl.setGroupCallState.

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.

Applies to