Sdílet prostřednictvím


RemoteConnection Class

Definition

A connection provided to a ConnectionService by another ConnectionService running in a different process.

[Android.Runtime.Register("android/telecom/RemoteConnection", ApiSince=23, DoNotGenerateAcw=true)]
public sealed class RemoteConnection : Java.Lang.Object
[<Android.Runtime.Register("android/telecom/RemoteConnection", ApiSince=23, DoNotGenerateAcw=true)>]
type RemoteConnection = class
    inherit Object
Inheritance
RemoteConnection
Attributes

Remarks

A connection provided to a ConnectionService by another ConnectionService running in a different process.

Java documentation for android.telecom.RemoteConnection.

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.

Properties

Address

Obtains the address of this RemoteConnection.

AddressPresentation

Obtains the presentation requirements for the address of this RemoteConnection.

CallerDisplayName
CallerDisplayNameFormatted

Obtains the display name for this RemoteConnection's caller.

CallerDisplayNamePresentation

Obtains the presentation requirements for this RemoteConnection's caller's display name.

Class

Returns the runtime class of this Object.

(Inherited from Object)
Conference

Obtain the RemoteConference that this RemoteConnection may be a part of, or null if there is no such RemoteConference.

ConferenceableConnections

Obtain the RemoteConnections with which this RemoteConnection may be successfully asked to create a conference with.

ConnectionCapabilities

Obtains the capabilities of this RemoteConnection.

ConnectionProperties

Obtains the properties of this RemoteConnection.

DisconnectCause

Obtains the reason why this RemoteConnection may have been disconnected.

Extras

Obtain the extras associated with this RemoteConnection.

Handle

The handle to the underlying Android instance.

(Inherited from Object)
IsRingbackRequested

Determines whether this RemoteConnection is requesting ringback.

IsVoipAudioMode

Determines if the audio mode of this RemoteConnection is VOIP.

JniIdentityHashCode (Inherited from Object)
JniPeerMembers
PeerReference (Inherited from Object)
State

Obtains the state of this RemoteConnection.

StatusHints

Obtains status hints pertaining to this RemoteConnection.

ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)
ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)
VideoState

Obtains the video state of this RemoteConnection.

Methods

Abort()

Instructs this RemoteConnection to abort.

AddConferenceParticipants(IList<Uri>)

Instructs this RemoteConnection to initiate a conference with a list of participants.

Answer()

Instructs this Connection#STATE_RINGINGRemoteConnection to answer.

Clone()

Creates and returns a copy of this object.

(Inherited from Object)
Disconnect()

Instructs this RemoteConnection to disconnect.

Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
GetVideoProvider()

Obtains the video provider of this RemoteConnection.

Hold()

Instructs this RemoteConnection to go on hold.

JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
PlayDtmfTone(Char)

Instructs this RemoteConnection to play a dual-tone multi-frequency signaling (DTMF) tone.

PostDialContinue(Boolean)

Instructs this RemoteConnection to continue playing a post-dial DTMF string.

PullExternalCall()

Instructs this RemoteConnection to pull itself to the local device.

RegisterCallback(RemoteConnection+Callback, Handler)

Adds a callback to this RemoteConnection.

RegisterCallback(RemoteConnection+Callback)

Adds a callback to this RemoteConnection.

Reject()

Instructs this Connection#STATE_RINGINGRemoteConnection to reject.

SetCallAudioState(CallAudioState)

Set the audio state of this RemoteConnection.

SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
StopDtmfTone()

Instructs this RemoteConnection to stop any dual-tone multi-frequency signaling (DTMF) tone currently playing.

ToArray<T>() (Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
Unhold()

Instructs this Connection#STATE_HOLDING call to release from hold.

UnregisterCallback(RemoteConnection+Callback)

Removes a callback from this RemoteConnection.

UnregisterFromRuntime() (Inherited from Object)
Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)

Explicit Interface Implementations

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to