init(conversationID:isTranslating:localLanguage:remoteLanguage:)
Creates an action that starts or stops translation.
Declaration
init(conversationID: UUID, isTranslating: Bool, localLanguage: Locale.Language, remoteLanguage: Locale.Language)Parameters
- conversationID:
The unique identifier for a conversation.
- isTranslating:
A value that indicates whether translation is active or paused.
- localLanguage:
The local participant’s language.
- remoteLanguage:
The remote participant’s language.