TTSState

public enum TTSState
extension TTSState: Equatable

Identifies the player state.

  • Initial state, prior to acting on the first Play directive.

    Declaration

    Swift

    case idle
  • Indicates that audio is currently playing.

    Declaration

    Swift

    case playing
  • Indicates that playback has finished.

    Declaration

    Swift

    case finished
  • Indicates that audio playback was stopped due to an error or a directive which stops or replaces the current stream.

    Declaration

    Swift

    case stopped