setSpeakerVerificationRuntimeOptions method

  1. @override
Future<void> setSpeakerVerificationRuntimeOptions({
  1. double? threshold,
  2. double? hangoverSeconds,
  3. double? preRollSeconds,
  4. double? tailSeconds,
})
override

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,
  });
}