Język

ConnectionCapability Enum

Definition

public enum ConnectionCapability
type ConnectionCapability = 
Inheritance
ConnectionCapability

Fields

Name Value Description
Hold 1

Connection can currently be put on hold or unheld. This is distinct from CAPABILITY_SUPPORT_HOLD in that although a connection may support 'hold' most times, it does not at the moment support the function. This can be true while the call is in the state STATE_DIALING, for example. During this condition, an in-call UI may display a disabled 'hold' button.

Android reference for android.telecom.Connection.CAPABILITY_HOLD.

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.

SupportHold 2

Connection supports the hold feature.

Android reference for android.telecom.Connection.CAPABILITY_SUPPORT_HOLD.

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.

MergeConference 4

Connections within a conference can be merged. A ConnectionService has the option to add a Conference before the child Connections are merged. This is how CDMA-based Connections are implemented. For these unmerged Conferences, this capability allows a merge button to be shown while the conference is in the foreground of the in-call UI.

This is only intended for use by a Conference.

Android reference for android.telecom.Connection.CAPABILITY_MERGE_CONFERENCE.

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.

SwapConference 8

Connections within a conference can be swapped between foreground and background. See CAPABILITY_MERGE_CONFERENCE for additional information.

This is only intended for use by a Conference.

Android reference for android.telecom.Connection.CAPABILITY_SWAP_CONFERENCE.

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.

RespondViaText 32

Connection supports responding via text option.

Android reference for android.telecom.Connection.CAPABILITY_RESPOND_VIA_TEXT.

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.

Mute 64

Connection can be muted.

Android reference for android.telecom.Connection.CAPABILITY_MUTE.

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.

ManageConference 128

Connection supports conference management. This capability only applies to Conferences which can have Connections as children.

Android reference for android.telecom.Connection.CAPABILITY_MANAGE_CONFERENCE.

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.

SupportsVtLocalRx 256

Local device supports receiving video.

Android reference for android.telecom.Connection.CAPABILITY_SUPPORTS_VT_LOCAL_RX.

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.

SupportsVtLocalTx 512

Local device supports transmitting video.

Android reference for android.telecom.Connection.CAPABILITY_SUPPORTS_VT_LOCAL_TX.

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.

SupportsVtLocalBidirectional 768

Local device supports bidirectional video calling.

Android reference for android.telecom.Connection.CAPABILITY_SUPPORTS_VT_LOCAL_BIDIRECTIONAL.

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.

SupportsVtRemoteRx 1024

Remote device supports receiving video.

Android reference for android.telecom.Connection.CAPABILITY_SUPPORTS_VT_REMOTE_RX.

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.

SupportsVtRemoteTx 2048

Remote device supports transmitting video.

Android reference for android.telecom.Connection.CAPABILITY_SUPPORTS_VT_REMOTE_TX.

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.

SupportsVtRemoteBidirectional 3072

Remote device supports bidirectional video calling.

Android reference for android.telecom.Connection.CAPABILITY_SUPPORTS_VT_REMOTE_BIDIRECTIONAL.

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.

SeparateFromConference 4096

Connection is able to be separated from its parent Conference, if any.

Android reference for android.telecom.Connection.CAPABILITY_SEPARATE_FROM_CONFERENCE.

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.

DisconnectFromConference 8192

Connection is able to be individually disconnected when in a Conference.

Android reference for android.telecom.Connection.CAPABILITY_DISCONNECT_FROM_CONFERENCE.

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.

CanUpgradeToVideo 524288

This constant was deprecated in API level 29. Use CAPABILITY_SUPPORTS_VT_LOCAL_BIDIRECTIONAL and CAPABILITY_SUPPORTS_VT_REMOTE_BIDIRECTIONAL to indicate for a call whether or not video calling is supported.

Call can be upgraded to a video call.

Android reference for android.telecom.Connection.CAPABILITY_CAN_UPGRADE_TO_VIDEO.

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.

CanPauseVideo 1048576

For video calls, indicates whether the outgoing video for the call can be paused using the VideoProfile.STATE_PAUSED VideoState.

Android reference for android.telecom.Connection.CAPABILITY_CAN_PAUSE_VIDEO.

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.

CanSendResponseViaConnection 4194304

Indicates that the connection itself wants to handle any sort of reply response, rather than relying on SMS.

Android reference for android.telecom.Connection.CAPABILITY_CAN_SEND_RESPONSE_VIA_CONNECTION.

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.

CannotDowngradeVideoToAudio 8388608

When set, prevents a video call from being downgraded to an audio-only call.

Should be set when the VideoState has the VideoProfile.STATE_TX_ENABLED or VideoProfile.STATE_RX_ENABLED bits set to indicate that the connection cannot be downgraded from a video call back to a VideoState of VideoProfile.STATE_AUDIO_ONLY.

Intuitively, a call which can be downgraded to audio should also have local and remote video capabilities (see CAPABILITY_SUPPORTS_VT_LOCAL_BIDIRECTIONAL and CAPABILITY_SUPPORTS_VT_REMOTE_BIDIRECTIONAL).

Android reference for android.telecom.Connection.CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO.

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.

CanPullCall 16777216

When set for an external connection, indicates that this Connection can be pulled from a remote device to the current device.

Should only be set on a Connection where PROPERTY_IS_EXTERNAL_CALL is set.

Android reference for android.telecom.Connection.CAPABILITY_CAN_PULL_CALL.

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.

SupportDeflect 33554432

Call supports the deflect feature.

Android reference for android.telecom.Connection.CAPABILITY_SUPPORT_DEFLECT.

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.

AddParticipant 67108864

When set, indicates that this Connection supports initiation of a conference call by directly adding participants using onAddConferenceParticipants(List). When participants are added to a Connection, it will be replaced by a Conference instance with PROPERTY_IS_ADHOC_CONFERENCE set to indicate that it is an adhoc conference call.

Android reference for android.telecom.Connection.CAPABILITY_ADD_PARTICIPANT.

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.

RemotePartySupportsRtt 536870912

Indicates whether the remote party supports RTT or not to the UI.

Android reference for android.telecom.Connection.CAPABILITY_REMOTE_PARTY_SUPPORTS_RTT.

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.

Remarks

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.

Applies to