Share via


Conference.CreateFailedConference(DisconnectCause, PhoneAccountHandle) Method

Definition

Return a Conference which represents a failed conference attempt.

[Android.Runtime.Register("createFailedConference", "(Landroid/telecom/DisconnectCause;Landroid/telecom/PhoneAccountHandle;)Landroid/telecom/Conference;", "", ApiSince=31)]
public static Android.Telecom.Conference CreateFailedConference (Android.Telecom.DisconnectCause disconnectCause, Android.Telecom.PhoneAccountHandle phoneAccount);
[<Android.Runtime.Register("createFailedConference", "(Landroid/telecom/DisconnectCause;Landroid/telecom/PhoneAccountHandle;)Landroid/telecom/Conference;", "", ApiSince=31)>]
static member CreateFailedConference : Android.Telecom.DisconnectCause * Android.Telecom.PhoneAccountHandle -> Android.Telecom.Conference

Parameters

disconnectCause
DisconnectCause

The disconnect cause, (android.telecomm.DisconnectCause).

phoneAccount
PhoneAccountHandle

Returns

A Conference which indicates failure.

Attributes

Remarks

Return a Conference which represents a failed conference attempt. The returned Conference will have a android.telecom.DisconnectCause and as specified, and a #getState() of STATE_DISCONNECTED.

The returned Conference can be assumed to #destroy() itself when appropriate, so users of this method need not maintain a reference to its return value to destroy it.

Java documentation for android.telecom.Conference.createFailedConference(android.telecom.DisconnectCause, android.telecom.PhoneAccountHandle).

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