Get Started

Device.Capability Class Reference

Overview

  • Package: com.twilio.client
  • Subclass of: Enum

This enum is used as keys to the Device's capabilities map.

The class of the value in the Map is annotated with each enum value.

Tasks

Name Description Type
INCOMING boolean that indicates whether the device can receive incoming calls. Field
OUTGOING boolean that indicates whether the device can make outgoing calls. Field
EXPIRATION long that represents the time the device's capability token expires (number of seconds relative to the UNIX epoch). Field
ACCOUNT_SID String representing the account SID. Field
APPLICATION_SID String representing the application SID used when making an outgoing call. Only present if OUTGOING is also present with a true value. Field
APPLICATION_PARAMETERS a Map<String, String> of parameters that are sent to the Twilio Application with each outgoing connection. Field
CLIENT_NAME a String representing the client name that should be used for incoming calls. Field

Fields

INCOMING

boolean that indicates whether the device can receive incoming calls.

OUTGOING

boolean that indicates whether the device can make outgoing calls.

EXPIRATION

long that represents the time the device's capability token expires (number of seconds relative to the UNIX epoch).

ACCOUNT_SID

String representing the account SID.

APPLICATION_SID

String representing the application SID used when making an outgoing call. Only present if OUTGOING is also present with a true value.

APPLICATION_PARAMETERS

a Map<String, String> of parameters that are sent to the Twilio Application with each outgoing connection.

CLIENT_NAME

a String representing the client name that should be used for incoming calls.