PlayableAsset

public protocol PlayableAsset

Base for all Assets

  • The unique id of the content

    Declaration

    Swift

    var contentId: String { get }
  • primary channel id of the content

    Declaration

    Swift

    var primaryId: String? { get }
  • The media format of the content. Check MediaFormat for possible values.

    Declaration

    Swift

    var mediaFormat: MediaFormat { get }
  • drm

    The drm type of the content. Check DRM for possible values.

    Declaration

    Swift

    var drm: DRM { get }