Twilio Voice Reference
Overview
The Programmable Voice SDK for iOS makes it easy to add Voice over IP (VoIP) calling into an iOS application. The SDK enables the user to make and receive VoIP calls.
The SDK is composed of several key classes illustrated in the image below.
The class [TwilioVoiceSDK] is the entry point into the SDK and does the following:
- Make outgoing calls with [TwilioVoiceSDK connectWithAccessToken:]
- Register for push notifications to receive incoming call invitations with [TwilioVoiceSDK registerWithAccessToken:]
- Handle push notifications to receive an incoming call invite or a cancellation to an incoming call invite with [TwilioVoiceSDK handleNotification:]
The class [TVOCall] represents an outgoing or incoming call.
The class [TVOCallInvite] represents an invitation to an incoming call. You can accept or reject the call invitation using this class.
The class [TVOCancelledCallInvite] represents an invitation to a call that has been subsequently cancelled. A call can be cancelled for several reasons and this is detailed further in the [TwilioVoiceSDK handleNotification:] method.
Class References
- TVOAcceptOptions
- TVOAcceptOptionsBuilder
- TVOAudioCodec
- TVOAudioFormat
- TVOAudioOptions
- TVOAudioOptionsBuilder
- TVOBaseTrackStats
- TVOCall
- TVOCallInvite
- TVOCallMessage
- TVOCallMessageBuilder
- TVOCallOptions
- TVOCallOptionsBuilder
- TVOCallerInfo
- TVOCancelledCallInvite
- TVOConnectOptions
- TVOConnectOptionsBuilder
- TVODefaultAudioDevice
- TVODefaultLogger
- TVOIceCandidatePairStats
- TVOIceCandidateStats
- TVOIceOptions
- TVOIceOptionsBuilder
- TVOIceServer
- TVOLocalAudioTrackStats
- TVOLocalTrackStats
- TVOLogParameters
- TVOOpusCodec
- TVOPcmuCodec
- TVOPreflightAggregateStats
- TVOPreflightIceCandidate
- TVOPreflightNetworkStats
- TVOPreflightNetworkTiming
- TVOPreflightOptions
- TVOPreflightOptionsBuilder
- TVOPreflightReport
- TVOPreflightSelectedIceCandidatePair
- TVOPreflightStatsSample
- TVOPreflightTest
- TVOPreflightTimeMeasurement
- TVOPreflightWarning
- TVOPreflightWarningCleared
- TVORemoteAudioTrackStats
- TVORemoteTrackStats
- TVOStatsReport
- TwilioVoiceSDK
Protocol References
- TVOAudioDevice
- TVOAudioDeviceCapturer
- TVOAudioDeviceRenderer
- TVOCallDelegate
- TVOCallMessageDelegate
- TVOLogger
- TVONotificationDelegate
- TVOPreflightDelegate
Constant References
- TVOCallFeedbackIssue
- TVOCallFeedbackScore
- TVOCallQualityWarning
- TVOCallState
- TVOIceCandidatePairState
- TVOIceTransportPolicy
- TVOLogLevel
- TVOLogModule
- TVOPreflightCallQuality
- TVOPreflightTestStatus