Other Enumerations

The following enumerations are available globally.

  • OTVDrmSecurityLevel represents the rated security for the different codecs

    See more

    Declaration

    Objective-C

    enum OTVDRMSecurityLevel : NSInteger {}

    Swift

    enum OTVDRMSecurityLevel : Int, @unchecked Sendable
  • ObjectiveC compatible enumeration of the possible errors of a persistence asset.

    See more

    Declaration

    Objective-C

    enum OTVDownloadError : NSInteger {}

    Swift

    enum OTVDownloadError : Int, @unchecked Sendable
  • OTVIFrameThumbnailError is an enum that represent they type of error associated with OTVThumbnail I-Frames

    See more

    Declaration

    Objective-C

    enum OTVThumbnailError : NSInteger {}

    Swift

    enum OTVIFrameThumbnailError : Int, @unchecked Sendable
  • SSM session renewal mode

    See more

    Declaration

    Objective-C

    enum OTVLicenseRenewType : NSInteger {}

    Swift

    enum OTVLicenseRenewType : Int, @unchecked Sendable
  • License request type

    See more

    Declaration

    Objective-C

    enum OTVLicenseRequestType : NSInteger {}

    Swift

    enum OTVLicenseRequestType : Int, @unchecked Sendable
  • Declaration

    Objective-C

    SWIFT_ENUM(NSInteger, OTVMediaSelectionOptions, open) {
    /// Preferred media tracks assoiciated with the asset
      OTVMediaSelectionOptionsPerferred = 1,
    /// All media tracks assoiciated with the asset
      OTVMediaSelectionOptionsAll = 2,
    }

    Swift

    enum OTVMediaSelectionOptions : Int, @unchecked Sendable
  • Declaration

    Objective-C

    SWIFT_ENUM(NSInteger, OTVHTTPError, open) {
    /// Unrecognized http response 400.
      OTVHTTPErrorUnrecognizedHttpResponse400 = 400,
    /// HTTP 401: Unauthorized
      OTVHTTPErrorHttp401Unauthorized = 401,
    /// Unrecognized http response 402.
      OTVHTTPErrorUnrecognizedHttpResponse402 = 402,
    /// HTTP 403: Forbidden.
      OTVHTTPErrorHttp403Forbidden = 403,
    /// HTTP 404: File not found.
      OTVHTTPErrorHttp404FileNotFound = 404,
    /// Unrecognized http response 405.
      OTVHTTPErrorUnrecognizedHttpResponse405 = 405,
    /// Unrecognized http response 406.
      OTVHTTPErrorUnrecognizedHttpResponse406 = 406,
    /// Unrecognized http response 407.
      OTVHTTPErrorUnrecognizedHttpResponse407 = 407,
    /// Unrecognized http response 408.
      OTVHTTPErrorUnrecognizedHttpResponse408 = 408,
    /// Unrecognized http response 409.
      OTVHTTPErrorUnrecognizedHttpResponse409 = 409,
    /// Unrecognized http response 410.
      OTVHTTPErrorUnrecognizedHttpResponse410 = 410,
    /// Unrecognized http response 411.
      OTVHTTPErrorUnrecognizedHttpResponse411 = 411,
    /// Unrecognized http response 412.
      OTVHTTPErrorUnrecognizedHttpResponse412 = 412,
    /// Unrecognized http response 413.
      OTVHTTPErrorUnrecognizedHttpResponse413 = 413,
    /// Unrecognized http response 414.
      OTVHTTPErrorUnrecognizedHttpResponse414 = 414,
    /// Unrecognized http response 415.
      OTVHTTPErrorUnrecognizedHttpResponse415 = 415,
    /// Unrecognized http response 500.
      OTVHTTPErrorUnrecognizedHttpResponse500 = 500,
    /// Unrecognized http response 501.
      OTVHTTPErrorUnrecognizedHttpResponse501 = 501,
    /// Unrecognized http response 502.
      OTVHTTPErrorUnrecognizedHttpResponse502 = 502,
    /// HTTP 503: Unavailable.
      OTVHTTPErrorHttp503Unavailable = 503,
    /// Unrecognized http response 504.
      OTVHTTPErrorUnrecognizedHttpResponse504 = 504,
    /// Unrecognized http response 505.
      OTVHTTPErrorUnrecognizedHttpResponse505 = 505,
    }

    Swift

    enum OTVHTTPError : Int, @unchecked Sendable
  • Declaration

    Objective-C

    SWIFT_ENUM(NSInteger, NetworkError, open) {
      NetworkErrorUnknown = -1001,
      NetworkErrorHttpError = 400,
    }

    Swift

    enum NetworkError : Int, @unchecked Sendable
  • Declaration

    Objective-C

    SWIFT_ENUM(NSInteger, Event, open) {
      EventSelectedBitrateChanged = 0,
      EventAvailableBitratesChanged = 1,
      EventUrlChanged = 2,
      EventErrorChanged = 3,
    }

    Swift

    enum Event : Int, @unchecked Sendable
  • Declaration

    Objective-C

    SWIFT_ENUM(NSInteger, OTVOutputDeviceType, open) {
    /// Digital output consists of HDMI output from HDMI adapters.
    /// These can be connected to iOS,iPadOS and tvOS devices.
      OTVOutputDeviceTypeDigital = 1,
    /// Airplay output can be setup between an iOS/iPadOS device to a tvOS device.
      OTVOutputDeviceTypeAirplay = 2,
    /// Screen recording can be activated by an iOS/iPadOS device by clicking the recording button from the control pannel.
      OTVOutputDeviceTypeRecording = 3,
    /// mirroring output can be setup between an iOS/iPadOS device to a tvOS device.
      OTVOutputDeviceTypeMirroring = 4,
    /// This is an unknown type of output.
      OTVOutputDeviceTypeUnknown = 5,
    }

    Swift

    enum OTVOutputDeviceType : Int, @unchecked Sendable