TTSMessagePriority

public struct TTSMessagePriority

TtsMessagePriority defines the priority level and timeout of the message.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Initializes the TtsMessagePriority with the priority and the timeout.

    Declaration

    Swift

    public init(priorityLevel: UInt = 0, timeout: TimeInterval)

    Parameters

    priorityLevel

    Defines the importance of the message. Lower value means higher priority.

    timeout

    Defines how long the message can stay in the queue. If no value is provided a default one will be used.

  • Declaration

    Swift

    public let priorityLevel: UInt
  • Declaration

    Swift

    public let timeout: TimeInterval