Skip navigation links
3.0.0-preview2
A B C D E G H I L M O P R S T U V W 

A

accept(Context, AcceptOptions, Call.Listener) - Method in class com.twilio.voice.CallInvite
Accepts the Call with ConnectOptions.
accept(Context, Call.Listener) - Method in class com.twilio.voice.CallInvite
Accepts the Call with ConnectOptions.
AcceptOptions - Class in com.twilio.voice
Represents options when accepting a CallInvite.
AcceptOptions.Builder - Class in com.twilio.voice
Build new AcceptOptions.
AudioDeviceErrorException - Static variable in exception com.twilio.voice.CallException
 
AuthorizationInvalidAccessTokenException - Static variable in exception com.twilio.voice.CallException
 

B

build() - Method in class com.twilio.voice.AcceptOptions.Builder
Builds AcceptOptions object.
build() - Method in class com.twilio.voice.ConnectOptions.Builder
Builds ConnectOptions object.
build() - Method in class com.twilio.voice.IceOptions.Builder
 
Builder() - Constructor for class com.twilio.voice.AcceptOptions.Builder
Use this Builder when accepting a CallInvite
Builder(String) - Constructor for class com.twilio.voice.ConnectOptions.Builder
Use this Builder when making a Call
Builder() - Constructor for class com.twilio.voice.IceOptions.Builder
 

C

Call - Class in com.twilio.voice
Represents a call.
Call.Listener - Interface in com.twilio.voice
Call.Listener interface defines a set of callbacks for events related to call.
CallConnectionErrorException - Static variable in exception com.twilio.voice.CallException
 
CallConnectionTimeoutException - Static variable in exception com.twilio.voice.CallException
 
CallException - Exception in com.twilio.voice
Exceptions related to making and receiving calls.
CallException(int, String, String) - Constructor for exception com.twilio.voice.CallException
 
CallInvite - Class in com.twilio.voice
Represents an incoming call message from Twilio.
CallInvite.State - Enum in com.twilio.voice
 
CallOptions - Class in com.twilio.voice
Represents options available when connecting to a Call.
CallOptions.Builder - Class in com.twilio.voice
Build new CallOptions.
CallState - Enum in com.twilio.voice
An enum describing the possible states of a Call.
CallTwiMLApplicationNotFoundException - Static variable in exception com.twilio.voice.CallException
 
com.twilio.voice - package com.twilio.voice
 
connect(Context, ConnectOptions, Call.Listener) - Static method in class com.twilio.voice.Voice
Creates a new Call.
connect(Context, String, Call.Listener) - Static method in class com.twilio.voice.Voice
Creates a new Call.
ConnectOptions - Class in com.twilio.voice
Represents options when connecting to a Call.
ConnectOptions.Builder - Class in com.twilio.voice
Build new ConnectOptions.
CREATOR - Static variable in class com.twilio.voice.CallInvite
 

D

describeContents() - Method in class com.twilio.voice.CallInvite
 
disconnect() - Method in class com.twilio.voice.Call
Disconnects the Call.

E

equals(Object) - Method in class com.twilio.voice.CallInvite
 
EXCEPTION_AUTH_FAILURE - Static variable in exception com.twilio.voice.VoiceException
 
EXCEPTION_INVALID_ACCESS_TOKEN - Static variable in exception com.twilio.voice.VoiceException
 
EXCEPTION_INVALID_ACCESS_TOKEN_EXPIRY - Static variable in exception com.twilio.voice.VoiceException
 
EXCEPTION_INVALID_ACCESS_TOKEN_GRANT - Static variable in exception com.twilio.voice.VoiceException
 
EXCEPTION_INVALID_ACCESS_TOKEN_HEADER - Static variable in exception com.twilio.voice.VoiceException
 
EXCEPTION_INVALID_ACCESS_TOKEN_NOT_VALID_YET - Static variable in exception com.twilio.voice.VoiceException
 
EXCEPTION_INVALID_ISSUER_SUBJECT - Static variable in exception com.twilio.voice.VoiceException
 
EXCEPTION_INVALID_SIGNATURE - Static variable in exception com.twilio.voice.VoiceException
 
EXCEPTION_INVALID_TOKEN - Static variable in exception com.twilio.voice.VoiceException
 
EXCEPTION_INVALID_TTL - Static variable in exception com.twilio.voice.VoiceException
 

G

getAccessToken() - Method in class com.twilio.voice.ConnectOptions
 
