CallControl.SetGroupCallState(Boolean, IExecutor, IOutcomeReceiver) 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.
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
The OutcomeReceiver that reports whether Telecom completed the
request to set the group-call state. OutcomeReceiver#onResult is
called on success. OutcomeReceiver#onError is called if the
operation fails; the CallException describes the failure.
- Attributes
Remarks
Sets the group call state for an ongoing call.
Call this method when a VoIP call changes to or from a group call, for example when a one-to-one call adds participants and becomes a conference. It 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.