Skip navigation links
3.0.0-beta3
A B C D E G H I J L M N 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.
AudioCodec - Class in com.twilio.voice
Abstract base class for audio codecs.
AudioCodec(String) - Constructor for class com.twilio.voice.AudioCodec
 
AudioDeviceErrorException - Static variable in exception com.twilio.voice.CallException
 
audioLevel - Variable in class com.twilio.voice.LocalAudioTrackStats
Audio input level
audioLevel - Variable in class com.twilio.voice.RemoteAudioTrackStats
Audio output level
AuthorizationInvalidAccessTokenException - Static variable in exception com.twilio.voice.CallException
 

B

BaseTrackStats - Class in com.twilio.voice
 
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
 
bytesReceived - Variable in class com.twilio.voice.RemoteTrackStats
Total number of bytes receive
bytesSent - Variable in class com.twilio.voice.LocalTrackStats
Total number of bytes sent for this SSRC

C

Call - Class in com.twilio.voice
Represents a call.
Call.Issue - Enum in com.twilio.voice
An enum representing issue type associated with a call.
Call.Listener - Interface in com.twilio.voice
Call.Listener interface defines a set of callbacks for events related to call.
Call.Score - Enum in com.twilio.voice
An enum representing call quality score.
Call.State - Enum in com.twilio.voice
An enum describing the possible states of a Call.
CallCancelledException - Static variable in exception com.twilio.voice.CallException
 
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.
CallOptions - Class in com.twilio.voice
Represents options available when connecting to a Call.
CallOptions.Builder - Class in com.twilio.voice
Build new CallOptions.
CallTwiMLApplicationNotFoundException - Static variable in exception com.twilio.voice.CallException
 
CancelledCallInvite - Class in com.twilio.voice
Represents an incoming call cancellation message from Twilio.
checkAudioCodecs(List<AudioCodec>) - Static method in class com.twilio.voice.CallOptions
 
codec - Variable in class com.twilio.voice.BaseTrackStats
Name of codec used for this track
com.twilio.voice - package com.twilio.voice
 
ConfigurationAcquireFailedErrorCode - Static variable in exception com.twilio.voice.CallException
 
ConfigurationAcquireTurnFailedErrorCode - Static variable in exception com.twilio.voice.CallException
 
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
 
CREATOR - Static variable in class com.twilio.voice.CancelledCallInvite
 

D

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

E

enableInsights(boolean) - Method in class com.twilio.voice.AcceptOptions.Builder
Specify reporting statistics to Insights.
enableInsights(boolean) - Method in class com.twilio.voice.ConnectOptions.Builder
Specify reporting statistics to Insights.
equals(Object) - Method in class com.twilio.voice.CallInvite
 
equals(Object) - Method in class com.twilio.voice.CancelledCallInvite
 
EXCEPTION_ACCESS_TOKEN_REJECTED - Static variable in exception com.twilio.voice.VoiceException
 
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
The accessToken that provides the identity and grants of the caller.
getCallSid() - Method in class com.twilio.voice.CallInvite
Returns the CallSid.
getCallSid() - Method in class com.twilio.voice.CancelledCallInvite
Returns the CallSid.
getCustomParameters() - Method in class com.twilio.voice.CallInvite
Returns the custom parameters.
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.
getFrom() - Method in class com.twilio.voice.CancelledCallInvite
Returns the caller information.
getIceOptions() - Method in class com.twilio.voice.CallOptions
Returns the custom ICE configuration used to connect to a Call.
getIceServers() - Method in class com.twilio.voice.IceOptions
 
getIceTransportPolicy() - Method in class com.twilio.voice.IceOptions
 
getLocalAudioTrackStats() - Method in class com.twilio.voice.StatsReport
Returns stats for all local audio tracks in the peer connection.
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.
getName() - Method in class com.twilio.voice.AudioCodec
Returns the string representation of the audio codec.
getParams() - Method in class com.twilio.voice.ConnectOptions
The parameters that are passed to the TwiML application specified by the access token.
getPeerConnectionId() - Method in class com.twilio.voice.StatsReport
Returns the id of peer connection related to this report.
getPreferredAudioCodecs() - Method in class com.twilio.voice.CallOptions
Returns the preferred audio codecs.
getRegion() - Method in class com.twilio.voice.CallOptions
Returns the region specified CallOptions.
getRemoteAudioTrackStats() - Method in class com.twilio.voice.StatsReport
Returns stats for all remote audio tracks in the peer connection.
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.
getStats(StatsListener) - Method in class com.twilio.voice.Call
Retrieve stats for all media tracks and notify StatsListener via calling thread.
getStats() - Method in interface com.twilio.voice.RTCStatsProvider
Method that returns RTCStatsSample.
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.
getTo() - Method in class com.twilio.voice.CancelledCallInvite
Returns the callee information.
getValue() - Method in enum com.twilio.voice.Call.Score
 
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.
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.

J

jitter - Variable in class com.twilio.voice.LocalAudioTrackStats
Packet jitter measured in milliseconds
jitter - Variable in class com.twilio.voice.RemoteAudioTrackStats
Packet jitter measured in milliseconds

L

LocalAudioTrackStats - Class in com.twilio.voice
 
