ConnectionService.CreateRemoteOutgoingConnection Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Ask some other ConnectionService
to create a RemoteConnection
given an
outgoing request.
[Android.Runtime.Register("createRemoteOutgoingConnection", "(Landroid/telecom/PhoneAccountHandle;Landroid/telecom/ConnectionRequest;)Landroid/telecom/RemoteConnection;", "", ApiSince=23)]
public Android.Telecom.RemoteConnection? CreateRemoteOutgoingConnection (Android.Telecom.PhoneAccountHandle connectionManagerPhoneAccount, Android.Telecom.ConnectionRequest request);
[<Android.Runtime.Register("createRemoteOutgoingConnection", "(Landroid/telecom/PhoneAccountHandle;Landroid/telecom/ConnectionRequest;)Landroid/telecom/RemoteConnection;", "", ApiSince=23)>]
member this.CreateRemoteOutgoingConnection : Android.Telecom.PhoneAccountHandle * Android.Telecom.ConnectionRequest -> Android.Telecom.RemoteConnection
Parameters
- connectionManagerPhoneAccount
- PhoneAccountHandle
See description at
#onCreateOutgoingConnection(PhoneAccountHandle, ConnectionRequest)
.
- request
- ConnectionRequest
Details about the outgoing call.
Returns
The Connection
object to satisfy this call, or null
to
not handle the call.
- Attributes
Remarks
Ask some other ConnectionService
to create a RemoteConnection
given an outgoing request. This is used by ConnectionService
s that are registered with PhoneAccount#CAPABILITY_CONNECTION_MANAGER
and want to be able to use the SIM-based ConnectionService
to place its outgoing calls.
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.