setSpokenLanguage method
Set the spoken language of the current user.
This allows captions to be captured accurately from the current user's selected spoken language.
You can retrieve a list of available spoken languages by calling getAvailableSpokenLanguages() above and set with its languageID.
The default spoken language is English.
languageID
The spoken language ID.
Return ZoomVideoSDKError_Success
if the function succeeds. Otherwise, this function returns an error.
Implementation
@override
Future<String> setSpokenLanguage(num languageID) async {
var params = <String, dynamic>{};
params.putIfAbsent("languageID", () => languageID);
return await methodChannel
.invokeMethod<String>('setSpokenLanguage', params)
.then<String>((String? value) => value ?? "");
}