PSPDFMediaPlayerCoverMode

NS_ENUM(NSUInteger, PSPDFMediaPlayerCoverMode) {
    /// Shows a preview of the video as the cover.
    PSPDFMediaPlayerCoverModePreview,

    /// Shows a custom image as the cover.
    PSPDFMediaPlayerCoverModeCustom,

    /// Hides the cover completely.
    ///
    /// @note If you chose this cover mode, the underlaying player instance will be initialized even
    /// if the content is not playing yet.
    PSPDFMediaPlayerCoverModeHidden,

    /// Shows the cover and hides the video view while the cover is visible.
    PSPDFMediaPlayerCoverModeClear
}

Undocumented

  • Shows a preview of the video as the cover.

    Declaration

    Objective-C

    PSPDFMediaPlayerCoverModePreview

    Swift

    case preview = 0
  • Shows a custom image as the cover.

    Declaration

    Objective-C

    PSPDFMediaPlayerCoverModeCustom

    Swift

    case custom = 1
  • Hides the cover completely.

    - - note: If you chose this cover mode, the underlaying player instance will be initialized even
    if the content is not playing yet.
    

    Declaration

    Objective-C

    PSPDFMediaPlayerCoverModeHidden

    Swift

    case hidden = 2
  • Shows the cover and hides the video view while the cover is visible.

    Declaration

    Objective-C

    PSPDFMediaPlayerCoverModeClear

    Swift

    case clear = 3