# Print output for @column tags ?>
public
static
class
MmTelFeature.MmTelCapabilities
extends Object
java.lang.Object | |
↳ | android.telephony.ims.feature.MmTelFeature.MmTelCapabilities |
Contains the capabilities defined and supported by a MmTelFeature in the form of a Bitmask.
The capabilities that are used in MmTelFeature are defined as
MmTelCapabilities#CAPABILITY_TYPE_VOICE
,
MmTelCapabilities#CAPABILITY_TYPE_VIDEO
,
MmTelCapabilities#CAPABILITY_TYPE_UT
,
MmTelCapabilities#CAPABILITY_TYPE_SMS
, and
MmTelCapabilities#CAPABILITY_TYPE_CALL_COMPOSER
.
The capabilities of this MmTelFeature will be set by the framework.
Constants | |
---|---|
int |
CAPABILITY_TYPE_CALL_COMPOSER
This MmTelFeature supports Call Composer (section 2.4 of RC.20) |
int |
CAPABILITY_TYPE_SMS
This MmTelFeature supports SMS (IR.92) |
int |
CAPABILITY_TYPE_UT
This MmTelFeature supports XCAP over Ut for supplementary services. |
int |
CAPABILITY_TYPE_VIDEO
This MmTelFeature supports Video (IR.94) |
int |
CAPABILITY_TYPE_VOICE
This MmTelFeature supports Voice calling (IR.92) |
Public methods | |
---|---|
final
boolean
|
isCapable(int capabilities)
|
Inherited methods | |
---|---|
public static final int CAPABILITY_TYPE_CALL_COMPOSER
This MmTelFeature supports Call Composer (section 2.4 of RC.20)
Constant Value: 16 (0x00000010)
public static final int CAPABILITY_TYPE_SMS
This MmTelFeature supports SMS (IR.92)
Constant Value: 8 (0x00000008)
public static final int CAPABILITY_TYPE_UT
This MmTelFeature supports XCAP over Ut for supplementary services. (IR.92)
Constant Value: 4 (0x00000004)
public static final int CAPABILITY_TYPE_VIDEO
This MmTelFeature supports Video (IR.94)
Constant Value: 2 (0x00000002)
public static final int CAPABILITY_TYPE_VOICE
This MmTelFeature supports Voice calling (IR.92)
Constant Value: 1 (0x00000001)
public final boolean isCapable (int capabilities)
Parameters | |
---|---|
capabilities |
int : a bitmask of one or more capabilities.
Value is either 0 or a combination of CAPABILITY_TYPE_VOICE , CAPABILITY_TYPE_VIDEO , CAPABILITY_TYPE_UT , CAPABILITY_TYPE_SMS , and CAPABILITY_TYPE_CALL_COMPOSER |
Returns | |
---|---|
boolean |
true if all queried capabilities are true, otherwise false. |