Udostępnij za pośrednictwem


ConnectionService.OnCreateIncomingConference Method

Definition

Create a Conference given an incoming request.

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

Parameters

connectionManagerPhoneAccount
PhoneAccountHandle

See description at #onCreateOutgoingConnection(PhoneAccountHandle, ConnectionRequest).

request
ConnectionRequest

Details about the incoming conference 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 incoming request. This is used to attach to an incoming conference call initiated via TelecomManager#addNewIncomingConference(PhoneAccountHandle, Bundle).

Java documentation for android.telecom.ConnectionService.onCreateIncomingConference(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