Skip navigation links
5.3.0
A B C D E F 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 CallInvite with the provided AcceptOptions and returns a new Call.
accept(Context, Call.Listener) - Method in class com.twilio.voice.CallInvite
Accepts the CallInvite with default AcceptOptions and returns a new Call.
AcceptOptions - Class in com.twilio.voice
Represents options when accepting a CallInvite.
AcceptOptions.Builder - Class in com.twilio.voice
Build new AcceptOptions.
activeCandidatePair - Variable in class com.twilio.voice.IceCandidatePairStats
Identify whether the candidate pair is active.
AUDIO_SAMPLE_MONO - Static variable in class com.twilio.voice.AudioFormat
 
AUDIO_SAMPLE_RATE_16000 - Static variable in class com.twilio.voice.AudioFormat
 
AUDIO_SAMPLE_RATE_24000 - Static variable in class com.twilio.voice.AudioFormat
 
AUDIO_SAMPLE_RATE_32000 - Static variable in class com.twilio.voice.AudioFormat
 
AUDIO_SAMPLE_RATE_44100 - Static variable in class com.twilio.voice.AudioFormat
 
AUDIO_SAMPLE_RATE_48000 - Static variable in class com.twilio.voice.AudioFormat
 
AUDIO_SAMPLE_RATE_8000 - Static variable in class com.twilio.voice.AudioFormat
 
AUDIO_SAMPLE_STEREO - Static variable in class com.twilio.voice.AudioFormat
 
AudioCodec - Class in com.twilio.voice
Abstract base class for audio codecs.
AudioCodec(String) - Constructor for class com.twilio.voice.AudioCodec
 
