Added in API level 30

MmTelCapabilities


open class MmTelCapabilities
kotlin.Any
   ↳ 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.

Summary

Constants
static Int

This MmTelFeature supports Call Composer (section 2.4 of RC.20).

static Int

This MmTelFeature supports Business-only Call Composer.

static Int

This MmTelFeature supports SMS (IR.92)

static Int

This MmTelFeature supports XCAP over Ut for supplementary services.

static Int

This MmTelFeature supports Video (IR.94)

static Int

This MmTelFeature supports Voice calling (IR.92)

Public methods
Boolean
isCapable(capabilities: Int)

Constants

CAPABILITY_TYPE_CALL_COMPOSER

Added in API level 31
static val CAPABILITY_TYPE_CALL_COMPOSER: Int

This MmTelFeature supports Call Composer (section 2.4 of RC.20). This is the superset Call Composer, meaning that all subset types of Call Composers must be enabled when this capability is enabled

Value: 16

CAPABILITY_TYPE_CALL_COMPOSER_BUSINESS_ONLY

static val CAPABILITY_TYPE_CALL_COMPOSER_BUSINESS_ONLY: Int

This MmTelFeature supports Business-only Call Composer. This is a subset of CAPABILITY_TYPE_CALL_COMPOSER that only supports business related information for calling (e.g. information to signal if the call is a business call) in the SIP header. When enabling CAPABILITY_TYPE_CALL_COMPOSER, the CAPABILITY_TYPE_CALL_COMPOSER_BUSINESS_ONLY capability must also be enabled.

Value: 32

CAPABILITY_TYPE_SMS

Added in API level 30
static val CAPABILITY_TYPE_SMS: Int

This MmTelFeature supports SMS (IR.92)

Value: 8

CAPABILITY_TYPE_UT

Added in API level 30
static val CAPABILITY_TYPE_UT: Int

This MmTelFeature supports XCAP over Ut for supplementary services. (IR.92)

Value: 4

CAPABILITY_TYPE_VIDEO

Added in API level 30
static val CAPABILITY_TYPE_VIDEO: Int

This MmTelFeature supports Video (IR.94)

Value: 2

CAPABILITY_TYPE_VOICE

Added in API level 30
static val CAPABILITY_TYPE_VOICE: Int

This MmTelFeature supports Voice calling (IR.92)

Value: 1

Public methods