StatusEnum

enum StatusEnum

Playback statuses.

  • Command succeeded.

    Declaration

    Swift

    case success
  • Command failed: Requested playback command is invalid in the current playback state.

    Declaration

    Swift

    case invalidStateForCommand
  • Command failed: The requested playback command is not allowed in the current playback state. For example, attempting to fast-forward during a commercial might return NotAllowed.

    Declaration

    Swift

    case notAllowed
  • Command failed: This endpoint is not active for playback.

    Declaration

    Swift

    case notActive
  • Command failed: The FastForward command or Rewind command was issued but the media is already playing back at the fastest speed supported by the server in the respective direction.

    Declaration

    Swift

    case speedOutOfRange
  • Command failed: The Seek command was issued with a specified position that is outside the allowed seek range of the media.

    Declaration

    Swift

    case seekOutOfRange
  • Creates a new instance with the specified raw value.

    If there is no value of the type that corresponds with the specified raw value, this initializer returns nil. For example:

    enum PaperSize: String {
        case A4, A5, Letter, Legal
    }
    
    print(PaperSize(rawValue: "Legal"))
    // Prints "Optional("PaperSize.Legal")"
    
    print(PaperSize(rawValue: "Tabloid"))
    // Prints "nil"
    

    Declaration

    Swift

    init?(rawValue: UInt64)

    Parameters

    rawValue

    The raw value to use for the new instance.