AudioDevice - Interface in com.twilio.voice
AudioDevice interface allows developers to inject custom audio device capturer and audio device renderer of audio by replacing the default device used by the SDK.
AudioDeviceCapturer - Interface in com.twilio.voice
AudioDeviceCapturer interface provides the mechanism to define a custom audio device capturer.
AudioDeviceContext - Class in com.twilio.voice
An AudioDeviceContext is a context to the audio device used by the SDK.
audioDeviceExecuteWorkerBlock(AudioDeviceContext, Runnable) - Static method in interface com.twilio.voice.AudioDevice
A utility method to execute a runnable on the media engine's worker thread asynchronously.
audioDeviceFormatChanged(AudioDeviceContext) - Static method in interface com.twilio.voice.AudioDevice
This method should be called any time the capturing or rendering format changes.
audioDeviceReadRenderData(AudioDeviceContext, ByteBuffer) - Static method in interface com.twilio.voice.AudioDevice
This method needs to be called by AudioDeviceRenderer ` to pull renderable audio data from the media engine.
AudioDeviceRenderer - Interface in com.twilio.voice
AudioDeviceRenderer interface provides the mechanism to define a custom audio device renderer.
audioDeviceWriteCaptureData(AudioDeviceContext, ByteBuffer) - Static method in interface com.twilio.voice.AudioDevice
This method needs to be called by AudioDeviceCapturer implementation to provide captured data to the media engine.
AudioFormat - Class in com.twilio.voice
AudioFormat describes 16-bit signed Linear Pulse Code Modulation (LPCM) audio.
AudioFormat(int, int) - Constructor for class com.twilio.voice.AudioFormat
 
audioLevel - Variable in class com.twilio.voice.LocalAudioTrackStats
Audio input level
audioLevel - Variable in class com.twilio.voice.RemoteAudioTrackStats
Audio output level
availableIncomingBitrate - Variable in class com.twilio.voice.IceCandidatePairStats
Available bitrate for all the incoming RTP streams using this candidate pair measured in bits per second (excluding IP TCP/UDP headers).
availableOutgoingBitrate - Variable in class com.twilio.voice.IceCandidatePairStats
Available bitrate for all the outgoing RTP streams using this candidate pair measured in bits per second (excluding IP TCP/UDP headers).

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.IceCandidatePairStats
Total number of payload bytes received on this candidate pair (excluding headers or padding).
bytesReceived - Variable in class com.twilio.voice.RemoteTrackStats
Total number of bytes receive
bytesSent - Variable in class com.twilio.voice.IceCandidatePairStats
Total number of payload bytes sent on this candidate pair (excluding headers or padding).
bytesSent - Variable in class com.twilio.voice.LocalTrackStats
Total number of bytes sent for this SSRC

C

Call - Class in com.twilio.voice
The Call class represents a signaling and media session between the host device and Twilio infrastructure.
Call.CallQualityWarning - Enum in com.twilio.voice
 
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.
CallException - Exception in com.twilio.voice
Exceptions related to making and receiving calls.
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.
CancelledCallInvite - Class in com.twilio.voice
Represents an incoming call cancellation.
candidateType - Variable in class com.twilio.voice.IceCandidateStats
Candidate type.
codec - Variable in class com.twilio.voice.BaseTrackStats
Name of codec used for this track
com.twilio.voice - package com.twilio.voice
 
connect(Context, ConnectOptions, Call.Listener) - Static method in class com.twilio.voice.Voice
Creates and returns a new Call.
connect(Context, String, Call.Listener) - Static method in class com.twilio.voice.Voice
Creates and returns 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.
consentRequestsReceived - Variable in class com.twilio.voice.IceCandidatePairStats
Total number of connectivity check retransmissions sent.
consentRequestsSent - Variable in class com.twilio.voice.IceCandidatePairStats
Total number of consent requests received.
consentResponsesReceived - Variable in class com.twilio.voice.IceCandidatePairStats
Total number of consent responses received.
consentResponsesSent - Variable in class com.twilio.voice.IceCandidatePairStats
Total number of consent responses sent.
CREATOR - Static variable in class com.twilio.voice.CallInvite
 
CREATOR - Static variable in class com.twilio.voice.CancelledCallInvite
 
currentRoundTripTime - Variable in class com.twilio.voice.IceCandidatePairStats
Latest round trip time measured in seconds.

D

DefaultAudioDevice - Class in com.twilio.voice
DefaultAudioDevice is the default audio device module SDK uses when a custom one is not provided.
DefaultAudioDevice() - Constructor for class com.twilio.voice.DefaultAudioDevice
 
deleted - Variable in class com.twilio.voice.IceCandidateStats
The candidate is no longer active.
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

enableDscp(boolean) - Method in class com.twilio.voice.AcceptOptions.Builder
Enable Differentiated Services Field Code Point (DSCP) with Expedited Forwarding (EF).
enableDscp(boolean) - Method in class com.twilio.voice.ConnectOptions.Builder
Enable Differentiated Services Field Code Point (DSCP) with Expedited Forwarding (EF).
enableIceGatheringOnAnyAddressPorts(boolean) - Method in class com.twilio.voice.AcceptOptions.Builder
Enable gathering of ICE candidates on "any address" ports.
enableIceGatheringOnAnyAddressPorts(boolean) - Method in class com.twilio.voice.ConnectOptions.Builder
Enable gathering of ICE candidates on "any address" ports.
enableInsights(boolean) - Static method in class com.twilio.voice.Voice
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_ADDRESS_INCOMPLETE_ERROR - Static variable in exception com.twilio.voice.CallException
 
EXCEPTION_AUTH_FAILURE - Static variable in exception com.twilio.voice.VoiceException
 
EXCEPTION_AUTHORIZATION_ERROR - Static variable in exception com.twilio.voice.CallException
 
EXCEPTION_BAD_GATEWAY - Static variable in exception com.twilio.voice.VoiceException
 
EXCEPTION_BAD_REQUEST - Static variable in exception com.twilio.voice.VoiceException
 
EXCEPTION_BUSY_EVERYWHERE_ERROR - Static variable in exception com.twilio.voice.CallException
 
EXCEPTION_BUSY_HERE_ERROR - Static variable in exception com.twilio.voice.CallException
 
EXCEPTION_CALL_CANCELLED - Static variable in exception com.twilio.voice.CallException
 
EXCEPTION_CALL_OR_TRANSACTION_DOES_NOT_EXIST_ERROR - Static variable in exception com.twilio.voice.CallException
 
EXCEPTION_CLIENT_LOCAL_MEDIA_DESCRIPTION - Static variable in exception com.twilio.voice.CallException
 
EXCEPTION_CLIENT_REMOTE_MEDIA_DESCRIPTION - Static variable in exception com.twilio.voice.CallException
 
EXCEPTION_CONFLICT - Static variable in exception com.twilio.voice.RegistrationException
 
EXCEPTION_CONNECTION_ERROR - Static variable in exception com.twilio.voice.CallException
 
EXCEPTION_DECLINE_ERROR - Static variable in exception com.twilio.voice.CallException
 
EXCEPTION_DNS_RESOLUTION - Static variable in exception com.twilio.voice.CallException
 
EXCEPTION_DOES_NOT_EXIST_ANYWHERE_ERROR - Static variable in exception com.twilio.voice.CallException
 
EXCEPTION_FORBIDDEN - Static variable in exception com.twilio.voice.VoiceException
 
EXCEPTION_GATEWAY_TIMEOUT - Static variable in exception com.twilio.voice.VoiceException
 
EXCEPTION_INTERNAL_SERVER_ERROR - 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_APPLICATION_SID - Static variable in exception com.twilio.voice.CallException
 
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
 
EXCEPTION_MALFORMED_REQUEST - Static variable in exception com.twilio.voice.CallException
 
EXCEPTION_MEDIA_CONNECTION_FAILED - Static variable in exception com.twilio.voice.CallException
 
EXCEPTION_NO_SUPPORTED_CODEC - Static variable in exception com.twilio.voice.CallException
 
EXCEPTION_NOT_FOUND - Static variable in exception com.twilio.voice.VoiceException
 
EXCEPTION_REGISTRATION_ERROR - Static variable in exception com.twilio.voice.RegistrationException
 
EXCEPTION_REQUEST_TERMINATED_ERROR - Static variable in exception com.twilio.voice.CallException
 
EXCEPTION_REQUEST_TIMEOUT - Static variable in exception com.twilio.voice.VoiceException
 
EXCEPTION_SERVER_LOCAL_MEDIA_DESCRIPTION - Static variable in exception com.twilio.voice.CallException
 
EXCEPTION_SERVER_REMOTE_MEDIA_DESCRIPTION - Static variable in exception com.twilio.voice.CallException
 
EXCEPTION_SERVICE_UNAVAILABLE - Static variable in exception com.twilio.voice.VoiceException
 
EXCEPTION_SIGNALING_CONNECTION_DISCONNECTED - Static variable in exception com.twilio.voice.CallException
 
EXCEPTION_TEMPORARILY_UNAVAILABLE_ERROR - Static variable in exception com.twilio.voice.CallException
 
EXCEPTION_TOO_MANY_REQUEST - Static variable in exception com.twilio.voice.RegistrationException
 
EXCEPTION_TRANSPORT_ERROR - Static variable in exception com.twilio.voice.CallException
 
EXCEPTION_UNSUPPORTED_CANCEL_MESSAGE_ERROR - Static variable in exception com.twilio.voice.RegistrationException
 
EXCEPTION_UPGRADE_REQUIRED - Static variable in exception com.twilio.voice.RegistrationException
 

F

fromString(String) - Static method in enum com.twilio.voice.Call.CallQualityWarning
 

G

getAccessToken() - Method in class com.twilio.voice.ConnectOptions
The accessToken that provides the identity and grants of the caller.
getAudioDevice() - Static method in class com.twilio.voice.Voice
Returns the AudioDevice.
getCallQualityWarnings() - Method in class com.twilio.voice.Call
Get current set of Call quality warnings.
getCallSid() - Method in class com.twilio.voice.CallInvite
Returns the CallSid.
getCallSid() - Method in class com.twilio.voice.CancelledCallInvite
Returns the CallSid.
getCapturerFormat() - Method in interface com.twilio.voice.AudioDeviceCapturer
Returns the format of the audio that will be captured.
getCapturerFormat() - Method in class com.twilio.voice.DefaultAudioDevice
This method is a no-op that returns null.
getChannelCount() - Method in class com.twilio.voice.AudioFormat
Returns the number of channels in the audio stream.
getCustomParameters() - Method in class com.twilio.voice.CallInvite
Returns the custom parameters.
getCustomParameters() - Method in class com.twilio.voice.CancelledCallInvite
Returns the custom parameters.
getEdge() - Static method in class com.twilio.voice.Voice
Returns the edge specified by Voice.edge.
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 when available.
getFrom() - Method in class com.twilio.voice.CancelledCallInvite
Returns the caller information.
getIceCandidatePairStats() - Method in class com.twilio.voice.StatsReport
Returns stats for all ice candidate pairs in the peer connection.
getIceCandidateStats() - Method in class com.twilio.voice.StatsReport
Returns stats for individual ice candidates in the peer connection
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.
getMaxAverageBitrate() - Method in class com.twilio.voice.OpusCodec
 
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() - Static method in class com.twilio.voice.Voice
Deprecated.
As of release 5.3.0, use Voice.getEdge() instead.
getRemoteAudioTrackStats() - Method in class com.twilio.voice.StatsReport
Returns stats for all remote audio tracks in the peer connection.
getRendererFormat() - Method in interface com.twilio.voice.AudioDeviceRenderer
Returns the format of the audio that will be rendered.
getRendererFormat() - Method in class com.twilio.voice.DefaultAudioDevice
This method is a no-op that returns null.
getSampleRate() - Method in class com.twilio.voice.AudioFormat
Returns the sample rate of the audio stream.
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.
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

IceCandidatePairState - Enum in com.twilio.voice
ICE candidate pair state as defined in RFC 5245.
IceCandidatePairStats - Class in com.twilio.voice
Statistics of ICE candidate pair as defined in Identifiers for WebRTC's Statistics API.
IceCandidateStats - Class in com.twilio.voice
Statistics of ICE candidate as defined in Identifiers for WebRTC's Statistics API
IceCandidateStats(String, boolean, String, int, String, String, int, String, boolean) - Constructor for class com.twilio.voice.IceCandidateStats
 
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.
ip - Variable in class com.twilio.voice.IceCandidateStats
IP address of the candidate.
isDscpEnabled() - Method in class com.twilio.voice.CallOptions
Get the flag that indicates whether Differentiated Services Field Code Point (DSCP) is enabled with Expedited Forwarding (EF).
isIceGatheringOnAnyAddressPortsEnabled() - Method in class com.twilio.voice.CallOptions
Get the flag that indicates whether gathering of ICE candidates on "any address" ports is enabled or not.
isInsightsEnabled() - Static method in class com.twilio.voice.Voice
Returns if reporting statistics to Insights is enabled.
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.
isRemote - Variable in class com.twilio.voice.IceCandidateStats
True indicates remote candidate and false indicates local candidate.
isValid(Context, Bundle) - Static method in class com.twilio.voice.CallInvite
Validates whether the payload is a valid notification sent by Twilio.
isValid(Context, Map<String, String>) - Static method in class com.twilio.voice.CallInvite
Validates whether the payload is a valid notification sent by Twilio.

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
 
localCandidateId - Variable in class com.twilio.voice.IceCandidatePairStats
Unique identifier of the underlying local candidate associated with this candidate pair.
localCandidateIp - Variable in class com.twilio.voice.IceCandidatePairStats
IP address of local candidate.
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

MessageListener - Interface in com.twilio.voice
The MessageListener interface defines a set of callbacks for events related to push notifications for incoming calls.
mos - Variable in class com.twilio.voice.RemoteAudioTrackStats
The Mean Opinion Score (MOS).
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
 
nominated - Variable in class com.twilio.voice.IceCandidatePairStats
Whether the nominated flag was updated as per RFC 5245.

O

onCallInvite(CallInvite) - Method in interface com.twilio.voice.MessageListener
Notifies the listener that an incoming call invite has been received.
onCallQualityWarningsChanged(Call, Set<Call.CallQualityWarning>, Set<Call.CallQualityWarning>) - Method in interface com.twilio.voice.Call.Listener
Emitted when network quality warnings have changed for the Call.
onCancelledCallInvite(CancelledCallInvite, CallException) - 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 GCM or FCM token registration.
onError(RegistrationException, String, String) - Method in interface com.twilio.voice.UnregistrationListener
Reports an error related to GCM or FCM token unregistration.
onInitCapturer() - Method in interface com.twilio.voice.AudioDeviceCapturer
Raised when the capturer is ready to be initialized.
onInitCapturer() - Method in class com.twilio.voice.DefaultAudioDevice
This method is a no-op that returns false.
onInitRenderer() - Method in interface com.twilio.voice.AudioDeviceRenderer
Raised when the Renderer is ready to be initialized.
onInitRenderer() - Method in class com.twilio.voice.DefaultAudioDevice
This method is a no-op that returns false.
onReconnected(Call) - Method in interface com.twilio.voice.Call.Listener
The call is reconnected.
onReconnecting(Call, CallException) - Method in interface com.twilio.voice.Call.Listener
The call starts reconnecting.
onRegistered(String, String) - Method in interface com.twilio.voice.RegistrationListener
Reports a successful GCM or FCM token registration.
onRinging(Call) - Method in interface com.twilio.voice.Call.Listener
Emitted once before the Call.Listener.onConnected(Call) callback.
onStartCapturing(AudioDeviceContext) - Method in interface com.twilio.voice.AudioDeviceCapturer
Raised when the capturer is ready to capture.
onStartCapturing(AudioDeviceContext) - Method in class com.twilio.voice.DefaultAudioDevice
This method is a no-op that returns false.
onStartRendering(AudioDeviceContext) - Method in interface com.twilio.voice.AudioDeviceRenderer
Raised when the renderer is ready to render.
onStartRendering(AudioDeviceContext) - Method in class com.twilio.voice.DefaultAudioDevice
This method is a no-op that returns false.
onStats(List<StatsReport>) - Method in interface com.twilio.voice.StatsListener
Notifies when stats reports for all media tracks are ready.
onStopCapturing() - Method in interface com.twilio.voice.AudioDeviceCapturer
Raised when the capturer stops capturing.
onStopCapturing() - Method in class com.twilio.voice.DefaultAudioDevice
This method is a no-op that returns false.
onStopRendering() - Method in interface com.twilio.voice.AudioDeviceRenderer
Raised when the capturer stops rendering.
onStopRendering() - Method in class com.twilio.voice.DefaultAudioDevice
This method is a no-op that returns false.
onUnregistered(String, String) - Method in interface com.twilio.voice.UnregistrationListener
Reports a successful GCM or FCM token unregistration.
OpusCodec - Class in com.twilio.voice
Lossy audio coding format.
OpusCodec() - Constructor for class com.twilio.voice.OpusCodec
 
OpusCodec(int) - Constructor for class com.twilio.voice.OpusCodec
A constructor to initialize the OpusCodec with non-default attributes.

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
 
port - Variable in class com.twilio.voice.IceCandidateStats
Port number of the candidate.
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.
priority - Variable in class com.twilio.voice.IceCandidatePairStats
Candidate priorities as per RFC 5245.
priority - Variable in class com.twilio.voice.IceCandidateStats
Priority as defined in RFC 5245.
protocol - Variable in class com.twilio.voice.IceCandidateStats
Transport of the candidate, valid values are udp or tcp.

R

readable - Variable in class com.twilio.voice.IceCandidatePairStats
Has gotten a valid incoming ICE request.
register(String, Voice.RegistrationChannel, String, RegistrationListener) - Static method in class com.twilio.voice.Voice
Register for incoming call messages.
RegistrationException - Exception in com.twilio.voice
Exceptions related to registering for push notifications.
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 incoming CallInvite.
relayProtocol - Variable in class com.twilio.voice.IceCandidatePairStats
Relay protocol.
RemoteAudioTrackStats - Class in com.twilio.voice
 
remoteCandidateId - Variable in class com.twilio.voice.IceCandidatePairStats
Unique identifier of the underlying remote candidate associated with this candidate pair.
remoteCandidateIp - Variable in class com.twilio.voice.IceCandidatePairStats
IP address of remote candidate.
RemoteTrackStats - Class in com.twilio.voice
 
RemoteTrackStats(String, int, String, String, double, long, int) - Constructor for class com.twilio.voice.RemoteTrackStats
 
requestsReceived - Variable in class com.twilio.voice.IceCandidatePairStats
Total number of connectivity check requests received.
requestsSent - Variable in class com.twilio.voice.IceCandidatePairStats
Total number of connectivity check requests sent.
responsesReceived - Variable in class com.twilio.voice.IceCandidatePairStats
Total number of connectivity check responses received.
retransmissionsReceived - Variable in class com.twilio.voice.IceCandidatePairStats
Total number of connectivity check responses sent.
retransmissionsSent - Variable in class com.twilio.voice.IceCandidatePairStats
Total number of connectivity check retransmissions received.
roundTripTime - Variable in class com.twilio.voice.LocalTrackStats
Estimated round trip time for this SSRC based on the RTCP timestamps.

S

sendDigits(String) - Method in class com.twilio.voice.Call
Sends a string of DTMF digits.
serverUrl - Variable in class com.twilio.voice.IceServer
 
setAudioDevice(AudioDevice) - Static method in class com.twilio.voice.Voice
Sets the custom audio device.
setEdge(String) - Static method in class com.twilio.voice.Voice
Sets the edge (Twilio data center) for the SDK.
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.
setRegion(String) - Static method in class com.twilio.voice.Voice
Deprecated.
As of release 5.3.0, use Voice.setEdge(String) instead.
setUseHardwareAcousticEchoCanceler(boolean) - Method in class com.twilio.voice.DefaultAudioDevice
Control if the built-in hardware AEC should be used or not.
setUseHardwareNoiseSuppressor(boolean) - Method in class com.twilio.voice.DefaultAudioDevice
Control if the built-in hardware noise suppressor should be used or not.
ssrc - Variable in class com.twilio.voice.BaseTrackStats
Unique name of synchronization source
state - Variable in class com.twilio.voice.IceCandidatePairStats
State of this candidate pair, see IceCandidatePairState.
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.CallQualityWarning
 
toString() - Method in enum com.twilio.voice.Call.Issue
 
toString() - Method in enum com.twilio.voice.Voice.RegistrationChannel
 
totalRoundTripTime - Variable in class com.twilio.voice.IceCandidatePairStats
Sum of all round trip time measurements in seconds since the beginning of the session.
trackId - Variable in class com.twilio.voice.BaseTrackStats
WebRTC Track identifier
transportId - Variable in class com.twilio.voice.IceCandidatePairStats
Unique identifier of the underlying candidate pair.
transportId - Variable in class com.twilio.voice.IceCandidateStats
Unique identifier of the underlying candidate.

U

unregister(String, Voice.RegistrationChannel, String, UnregistrationListener) - Static method in class com.twilio.voice.Voice
Unregister 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.
url - Variable in class com.twilio.voice.IceCandidateStats
The URL of the TURN or STUN server.
useHardwareAcousticEchoCanceler() - Method in class com.twilio.voice.DefaultAudioDevice
Indicates if the built-in hardware AEC is used or not.
useHardwareNoiseSuppressor() - Method in class com.twilio.voice.DefaultAudioDevice
Indicates if the built-in hardware noise suppressor is used or not.
username - Variable in class com.twilio.voice.IceServer
 

V

valueOf(String) - Static method in enum com.twilio.voice.Call.CallQualityWarning
Returns the enum constant of this type with the specified name.
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.IceCandidatePairState
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.CallQualityWarning
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.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.IceCandidatePairState
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.

W

writeable - Variable in class com.twilio.voice.IceCandidatePairStats
Has gotten ACK to an ICE request.
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 F G H I J L M N O P R S T U V W 
Skip navigation links
5.3.0

5.3.0