getCallSid() - Method in class com.twilio.voice.CallInvite
Returns the CallSid.
getErrorCode() - Method in exception com.twilio.voice.VoiceException
 
getExplanation() - Method in exception com.twilio.voice.VoiceException
Returns the explanation related to the exception.
getFrom() - Method in class com.twilio.voice.Call
Returns the caller information when available.
getFrom() - Method in class com.twilio.voice.CallInvite
Returns the caller information.
getIceOptions() - Method in class com.twilio.voice.CallOptions
 
getIceServers() - Method in class com.twilio.voice.IceOptions
 
getIceTransportPolicy() - Method in class com.twilio.voice.IceOptions
 
getLogLevel() - Static method in class com.twilio.voice.Voice
Returns the logging level for messages logged by the Voice SDK.
getMessage() - Method in exception com.twilio.voice.VoiceException
 
getModuleLogLevel(LogModule) - Static method in class com.twilio.voice.Voice
Returns the logging level for messages logged by the specified LogModule.
getParams() - Method in class com.twilio.voice.ConnectOptions
 
getRegion() - Method in class com.twilio.voice.CallOptions
Returns the region specified CallOptions.
getSid() - Method in class com.twilio.voice.Call
Returns the call sid.
getState() - Method in class com.twilio.voice.Call
Returns the current state of the call.
getState() - Method in class com.twilio.voice.CallInvite
Returns the current state of the call invite.
getStatusCode() - Method in exception com.twilio.voice.SessionException
 
getTo() - Method in class com.twilio.voice.Call
Returns the callee information when available.
getTo() - Method in class com.twilio.voice.CallInvite
Returns the callee information.
getVersion() - Static method in class com.twilio.voice.Voice
Returns the version of the Voice SDK.

H

handleMessage(Context, Map<String, String>, MessageListener) - Static method in class com.twilio.voice.Voice
Handle messages from FCM.
handleMessage(Context, Bundle, MessageListener) - Static method in class com.twilio.voice.Voice
Handle messages from GCM
hold(boolean) - Method in class com.twilio.voice.Call
Holds or un-holds the audio.

I

iceOptions(IceOptions) - Method in class com.twilio.voice.AcceptOptions.Builder
Custom ICE configuration used to connect to a Call.
iceOptions(IceOptions) - Method in class com.twilio.voice.ConnectOptions.Builder
Custom ICE configuration used to connect to a Call.
IceOptions - Class in com.twilio.voice
IceOptions specifies custom media connectivity configurations.
IceOptions.Builder - Class in com.twilio.voice
 
IceServer - Class in com.twilio.voice
IceServer is a single STUN or TURN server.
IceServer(String) - Constructor for class com.twilio.voice.IceServer
 
IceServer(String, String, String) - Constructor for class com.twilio.voice.IceServer
 
iceServers(Set<IceServer>) - Method in class com.twilio.voice.IceOptions.Builder
Set of IceServer objects to be used during connection establishment.
iceTransportPolicy(IceTransportPolicy) - Method in class com.twilio.voice.IceOptions.Builder
The transport policy to use.
IceTransportPolicy - Enum in com.twilio.voice
IceTransportPolicy specifies which ICE transports to allow.
InvalidDataException - Static variable in exception com.twilio.voice.MessageException
 
isMuted() - Method in class com.twilio.voice.Call
Reports whether the audio input is muted.
isOnHold() - Method in class com.twilio.voice.Call
Reports whether the call is on hold.

L

LogLevel - Enum in com.twilio.voice
Logging levels available in the SDK.
LogModule - Enum in com.twilio.voice
Enumerates the modules that can be logged in the SDK.

M

MalformedInvalidRequestException - Static variable in exception com.twilio.voice.CallException
 
MessageException - Exception in com.twilio.voice
Exceptions related to invalid message data.
MessageException(int, String, String) - Constructor for exception com.twilio.voice.MessageException
 
MessageListener - Interface in com.twilio.voice
The MessageListener interface defines a set of callbacks for events related to push notifications for incoming calls.
mute(boolean) - Method in class com.twilio.voice.Call
Mutes or unmutes the audio input.

O

