2. FSTT SDK features
Init gateway
Contact us for get app_id
& secret_key
Register SDK Callback
After registration, the SDK will return the corresponding status in the callback
onStart
Called at start record
onRecording
Called while in process recording
onSuccess
Called when completed record process and return result
onFail
Called when an error occurs in process recording
Start STT
Used to start record for STT
When successful start, the SDK starts entering the recording state, it will be called on
onStart()
in callback. Handling start record successfully here.When start record fails, it will be processed at callback
onFail()
in callback.
Stop STT
Used to stop record and process record to text result
When successful, the SDK will be return text result on
onSuccess()
in callback. Handling stop record successfully here.When fails, it will be processed at callback
onFail()
in callback.
Last updated