Connection.RequestCallEndpointChange 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.
Request audio routing to a specific CallEndpoint.
[Android.Runtime.Register("requestCallEndpointChange", "(Landroid/telecom/CallEndpoint;Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=34)]
public void RequestCallEndpointChange (Android.Telecom.CallEndpoint endpoint, Java.Util.Concurrent.IExecutor executor, Android.OS.IOutcomeReceiver callback);
[<Android.Runtime.Register("requestCallEndpointChange", "(Landroid/telecom/CallEndpoint;Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=34)>]
member this.RequestCallEndpointChange : Android.Telecom.CallEndpoint * Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit
Parameters
- endpoint
- CallEndpoint
The call endpoint to use.
- executor
- IExecutor
The executor of where the callback will execute.
- callback
- IOutcomeReceiver
The callback to notify the result of the endpoint change.
- Attributes
Remarks
Request audio routing to a specific CallEndpoint. Clients should not define their own CallEndpoint when requesting a change. Instead, the new endpoint should be one of the valid endpoints provided by #onAvailableCallEndpointsChanged(List)
. When this request is honored, there will be change to the #getCurrentCallEndpoint()
.
Used by self-managed ConnectionService
s which wish to change the CallEndpoint for a self-managed Connection
(see PhoneAccount#CAPABILITY_SELF_MANAGED
.)
See also InCallService#requestCallEndpointChange(CallEndpoint, Executor, OutcomeReceiver)
.
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.