onCallInvite(CallInvite) - Method in interface com.twilio.voice.MessageListener
Notifies the listener that an incoming call invite has been received.
onConnected(Call) - Method in interface com.twilio.voice.Call.Listener
The call has connected.
onConnectFailure(Call, CallException) - Method in interface com.twilio.voice.Call.Listener
The call failed to connect.
onDisconnected(Call, CallException) - Method in interface com.twilio.voice.Call.Listener
The call was disconnected.
onError(MessageException) - Method in interface com.twilio.voice.MessageListener
Notifies the listener that an error occurred processing the message data.
onError(RegistrationException, String, String) - Method in interface com.twilio.voice.RegistrationListener
Reports an error related to FCM token registration.
onError(RegistrationException, String, String) - Method in interface com.twilio.voice.UnregistrationListener
Reports an error related to FCM token unregistration.
onRegistered(String, String) - Method in interface com.twilio.voice.RegistrationListener
Reports a successful FCM token registration.
onRinging(Call) - Method in interface com.twilio.voice.Call.Listener
Emitted once before the Call.Listener.onConnected callback when the callee is being alerted of a Call.
onUnregistered(String, String) - Method in interface com.twilio.voice.UnregistrationListener
Reports a successful FCM token unregistration.

P

params(Map<String, String>) - Method in class com.twilio.voice.ConnectOptions.Builder
Set the parameters that are passed to the TwiML application specified by the access token.
password - Variable in class com.twilio.voice.IceServer
 
PJ_EUNKNOWN - Static variable in exception com.twilio.voice.SessionException
 
PJ_SUCCESS - Static variable in exception com.twilio.voice.SessionException
 

R

region(String) - Method in class com.twilio.voice.AcceptOptions.Builder
Sets the region (Twilio data center) for the SDK.
region(String) - Method in class com.twilio.voice.ConnectOptions.Builder
Sets the region (Twilio data center) for the SDK.
register(Context, String, Voice.RegistrationChannel, String, RegistrationListener) - Static method in class com.twilio.voice.Voice
Register for incoming call messages
REGISTRATION_ERROR_CODE - Static variable in exception com.twilio.voice.RegistrationException
 
RegistrationException - Exception in com.twilio.voice
Exceptions related to registering for push notifications.
RegistrationException(int, String, String) - Constructor for exception com.twilio.voice.RegistrationException
 
RegistrationListener - Interface in com.twilio.voice
RegistrationListener interface defines a set of callbacks for events related to Voice's register request.
reject(Context) - Method in class com.twilio.voice.CallInvite
Rejects the Call.

S

sendDigits(String) - Method in class com.twilio.voice.Call
Sends a string of DTMF digits.
serverUrl - Variable in class com.twilio.voice.IceServer
 
SessionException - Exception in com.twilio.voice
 
SessionException(String, int) - Constructor for exception com.twilio.voice.SessionException
 
SessionException() - Constructor for exception com.twilio.voice.SessionException
 
SessionException(String) - Constructor for exception com.twilio.voice.SessionException
 
setLogLevel(LogLevel) - Static method in class com.twilio.voice.Voice
Sets the logging level for messages logged by the Voice SDK.
setModuleLogLevel(LogModule, LogLevel) - Static method in class com.twilio.voice.Voice
Sets the logging level for messages logged by a specific module.

T

toString() - Method in enum com.twilio.voice.Voice.RegistrationChannel
 

U

unregister(Context, String, Voice.RegistrationChannel, String, UnregistrationListener) - Static method in class com.twilio.voice.Voice
Unregisters with FCM token from receiving further incoming call messages.
UnregistrationListener - Interface in com.twilio.voice
UnregistrationListener interface defines a set of callbacks for events related to Voice's unregister request.
username - Variable in class com.twilio.voice.IceServer
 

V

valueOf(String) - Static method in enum com.twilio.voice.CallInvite.State
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.twilio.voice.CallState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.twilio.voice.IceTransportPolicy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.twilio.voice.LogLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.twilio.voice.LogModule
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.twilio.voice.Voice.RegistrationChannel
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.twilio.voice.CallInvite.State
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.twilio.voice.CallState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.twilio.voice.IceTransportPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.twilio.voice.LogLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.twilio.voice.LogModule
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.twilio.voice.Voice.RegistrationChannel
Returns an array containing the constants of this enum type, in the order they are declared.
Voice - Class in com.twilio.voice
 
Voice.RegistrationChannel - Enum in com.twilio.voice
 
VoiceException - Exception in com.twilio.voice
A parent class of all Voice exceptions.
VoiceException(int, String, String) - Constructor for exception com.twilio.voice.VoiceException
 

W

writeToParcel(Parcel, int) - Method in class com.twilio.voice.CallInvite
 
A B C D E G H I L M O P R S T U V W 
Skip navigation links
3.0.0-preview2

3.0.0-preview2