startTranslation method

Future<void> startTranslation({
  1. Map<String, dynamic>? config,
})

Starts real-time translation.

config is sent to the server as-is; its keys are defined by the VideoSDK translation API. Leave it out to use the defaults. Follow progress with Events.translationStateChanged and read the output with Events.translationText.

Implementation

Future<void> startTranslation({Map<String, dynamic>? config}) =>
    _backend.startTranslation(config: config);