Udostępnij za pośrednictwem


ConnectionService.OnCreateIncomingConferenceFailed Method

Definition

Called by Telecom to inform the ConnectionService that its request to create a new incoming Conference was denied.

[Android.Runtime.Register("onCreateIncomingConferenceFailed", "(Landroid/telecom/PhoneAccountHandle;Landroid/telecom/ConnectionRequest;)V", "GetOnCreateIncomingConferenceFailed_Landroid_telecom_PhoneAccountHandle_Landroid_telecom_ConnectionRequest_Handler", ApiSince=31)]
public virtual void OnCreateIncomingConferenceFailed (Android.Telecom.PhoneAccountHandle? connectionManagerPhoneAccount, Android.Telecom.ConnectionRequest? request);
[<Android.Runtime.Register("onCreateIncomingConferenceFailed", "(Landroid/telecom/PhoneAccountHandle;Landroid/telecom/ConnectionRequest;)V", "GetOnCreateIncomingConferenceFailed_Landroid_telecom_PhoneAccountHandle_Landroid_telecom_ConnectionRequest_Handler", ApiSince=31)>]
abstract member OnCreateIncomingConferenceFailed : Android.Telecom.PhoneAccountHandle * Android.Telecom.ConnectionRequest -> unit
override this.OnCreateIncomingConferenceFailed : Android.Telecom.PhoneAccountHandle * Android.Telecom.ConnectionRequest -> unit

Parameters

connectionManagerPhoneAccount
PhoneAccountHandle

See description at #onCreateOutgoingConnection(PhoneAccountHandle, ConnectionRequest).

request
ConnectionRequest

The incoming connection request.

Attributes

Remarks

Called by Telecom to inform the ConnectionService that its request to create a new incoming Conference was denied.

Used when a self-managed ConnectionService attempts to create a new incoming Conference, but Telecom has determined that the call cannot be allowed at this time. The ConnectionService is responsible for silently rejecting the new incoming Conference.

See TelecomManager#isIncomingCallPermitted(PhoneAccountHandle) for more information.

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