2. FSTT SDK features
init SDK
appId
String
Application id
key
String
Secret key
Contact us for get app_id
& secret_key
Register callback
Implement FTechSSTManagerDelegate
After registration, the SDK will return the corresponding status in the callback.
onStart
Called at start record
onRecording
Called while in process recording
onCompletion
Called when completed record process and return result
onFailure
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 onFailure() in callback
Stop STT
Used to stop record and process record to text result
When successful, the SDK will be return text result on onCompletion() in callback. Handling stop record successfully here.
When fails, it will be processed at callback onFailure() in callback.
Last updated