flutter_ioe_sdk

Last updated:

0 purchases

flutter_ioe_sdk Image
flutter_ioe_sdk Images
Add to Cart

Description:

flutter ioe sdk

IOE FLUTTER SDK #
Add existing frameworks
1. SDK Integration #
Init Record SDK
FIOESdkManager.initRecord(String appId, String secretKey, InitSdkCallback initSdkCallback)
copied to clipboard



Param
Type
Description




appId
String
Application id


secretKey
String
IOE secret key


initSdkCallback
(onSuccess: Void, String: onError)
Listen for initialization success or initialization error



2. SDK Feature #
Start Record
FIOESdkManager.startRecord(String referenceText, LanguageAccent englishAccent, String? extraData)
copied to clipboard



Param
Type
Description




referenceText
String
Pronunciation reference text


LanguageAccent
LanguageAccent
LanguageAccent SDK


extraData
String
Attach data (Optional)


Stop Record





FIOESdkManager.stopRecord()
copied to clipboard
Register Start Record CallBack
FIOESdkManager.init();
FIOESdkManager.registerRecordingListener(IFtechRecordingCallback(onStart: (){
print('onStart');
}, onRecording: (){
print('onRecording');
}, onFail: (exception){
print('onError: $exception');
}, onComplete: (response){
print('onComplete');
}));
}
copied to clipboard
3. Example #
Init State
void initState() {
super.initState();
#init sdk
FIOESdkManager.init();
#register for callback start or stop record
FIOESdkManager.registerRecordingListener(IFtechRecordingCallback(onStart: (){
print('onStart');
}, onRecording: (){
print('onRecording');
}, onFail: (exception){
print('onError: $exception');
}, onComplete: (response){
print('onComplete');
}));
}
copied to clipboard
Start record
FIOESdkManager.startRecord(referenceText: 'start record', englishAccent: LanguageAccent.english);
copied to clipboard
Stop record
FIOESdkManager.stopRecord();
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.