Class Connection
public class Connection : Conferenceable, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Conferenceable>Connection
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<Conferenceable>.IsAssignableFrom(IJavaType)JVMBridgeBase<Conferenceable>.IsAssignableFrom<T>()JVMBridgeBase<Conferenceable>.Execute<T>(params T[])JVMBridgeBase<Conferenceable>.DynBridgeClazzJVMBridgeBase<Conferenceable>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
Connection()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("Connection class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Connection()
Connection(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
[Obsolete("Connection class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Connection(params object[] args)
Parameters
args
object[]
Properties
AUDIO_CODEC_AMR
public static int AUDIO_CODEC_AMR { get; }
Property Value
AUDIO_CODEC_AMR_WB
public static int AUDIO_CODEC_AMR_WB { get; }
Property Value
AUDIO_CODEC_EVRC
public static int AUDIO_CODEC_EVRC { get; }
Property Value
AUDIO_CODEC_EVRC_B
public static int AUDIO_CODEC_EVRC_B { get; }
Property Value
AUDIO_CODEC_EVRC_NW
public static int AUDIO_CODEC_EVRC_NW { get; }
Property Value
AUDIO_CODEC_EVRC_WB
public static int AUDIO_CODEC_EVRC_WB { get; }
Property Value
AUDIO_CODEC_EVS_FB
public static int AUDIO_CODEC_EVS_FB { get; }
Property Value
AUDIO_CODEC_EVS_NB
public static int AUDIO_CODEC_EVS_NB { get; }
Property Value
AUDIO_CODEC_EVS_SWB
public static int AUDIO_CODEC_EVS_SWB { get; }
Property Value
AUDIO_CODEC_EVS_WB
public static int AUDIO_CODEC_EVS_WB { get; }
Property Value
AUDIO_CODEC_G711A
public static int AUDIO_CODEC_G711A { get; }
Property Value
AUDIO_CODEC_G711AB
public static int AUDIO_CODEC_G711AB { get; }
Property Value
AUDIO_CODEC_G711U
public static int AUDIO_CODEC_G711U { get; }
Property Value
AUDIO_CODEC_G722
public static int AUDIO_CODEC_G722 { get; }
Property Value
AUDIO_CODEC_G723
public static int AUDIO_CODEC_G723 { get; }
Property Value
AUDIO_CODEC_G729
public static int AUDIO_CODEC_G729 { get; }
Property Value
AUDIO_CODEC_GSM_EFR
public static int AUDIO_CODEC_GSM_EFR { get; }
Property Value
AUDIO_CODEC_GSM_FR
public static int AUDIO_CODEC_GSM_FR { get; }
Property Value
AUDIO_CODEC_GSM_HR
public static int AUDIO_CODEC_GSM_HR { get; }
Property Value
AUDIO_CODEC_NONE
public static int AUDIO_CODEC_NONE { get; }
Property Value
AUDIO_CODEC_QCELP13K
public static int AUDIO_CODEC_QCELP13K { get; }
Property Value
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
CAPABILITY_ADD_PARTICIPANT
public static int CAPABILITY_ADD_PARTICIPANT { get; }
Property Value
CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO
public static int CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO { get; }
Property Value
CAPABILITY_CAN_PAUSE_VIDEO
public static int CAPABILITY_CAN_PAUSE_VIDEO { get; }
Property Value
CAPABILITY_CAN_PULL_CALL
public static int CAPABILITY_CAN_PULL_CALL { get; }
Property Value
CAPABILITY_CAN_SEND_RESPONSE_VIA_CONNECTION
public static int CAPABILITY_CAN_SEND_RESPONSE_VIA_CONNECTION { get; }
Property Value
CAPABILITY_CAN_UPGRADE_TO_VIDEO
[Obsolete]
public static int CAPABILITY_CAN_UPGRADE_TO_VIDEO { get; }
Property Value
CAPABILITY_DISCONNECT_FROM_CONFERENCE
public static int CAPABILITY_DISCONNECT_FROM_CONFERENCE { get; }
Property Value
CAPABILITY_HOLD
public static int CAPABILITY_HOLD { get; }
Property Value
CAPABILITY_MANAGE_CONFERENCE
https://developer.android.com/reference/android/telecom/Connection.html#CAPABILITY_MANAGE_CONFERENCE
public static int CAPABILITY_MANAGE_CONFERENCE { get; }
Property Value
CAPABILITY_MERGE_CONFERENCE
public static int CAPABILITY_MERGE_CONFERENCE { get; }
Property Value
CAPABILITY_MUTE
public static int CAPABILITY_MUTE { get; }
Property Value
CAPABILITY_REMOTE_PARTY_SUPPORTS_RTT
public static int CAPABILITY_REMOTE_PARTY_SUPPORTS_RTT { get; }
Property Value
CAPABILITY_RESPOND_VIA_TEXT
public static int CAPABILITY_RESPOND_VIA_TEXT { get; }
Property Value
CAPABILITY_SEPARATE_FROM_CONFERENCE
public static int CAPABILITY_SEPARATE_FROM_CONFERENCE { get; }
Property Value
CAPABILITY_SUPPORTS_VT_LOCAL_BIDIRECTIONAL
public static int CAPABILITY_SUPPORTS_VT_LOCAL_BIDIRECTIONAL { get; }
Property Value
CAPABILITY_SUPPORTS_VT_LOCAL_RX
public static int CAPABILITY_SUPPORTS_VT_LOCAL_RX { get; }
Property Value
CAPABILITY_SUPPORTS_VT_LOCAL_TX
public static int CAPABILITY_SUPPORTS_VT_LOCAL_TX { get; }
Property Value
CAPABILITY_SUPPORTS_VT_REMOTE_BIDIRECTIONAL
public static int CAPABILITY_SUPPORTS_VT_REMOTE_BIDIRECTIONAL { get; }
Property Value
CAPABILITY_SUPPORTS_VT_REMOTE_RX
public static int CAPABILITY_SUPPORTS_VT_REMOTE_RX { get; }
Property Value
CAPABILITY_SUPPORTS_VT_REMOTE_TX
public static int CAPABILITY_SUPPORTS_VT_REMOTE_TX { get; }
Property Value
CAPABILITY_SUPPORT_DEFLECT
public static int CAPABILITY_SUPPORT_DEFLECT { get; }
Property Value
CAPABILITY_SUPPORT_HOLD
public static int CAPABILITY_SUPPORT_HOLD { get; }
Property Value
CAPABILITY_SWAP_CONFERENCE
public static int CAPABILITY_SWAP_CONFERENCE { get; }
Property Value
EVENT_CALL_HOLD_FAILED
public static String EVENT_CALL_HOLD_FAILED { get; }
Property Value
EVENT_CALL_MERGE_FAILED
public static String EVENT_CALL_MERGE_FAILED { get; }
Property Value
EVENT_CALL_PULL_FAILED
public static String EVENT_CALL_PULL_FAILED { get; }
Property Value
EVENT_CALL_REMOTELY_HELD
public static String EVENT_CALL_REMOTELY_HELD { get; }
Property Value
EVENT_CALL_REMOTELY_UNHELD
public static String EVENT_CALL_REMOTELY_UNHELD { get; }
Property Value
EVENT_CALL_SWITCH_FAILED
public static String EVENT_CALL_SWITCH_FAILED { get; }
Property Value
EVENT_MERGE_COMPLETE
public static String EVENT_MERGE_COMPLETE { get; }
Property Value
EVENT_MERGE_START
public static String EVENT_MERGE_START { get; }
Property Value
EVENT_ON_HOLD_TONE_END
public static String EVENT_ON_HOLD_TONE_END { get; }
Property Value
EVENT_ON_HOLD_TONE_START
public static String EVENT_ON_HOLD_TONE_START { get; }
Property Value
EVENT_RTT_AUDIO_INDICATION_CHANGED
public static String EVENT_RTT_AUDIO_INDICATION_CHANGED { get; }
Property Value
EXTRA_ANSWERING_DROPS_FG_CALL
public static String EXTRA_ANSWERING_DROPS_FG_CALL { get; }
Property Value
EXTRA_ANSWERING_DROPS_FG_CALL_APP_NAME
public static String EXTRA_ANSWERING_DROPS_FG_CALL_APP_NAME { get; }
Property Value
EXTRA_AUDIO_CODEC
public static String EXTRA_AUDIO_CODEC { get; }
Property Value
EXTRA_AUDIO_CODEC_BANDWIDTH_KHZ
public static String EXTRA_AUDIO_CODEC_BANDWIDTH_KHZ { get; }
Property Value
EXTRA_AUDIO_CODEC_BITRATE_KBPS
public static String EXTRA_AUDIO_CODEC_BITRATE_KBPS { get; }
Property Value
EXTRA_CALL_SUBJECT
public static String EXTRA_CALL_SUBJECT { get; }
Property Value
EXTRA_CHILD_ADDRESS
public static String EXTRA_CHILD_ADDRESS { get; }
Property Value
EXTRA_IS_RTT_AUDIO_PRESENT
public static String EXTRA_IS_RTT_AUDIO_PRESENT { get; }
Property Value
EXTRA_LAST_FORWARDED_NUMBER
public static String EXTRA_LAST_FORWARDED_NUMBER { get; }
Property Value
EXTRA_LAST_KNOWN_CELL_IDENTITY
public static String EXTRA_LAST_KNOWN_CELL_IDENTITY { get; }
Property Value
EXTRA_SIP_INVITE
public static String EXTRA_SIP_INVITE { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
PROPERTY_ASSISTED_DIALING
public static int PROPERTY_ASSISTED_DIALING { get; }
Property Value
PROPERTY_CROSS_SIM
public static int PROPERTY_CROSS_SIM { get; }
Property Value
PROPERTY_HAS_CDMA_VOICE_PRIVACY
public static int PROPERTY_HAS_CDMA_VOICE_PRIVACY { get; }
Property Value
PROPERTY_HIGH_DEF_AUDIO
public static int PROPERTY_HIGH_DEF_AUDIO { get; }
Property Value
PROPERTY_IS_ADHOC_CONFERENCE
https://developer.android.com/reference/android/telecom/Connection.html#PROPERTY_IS_ADHOC_CONFERENCE
public static int PROPERTY_IS_ADHOC_CONFERENCE { get; }
Property Value
PROPERTY_IS_EXTERNAL_CALL
public static int PROPERTY_IS_EXTERNAL_CALL { get; }
Property Value
PROPERTY_IS_RTT
public static int PROPERTY_IS_RTT { get; }
Property Value
PROPERTY_NETWORK_IDENTIFIED_EMERGENCY_CALL
public static int PROPERTY_NETWORK_IDENTIFIED_EMERGENCY_CALL { get; }
Property Value
PROPERTY_SELF_MANAGED
public static int PROPERTY_SELF_MANAGED { get; }
Property Value
PROPERTY_WIFI
public static int PROPERTY_WIFI { get; }
Property Value
STATE_ACTIVE
public static int STATE_ACTIVE { get; }
Property Value
STATE_DIALING
public static int STATE_DIALING { get; }
Property Value
STATE_DISCONNECTED
public static int STATE_DISCONNECTED { get; }
Property Value
STATE_HOLDING
public static int STATE_HOLDING { get; }
Property Value
STATE_INITIALIZING
public static int STATE_INITIALIZING { get; }
Property Value
STATE_NEW
public static int STATE_NEW { get; }
Property Value
STATE_PULLING_CALL
public static int STATE_PULLING_CALL { get; }
Property Value
STATE_RINGING
public static int STATE_RINGING { get; }
Property Value
VERIFICATION_STATUS_FAILED
public static int VERIFICATION_STATUS_FAILED { get; }
Property Value
VERIFICATION_STATUS_NOT_VERIFIED
public static int VERIFICATION_STATUS_NOT_VERIFIED { get; }
Property Value
VERIFICATION_STATUS_PASSED
public static int VERIFICATION_STATUS_PASSED { get; }
Property Value
Methods
CapabilitiesToString(int)
public static String CapabilitiesToString(int arg0)
Parameters
Returns
CreateCanceledConnection()
public static Connection CreateCanceledConnection()
Returns
CreateFailedConnection(DisconnectCause)
public static Connection CreateFailedConnection(DisconnectCause arg0)
Parameters
Returns
Destroy()
public void Destroy()
GetAddress()
public Uri GetAddress()
Returns
GetAddressPresentation()
public int GetAddressPresentation()
Returns
GetAudioModeIsVoip()
public bool GetAudioModeIsVoip()
Returns
GetCallAudioState()
[Obsolete]
public CallAudioState GetCallAudioState()
Returns
GetCallerDisplayName()
public String GetCallerDisplayName()
Returns
GetCallerDisplayNamePresentation()
public int GetCallerDisplayNamePresentation()
Returns
GetCallerNumberVerificationStatus()
public int GetCallerNumberVerificationStatus()
Returns
GetConference()
public Conference GetConference()
Returns
GetConferenceables()
public List<Conferenceable> GetConferenceables()
Returns
GetConnectionCapabilities()
public int GetConnectionCapabilities()
Returns
GetConnectionProperties()
public int GetConnectionProperties()
Returns
GetCurrentCallEndpoint()
public CallEndpoint GetCurrentCallEndpoint()
Returns
GetDisconnectCause()
public DisconnectCause GetDisconnectCause()
Returns
GetExtras()
public Bundle GetExtras()
Returns
GetState()
public int GetState()
Returns
GetStatusHints()
public StatusHints GetStatusHints()
Returns
GetVideoProvider()
public Connection.VideoProvider GetVideoProvider()
Returns
GetVideoState()
public int GetVideoState()
Returns
HandleRttUpgradeResponse(RttTextStream)
public void HandleRttUpgradeResponse(Connection.RttTextStream arg0)
Parameters
IsRingbackRequested()
public bool IsRingbackRequested()
Returns
NotifyConferenceMergeFailed()
public void NotifyConferenceMergeFailed()
OnAbort()
public void OnAbort()
OnAddConferenceParticipants(List<Uri>)
public void OnAddConferenceParticipants(List<Uri> arg0)
Parameters
OnAnswer()
public void OnAnswer()
OnAnswer(int)
public void OnAnswer(int arg0)
Parameters
OnAvailableCallEndpointsChanged(List<CallEndpoint>)
public void OnAvailableCallEndpointsChanged(List<CallEndpoint> arg0)
Parameters
arg0
List<CallEndpoint>
OnCallAudioStateChanged(CallAudioState)
[Obsolete]
public void OnCallAudioStateChanged(CallAudioState arg0)
Parameters
OnCallEndpointChanged(CallEndpoint)
public void OnCallEndpointChanged(CallEndpoint arg0)
Parameters
arg0
CallEndpoint
OnCallEvent(String, Bundle)
public void OnCallEvent(String arg0, Bundle arg1)
Parameters
OnDeflect(Uri)
public void OnDeflect(Uri arg0)
Parameters
OnDisconnect()
public void OnDisconnect()
OnExtrasChanged(Bundle)
public void OnExtrasChanged(Bundle arg0)
Parameters
OnHandoverComplete()
public void OnHandoverComplete()
OnHold()
public void OnHold()
OnMuteStateChanged(bool)
public void OnMuteStateChanged(bool arg0)
Parameters
OnPlayDtmfTone(char)
public void OnPlayDtmfTone(char arg0)
Parameters
OnPostDialContinue(bool)
public void OnPostDialContinue(bool arg0)
Parameters
OnPullExternalCall()
public void OnPullExternalCall()
OnReject()
public void OnReject()
OnReject(String)
public void OnReject(String arg0)
Parameters
OnReject(int)
public void OnReject(int arg0)
Parameters
OnSeparate()
public void OnSeparate()
OnShowIncomingCallUi()
public void OnShowIncomingCallUi()
OnSilence()
public void OnSilence()
OnStartRtt(RttTextStream)
public void OnStartRtt(Connection.RttTextStream arg0)
Parameters
OnStateChanged(int)
public void OnStateChanged(int arg0)
Parameters
OnStopDtmfTone()
public void OnStopDtmfTone()
OnStopRtt()
public void OnStopRtt()
OnTrackedByNonUiService(bool)
public void OnTrackedByNonUiService(bool arg0)
Parameters
OnUnhold()
public void OnUnhold()
OnUsingAlternativeUi(bool)
public void OnUsingAlternativeUi(bool arg0)
Parameters
PropertiesToString(int)
public static String PropertiesToString(int arg0)
Parameters
Returns
PutExtras(Bundle)
https://developer.android.com/reference/android/telecom/Connection.html#putExtras(android.os.Bundle)
public void PutExtras(Bundle arg0)
Parameters
QueryLocationForEmergency(long, String, Executor, OutcomeReceiver<Location, QueryLocationException>)
public void QueryLocationForEmergency(long arg0, String arg1, Executor arg2, OutcomeReceiver<Location, QueryLocationException> arg3)
Parameters
arg0
longarg1
Stringarg2
Executorarg3
OutcomeReceiver<Location, QueryLocationException>
RemoveExtras(params String[])
public void RemoveExtras(params String[] arg0)
Parameters
RemoveExtras(List<String>)
https://developer.android.com/reference/android/telecom/Connection.html#removeExtras(java.util.List)
public void RemoveExtras(List<String> arg0)
Parameters
RequestBluetoothAudio(BluetoothDevice)
[Obsolete]
public void RequestBluetoothAudio(BluetoothDevice arg0)
Parameters
RequestCallEndpointChange(CallEndpoint, Executor, OutcomeReceiver<Void, CallEndpointException>)
public void RequestCallEndpointChange(CallEndpoint arg0, Executor arg1, OutcomeReceiver<Void, CallEndpointException> arg2)
Parameters
arg0
CallEndpointarg1
Executorarg2
OutcomeReceiver<Void, CallEndpointException>
SendConnectionEvent(String, Bundle)
public void SendConnectionEvent(String arg0, Bundle arg1)
Parameters
SendRemoteRttRequest()
public void SendRemoteRttRequest()
SendRttInitiationFailure(int)
public void SendRttInitiationFailure(int arg0)
Parameters
SendRttInitiationSuccess()
public void SendRttInitiationSuccess()
SendRttSessionRemotelyTerminated()
public void SendRttSessionRemotelyTerminated()
SetActive()
public void SetActive()
SetAddress(Uri, int)
public void SetAddress(Uri arg0, int arg1)
Parameters
SetAudioModeIsVoip(bool)
public void SetAudioModeIsVoip(bool arg0)
Parameters
SetAudioRoute(int)
[Obsolete]
public void SetAudioRoute(int arg0)
Parameters
SetCallerDisplayName(String, int)
public void SetCallerDisplayName(String arg0, int arg1)
Parameters
SetCallerNumberVerificationStatus(int)
public void SetCallerNumberVerificationStatus(int arg0)
Parameters
SetConferenceableConnections(List<Connection>)
public void SetConferenceableConnections(List<Connection> arg0)
Parameters
arg0
List<Connection>
SetConferenceables(List<Conferenceable>)
public void SetConferenceables(List<Conferenceable> arg0)
Parameters
arg0
List<Conferenceable>
SetConnectionCapabilities(int)
public void SetConnectionCapabilities(int arg0)
Parameters
SetConnectionProperties(int)
https://developer.android.com/reference/android/telecom/Connection.html#setConnectionProperties(int)
public void SetConnectionProperties(int arg0)
Parameters
SetDialing()
public void SetDialing()
SetDisconnected(DisconnectCause)
public void SetDisconnected(DisconnectCause arg0)
Parameters
SetExtras(Bundle)
https://developer.android.com/reference/android/telecom/Connection.html#setExtras(android.os.Bundle)
public void SetExtras(Bundle arg0)
Parameters
SetInitialized()
public void SetInitialized()
SetInitializing()
public void SetInitializing()
SetNextPostDialChar(char)
public void SetNextPostDialChar(char arg0)
Parameters
SetOnHold()
public void SetOnHold()
SetPostDialWait(String)
public void SetPostDialWait(String arg0)
Parameters
SetPulling()
public void SetPulling()
SetRingbackRequested(bool)
public void SetRingbackRequested(bool arg0)
Parameters
SetRinging()
public void SetRinging()
SetStatusHints(StatusHints)
public void SetStatusHints(StatusHints arg0)
Parameters
arg0
StatusHints
SetVideoProvider(VideoProvider)
public void SetVideoProvider(Connection.VideoProvider arg0)
Parameters
SetVideoState(int)
public void SetVideoState(int arg0)
Parameters
StateToString(int)
public static String StateToString(int arg0)