SCPReaderTextToSpeechStatus

Objective-C

enum SCPReaderTextToSpeechStatus : NSUInteger {}

Swift

enum ReaderTextToSpeechStatus : UInt, @unchecked Sendable

Represents the current text to speech status of the reader. Note that the actual text to speech value returned here may not match what was last requested since the reader may switch to headphones if the customer plugs in headphones and the state will reset to off after reboots.

See the Reader Settings

  • Text to speech status is not known. This can happen if there was an error reading the text to speech status on the reader. check the error property.

    Declaration

    Objective-C

    SCPReaderTextToSpeechStatusUnknown

    Swift

    case unknown = 0
  • Text to speech is not enabled

    Declaration

    Objective-C

    SCPReaderTextToSpeechStatusOff

    Swift

    case off = 1
  • Text to speech is enabled via headphones

    Declaration

    Objective-C

    SCPReaderTextToSpeechStatusHeadphones

    Swift

    case headphones = 2
  • Text to speech is enabled via speakers

    Declaration

    Objective-C

    SCPReaderTextToSpeechStatusSpeakers

    Swift

    case speakers = 3