Share via


ConnectionService.AddExistingConnection Method

Definition

Adds a connection created by the ConnectionService and informs telecom of the new connection.

[Android.Runtime.Register("addExistingConnection", "(Landroid/telecom/PhoneAccountHandle;Landroid/telecom/Connection;)V", "", ApiSince=23)]
public void AddExistingConnection (Android.Telecom.PhoneAccountHandle? phoneAccountHandle, Android.Telecom.Connection? connection);
[<Android.Runtime.Register("addExistingConnection", "(Landroid/telecom/PhoneAccountHandle;Landroid/telecom/Connection;)V", "", ApiSince=23)>]
member this.AddExistingConnection : Android.Telecom.PhoneAccountHandle * Android.Telecom.Connection -> unit

Parameters

phoneAccountHandle
PhoneAccountHandle

The phone account handle for the connection.

connection
Connection

The connection to add.

Attributes

Remarks

Adds a connection created by the ConnectionService and informs telecom of the new connection.

Java documentation for android.telecom.ConnectionService.addExistingConnection(android.telecom.PhoneAccountHandle, android.telecom.Connection).

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