ConnectionService.OnCreateOutgoingConference Method

Definition

Create a Conference given an outgoing request.

[Android.Runtime.Register("onCreateOutgoingConference", "(Landroid/telecom/PhoneAccountHandle;Landroid/telecom/ConnectionRequest;)Landroid/telecom/Conference;", "GetOnCreateOutgoingConference_Landroid_telecom_PhoneAccountHandle_Landroid_telecom_ConnectionRequest_Handler", ApiSince=31)]
public virtual Android.Telecom.Conference? OnCreateOutgoingConference (Android.Telecom.PhoneAccountHandle connectionManagerPhoneAccount, Android.Telecom.ConnectionRequest request);
[<Android.Runtime.Register("onCreateOutgoingConference", "(Landroid/telecom/PhoneAccountHandle;Landroid/telecom/ConnectionRequest;)Landroid/telecom/Conference;", "GetOnCreateOutgoingConference_Landroid_telecom_PhoneAccountHandle_Landroid_telecom_ConnectionRequest_Handler", ApiSince=31)>]
abstract member OnCreateOutgoingConference : Android.Telecom.PhoneAccountHandle * Android.Telecom.ConnectionRequest -> Android.Telecom.Conference
override this.OnCreateOutgoingConference : Android.Telecom.PhoneAccountHandle * Android.Telecom.ConnectionRequest -> Android.Telecom.Conference

Parameters

connectionManagerPhoneAccount
PhoneAccountHandle

The connection manager account to use for managing this call. <p> If this parameter is not null, it means that this ConnectionService has registered one or more PhoneAccounts having PhoneAccount#CAPABILITY_CONNECTION_MANAGER. This parameter will contain one of these PhoneAccounts, while the request will contain another (usually but not always distinct) PhoneAccount to be used for actually making the connection. <p> If this parameter is null, it means that this ConnectionService is being asked to make a direct connection. The ConnectionRequest#getAccountHandle() of parameter request will be a PhoneAccount registered by this ConnectionService to use for making the connection.

request
ConnectionRequest

Details about the outgoing call.

Returns

The Conference object to satisfy this call. If the conference attempt is failed, the return value will be a result of an invocation of Connection#createFailedConnection(DisconnectCause). Return null if the ConnectionService cannot handle the call.

Attributes

Remarks

Create a Conference given an outgoing request. This is used to initiate new outgoing conference call requested via TelecomManager#startConference(List, Bundle).

Java documentation for android.telecom.ConnectionService.onCreateOutgoingConference(android.telecom.PhoneAccountHandle, android.telecom.ConnectionRequest).

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