Twilio Client for Android

Skip navigation links
A C D E G I L O P R S T U V 

A

accept() - Method in interface com.twilio.client.Connection
Accepts an incoming connection request.

C

com.twilio.client - package com.twilio.client
 
connect(Map<String, String>, ConnectionListener) - Method in class com.twilio.client.Device
Creates a new connection to the Twilio application specified in the capability token of the Device.
Connection - Interface in com.twilio.client
A Connection object represents the connection between a Device and Twilio's services.
Connection.State - Enum in com.twilio.client
An enum describing the current state of the Connection.
ConnectionListener - Interface in com.twilio.client
The ConnectionListener interface defines a set of callbacks for events related to a Connection.
createDevice(String, DeviceListener) - Static method in class com.twilio.client.Twilio
Create and initialize a new Device object.

D

Device - Class in com.twilio.client
An instance of Device is an object that knows how to interface with Twilio Services.
Device.Capability - Enum in com.twilio.client
This enum is used as keys to the Device's capabilities map.
Device.State - Enum in com.twilio.client
The Device.State enum represents the various states of the device's ability to listen for incoming connections and make outgoing connections.
DeviceListener - Interface in com.twilio.client
The DeviceListener interface defines a set of callbacks for events related to a Device instance.
disconnect() - Method in interface com.twilio.client.Connection
Disconnect the connection.
disconnectAll() - Method in class com.twilio.client.Device
Disconnects all current connections associated with this Device.

E

EXTRA_CONNECTION - Static variable in class com.twilio.client.Device
Key into an Intent's extras data that points to a Connection object.
EXTRA_DEVICE - Static variable in class com.twilio.client.Device
Key into an Intent's extras data that points to a Device object.

G

getCapabilities() - Method in class com.twilio.client.Device
Current capabilities of the Device.
getCapabilityToken() - Method in class com.twilio.client.Device
Retrieves the capability token originally passed to Twilio.createDevice(String, DeviceListener).
getName() - Method in class com.twilio.client.PresenceEvent
The client name for which the event applies.
getParameters() - Method in interface com.twilio.client.Connection
Retrieves the set of application parameters associated with this connection.
getState() - Method in interface com.twilio.client.Connection
Retrieves the current state of the connection.
getState() - Method in class com.twilio.client.Device
Retrieves the current state of the device.
getVersion() - Static method in class com.twilio.client.Twilio
Returns the version of the Twilio SDK.

I

ignore() - Method in interface com.twilio.client.Connection
Ignores an incoming connection request.
IncomingParameterAccountSIDKey - Static variable in interface com.twilio.client.Connection
String representing the account id making the incoming call.
IncomingParameterAPIVersionKey - Static variable in interface com.twilio.client.Connection
String representing the version of the Twilio API used in the server application.
IncomingParameterCallSIDKey - Static variable in interface com.twilio.client.Connection
String representing a unique identifier for the incoming call.
IncomingParameterFromKey - Static variable in interface com.twilio.client.Connection
String representing the calling party.
IncomingParameterToKey - Static variable in interface com.twilio.client.Connection
String representing the client name of the called party.
initialize(Context, Twilio.InitListener) - Static method in class com.twilio.client.Twilio
Initialize the Twilio Client SDK.
isAvailable() - Method in class com.twilio.client.PresenceEvent
Whether or not the client specified by name is currently connected to Twilio services for the account.
isDisconnectSoundEnabled() - Method in class com.twilio.client.Device
Return whether a sound should be played when a connection is disconnected either normally or due to an error.
isIncoming() - Method in interface com.twilio.client.Connection
A boolean representing if the Connection is an incoming or outgoing connection.
isIncomingSoundEnabled() - Method in class com.twilio.client.Device
Return whether a sound should be played for an incoming connection.
isInitialized() - Static method in class com.twilio.client.Twilio
Determines if the Twilio Client SDK has been initialized or not.
isMuted() - Method in interface com.twilio.client.Connection
Reports whether the microphone's audio for the connection is muted.
isOutgoingSoundEnabled() - Method in class com.twilio.client.Device
Return whether a sound should be played for an outgoing connection.

L

listDevices() - Static method in class com.twilio.client.Twilio
Retrieves a list of all active Devices.
listen() - Method in class com.twilio.client.Device
Start listening for incoming connections.

