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 [TwilioVoice] is the entry point into the SDK and does the following:
- Make outgoing calls with [TwilioVoice connectWithAccessToken:]
- Register for push notifications to receive incoming call invitations with [TwilioVoice registerWithAccessToken:]
- Handle push notifications to receive an incoming call invite or a cancellation to an incoming call invite with [TwilioVoice 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 [TwilioVoice handleNotification:] method.
Class References
- TVOAcceptOptions
- TVOAcceptOptionsBuilder
- TVOAudioCodec
- TVOAudioFormat
- TVOBaseTrackStats
- TVOCall
- TVOCallInvite
- TVOCallOptions
- TVOCallOptionsBuilder
- TVOCancelledCallInvite
- TVOConnectOptions
- TVOConnectOptionsBuilder
- TVODefaultAudioDevice
- TVOIceCandidatePairStats
- TVOIceCandidateStats
- TVOIceOptions
- TVOIceOptionsBuilder
- TVOIceServer
- TVOLocalAudioTrackStats
- TVOLocalTrackStats
- TVOOpusCodec
- TVOPcmuCodec
- TVORemoteAudioTrackStats
- TVORemoteTrackStats
- TVOStatsReport
- TwilioVoice
Protocol References
- TVOAudioDevice
- TVOAudioDeviceCapturer
- TVOAudioDeviceRenderer
- TVOCallDelegate
- TVONotificationDelegate
Constant References
- TVOCallFeedbackIssue
- TVOCallFeedbackScore
- TVOCallState
- TVOError
- TVOIceCandidatePairState
- TVOIceTransportPolicy
- TVOLogLevel
- TVOLogModule