- 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.
- getCallerInfo() - Method in class com.twilio.voice.CallInvite
-
Returns the
CallerInfo
that provides caller verification information about the caller.
- 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
-
- 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
-
- 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.
- IceCandidatePairState - Enum in com.twilio.voice
-
ICE candidate pair state as defined in
RFC
5245.
- IceCandidatePairStats - Class in com.twilio.voice
-
- IceCandidateStats - Class in com.twilio.voice
-
- 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
-
- 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.
- isVerified() - Method in class com.twilio.voice.CallerInfo
-
Returns `true` if the caller has been validated at 'A' level, `false` if the caller has been verified at any lower
level or has failed validation.
- 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
-
- 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.
- 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.