O

onConnected(Connection) - Method in interface com.twilio.client.ConnectionListener
Called after the Connection has successfully connected to your Twilio application.
onConnecting(Connection) - Method in interface com.twilio.client.ConnectionListener
Called for a newly-created Connection when it is connecting to your Twilio application.
onDisconnected(Connection) - Method in interface com.twilio.client.ConnectionListener
Called after the Connection has been disconnected, ignored, or rejected by either party.
onDisconnected(Connection, int, String) - Method in interface com.twilio.client.ConnectionListener
Called when an error occurs on the specified connection.
onError(Exception) - Method in interface com.twilio.client.Twilio.InitListener
Called if there is an error initializing the Twilio Client SDK.
onInitialized() - Method in interface com.twilio.client.Twilio.InitListener
Called when the Twilio Client SDK has been successfully initialized.
onPresenceChanged(Device, PresenceEvent) - Method in interface com.twilio.client.DeviceListener
Called when the presence status for one or more other clients has changed.
onStartListening(Device) - Method in interface com.twilio.client.DeviceListener
Called when the Device has started listening for incoming connections.
onStopListening(Device) - Method in interface com.twilio.client.DeviceListener
Called when the Device has stopped listening for incoming connections.
onStopListening(Device, int, String) - Method in interface com.twilio.client.DeviceListener
Called when the Device has stopped listening for incoming connections due to an error condition.

P

PresenceEvent - Class in com.twilio.client
An object encapsulating client presence state for other clients connected to the Twilio Application.
PresenceEvent(String, boolean) - Constructor for class com.twilio.client.PresenceEvent
 

R

receivePresenceEvents(Device) - Method in interface com.twilio.client.DeviceListener
Called to query whether or not the application wants to receive presence events.
reject() - Method in interface com.twilio.client.Connection
Rejects an incoming connection request.
release() - Method in class com.twilio.client.Device
Shuts down and releases the Device.

S

sendDigits(String) - Method in interface com.twilio.client.Connection
Send a string of digits over the connection.
setConnectionListener(ConnectionListener) - Method in interface com.twilio.client.Connection
Sets the ConnectionListener to receive connection state events.
setDeviceListener(DeviceListener) - Method in class com.twilio.client.Device
Sets a new DeviceListener object to respond to device events.
setDisconnectSoundEnabled(boolean) - Method in class com.twilio.client.Device
Set whether a sound should be played when a connection is disconnected either normally or due to an error.
setIncomingIntent(PendingIntent) - Method in class com.twilio.client.Device
Sets a PendingIntent that will be sent when an incoming connection is received.
setIncomingSoundEnabled(boolean) - Method in class com.twilio.client.Device
Set whether a sound should be played for an incoming connection.
setLogLevel(int) - Static method in class com.twilio.client.Twilio
Sets the logging level for messages logged by the Twilio SDK.
setMetrics(boolean) - Static method in class com.twilio.client.Twilio
Toggle the call metrics publishing feature of the Twilio SDK.
setMuted(boolean) - Method in interface com.twilio.client.Connection
Mutes or unmutes the microphone's audio for the connection.
setOutgoingSoundEnabled(boolean) - Method in class com.twilio.client.Device
Set whether a sound should be played for an outgoing connection.
shutdown() - Static method in class com.twilio.client.Twilio
Shuts down the Twilio Client SDK.

T

toString() - Method in class com.twilio.client.PresenceEvent
 
Twilio - Class in com.twilio.client
Abstract class used to initialize and shut down the Twilio Client SDK.
Twilio.InitListener - Interface in com.twilio.client
Interface for the listener object to pass to Twilio.initialize(Context, InitListener).

U

unlisten() - Method in class com.twilio.client.Device
Stop listening for incoming connections.
updateCapabilityToken(String) - Method in class com.twilio.client.Device
Updates the capabilities of the Device.

V

valueOf(String) - Static method in enum com.twilio.client.Connection.State
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.twilio.client.Device.Capability
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.twilio.client.Device.State
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.twilio.client.Connection.State
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.twilio.client.Device.Capability
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.twilio.client.Device.State
Returns an array containing the constants of this enum type, in the order they are declared.
A C D E G I L O P R S T U V 
Skip navigation links