LocalTrackStats - Class in com.twilio.voice
 
LocalTrackStats(String, int, String, String, double, long, int, long) - Constructor for class com.twilio.voice.LocalTrackStats
 
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
 
MediaClientLocalDescFailedErrorCode - Static variable in exception com.twilio.voice.CallException
 
MediaClientRemoteDescFailedErrorCode - Static variable in exception com.twilio.voice.CallException
 
MediaConnectionErrorCode - Static variable in exception com.twilio.voice.CallException
 
MediaNoSupportedCodecErrorCode - Static variable in exception com.twilio.voice.CallException
 
MediaServerLocalDescFailedErrorCode - Static variable in exception com.twilio.voice.CallException
 
MediaServerRemoteDescFailedErrorCode - Static variable in exception com.twilio.voice.CallException
 
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.

N

NAME - Static variable in class com.twilio.voice.OpusCodec
 
NAME - Static variable in class com.twilio.voice.PcmuCodec
 

O

onCallInvite(CallInvite) - Method in interface com.twilio.voice.MessageListener
Notifies the listener that an incoming call invite has been received.
onCancelledCallInvite(CancelledCallInvite) - Method in interface com.twilio.voice.MessageListener
Notifies the listener that an incoming call invite was cancelled.
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(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(Call) callback when the callee is being alerted of a Call.
onStats(List<StatsReport>) - Method in interface com.twilio.voice.StatsListener
Notifies when stats reports for all media tracks are ready.
onUnregistered(String, String) - Method in interface com.twilio.voice.UnregistrationListener
Reports a successful FCM token unregistration.
OpusCodec - Class in com.twilio.voice
Lossy audio coding format.
OpusCodec() - Constructor for class com.twilio.voice.OpusCodec
 

P

packetsLost - Variable in class com.twilio.voice.BaseTrackStats
Total number of RTP packets lost
packetsReceived - Variable in class com.twilio.voice.RemoteTrackStats
Total number of packets received
packetsSent - Variable in class com.twilio.voice.LocalTrackStats
Total number of RTP packets sent for this SSRC
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
 
PcmuCodec - Class in com.twilio.voice
ITU-T standard for audio companding.
PcmuCodec() - Constructor for class com.twilio.voice.PcmuCodec
 
PJ_EUNKNOWN - Static variable in exception com.twilio.voice.SessionException
 
PJ_SUCCESS - Static variable in exception com.twilio.voice.SessionException
 
postFeedback(Call.Score, Call.Issue) - Method in class com.twilio.voice.Call
Posts the feedback collected for this call to Twilio.
preferAudioCodecs(List<AudioCodec>) - Method in class com.twilio.voice.AcceptOptions.Builder
Set preferred audio codecs.
preferAudioCodecs(List<AudioCodec>) - Method in class com.twilio.voice.ConnectOptions.Builder
Set preferred audio codecs.

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(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.
RemoteAudioTrackStats - Class in com.twilio.voice
 
RemoteTrackStats - Class in com.twilio.voice
 
RemoteTrackStats(String, int, String, String, double, long, int) - Constructor for class com.twilio.voice.RemoteTrackStats
 
roundTripTime - Variable in class com.twilio.voice.LocalTrackStats
Estimated round trip time for this SSRC based on the RTCP timestamps.
RTCStatsProvider - Interface in com.twilio.voice
 

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.
SignalingConnectionDisconnectedErrorCode - Static variable in exception com.twilio.voice.CallException
 
SignalingConnectionErrorCode - Static variable in exception com.twilio.voice.CallException
 
SignalingConnectionTimeoutErrorCode - Static variable in exception com.twilio.voice.CallException
 
SignalingIncomingMessageInvalidErrorCode - Static variable in exception com.twilio.voice.CallException
 
SignalingOutgoingMessageInvalidErrorCode - Static variable in exception com.twilio.voice.CallException
 
ssrc - Variable in class com.twilio.voice.BaseTrackStats
Unique name of synchronization source
StatsListener - Interface in com.twilio.voice
Interface that provides event related to Call.getStats(StatsListener)
StatsReport - Class in com.twilio.voice
Stats report contains stats for all the media tracks that exist in peer connection.

T

timestamp - Variable in class com.twilio.voice.BaseTrackStats
Unix timestamp in milliseconds
toString() - Method in class com.twilio.voice.AudioCodec
Returns the name of the audio codec.
toString() - Method in enum com.twilio.voice.Call.Issue
 
toString() - Method in enum com.twilio.voice.Voice.RegistrationChannel
 
trackId - Variable in class com.twilio.voice.BaseTrackStats
WebRTC Track identifier

U

unregister(String, Voice.RegistrationChannel, String, UnregistrationListener) - Static method in class com.twilio.voice.Voice
Unregisters 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.Call.Issue
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.twilio.voice.Call.Score
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.twilio.voice.Call.State
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.Call.Issue
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.twilio.voice.Call.Score
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.twilio.voice.Call.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.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
 
writeToParcel(Parcel, int) - Method in class com.twilio.voice.CancelledCallInvite
 
A B C D E G H I J L M N O P R S T U V W 
Skip navigation links
3.0.0-beta3

3.0.0-beta3