Twilio Voice Reference
The Programmable Voice SDK for iOS makes it easy for you to add Voice over IP (VoIP) calling into your iOS application. The SDK allows you to make and receive 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 documentation of this class.