start PTTEmergency
Call this method to start a new Emergency PTT call
Note the audio sink feature will be ENABLED by default when using this method.
Parameters
Context the application context
String conversation name for the created group thread that will be associated to the call session
Int the call priority
Boolean true when need to request the media burst when the call is started
CompletionCallback is a block of code which will be invoked when the call is created
FallbackCallback is a block of code which will be invoked when a cellular call fallback needed
STWAudioSinkPlayCallback is a block of code which will be invoked when the play sink is ready and there is a valid data, and when the play sink is ended
STWAudioSinkCaptureCallback is a block of code which will be invoked when the capture sink is ready and there is a valid data, and when the capture sink is ended
Call this method to start a new emergency PTT call
Note : the audio sink feature will be enabled automatically for this method.
Return
Flow STWAudioSink : abstract class can be : STWAudioSinkCall : the call is started, it contain an instance of the call or the error if the start fail. STWAudioSinkCapture : when the capture is ready, has data and when it is ended(each state is identified by an event from AudioSinkEvent. STWAudioSinkPlay : when the capture is ready, has data and when it is ended(each state is identified by an event from AudioSinkEvent.