Voice Android 6.4.0
The SDK is composed of several key classes illustrated in the image below.
The class Voice is the entry point into the SDK and does the following:
- Make outgoing calls with Voice.connect(...)
- Register for GCM or FCM messages to receive incoming call invitations with Voice.register(...)
- Handle GCM or FCM messages to receive an incoming call invite or a cancellation to an incoming call invite with Voice.handleMessage(...)
The class Call represents an outgoing or incoming call.
The class CallInvite represents an invitation to an incoming call. You can accept or reject the call invitation using this class.
The class CancelledCallInvite 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 for Voice.handleMessage(...)