setSpeakerVerificationRuntimeOptions method
Initializes unified STT and TTS.
Implementation
@override
Future<void> setSpeakerVerificationRuntimeOptions({
double? threshold,
double? hangoverSeconds,
double? preRollSeconds,
double? tailSeconds,
}) {
return methodChannel.invokeMethod<void>('setSpeakerVerificationRuntimeOptions', {
if (threshold != null) 'threshold': threshold,
if (hangoverSeconds != null) 'hangoverSeconds': hangoverSeconds,
if (preRollSeconds != null) 'preRollSeconds': preRollSeconds,
if (tailSeconds != null) 'tailSeconds': tailSeconds,
});
}