PSPDFScreenAnnotation

Objective-C


@interface PSPDFScreenAnnotation : PSPDFAssetAnnotation <PSPDFOverridable>

Swift

class ScreenAnnotation : AssetAnnotation, Overridable

A screen annotation (PDF 1.5) specifies a region of a page upon which media clips may be played. It also serves as an object from which actions can be triggered. PSPDFKit also supports the matching Rendition Actions to control the video play state.

Note

iOS cannot play all video/audio formats that can be used for PDF.
  • Defaults the window type the media should play in.

    Note

    only .UseAnnotationRectangle and .Hidden is currently supported.

    Declaration

    Objective-C

    @property (atomic, readonly) PSPDFMediaScreenWindowType mediaScreenWindowType;

    Swift

    var mediaScreenWindowType: ScreenAnnotation.MediaScreenWindowType { get }