/** * Indicates to the relevant {@code RemoteConnectionService} that the specified {@link * RemoteConnection}s should be merged into a conference call. * * <p>If the conference request is successful, the method {@link #onRemoteConferenceAdded} will be * invoked. * * @param remoteConnection1 The first of the remote connections to conference. * @param remoteConnection2 The second of the remote connections to conference. */ public final void conferenceRemoteConnections( RemoteConnection remoteConnection1, RemoteConnection remoteConnection2) { mRemoteConnectionManager.conferenceRemoteConnections(remoteConnection1, remoteConnection2); }
/** * Ask some other {@code ConnectionService} to create a {@code RemoteConnection} given an outgoing * request. This is used by {@code ConnectionService}s that are registered with {@link * PhoneAccount#CAPABILITY_CONNECTION_MANAGER} and want to be able to use the SIM-based {@code * ConnectionService} to place its outgoing calls. * * @param connectionManagerPhoneAccount See description at {@link * #onCreateOutgoingConnection(PhoneAccountHandle, ConnectionRequest)}. * @param request Details about the incoming call. * @return The {@code Connection} object to satisfy this call, or {@code null} to not handle the * call. */ public final RemoteConnection createRemoteOutgoingConnection( PhoneAccountHandle connectionManagerPhoneAccount, ConnectionRequest request) { return mRemoteConnectionManager.createRemoteConnection( connectionManagerPhoneAccount, request, false); }