PSPDFMultimediaViewController

@protocol PSPDFMultimediaViewController <NSObject>

A protocol that defines the interface that multimedia view controller plugins must conform to. - warning: The class that implements this protocol must be a UIViewController subclass!

  • Indicates if the controller is currently in fullscreen mode or changes the state.

    Declaration

    Objective-C

    @property (getter=isFullscreen, assign, readwrite, nonatomic) BOOL fullscreen;

    Swift

    var isFullscreen: Bool { get set }
  • Toggle fullscreen presentation, optionally animated

    Declaration

    Objective-C

    - (void)setFullscreen:(BOOL)fullscreen animated:(BOOL)animated;

    Swift

    func setFullscreen(_ fullscreen: Bool, animated: Bool)
  • The zoom scale at which the controller is presented.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) CGFloat zoomScale;

    Swift

    var zoomScale: CGFloat { get set }
  • The delegate that can be used to override classes.

    Declaration

    Objective-C

    @property (readwrite, nonatomic) id<PSPDFOverridable> _Nullable overrideDelegate;
  • Called when a multimedia action (either PSPDFRenditionAction or PSPDFRichMediaExecuteAction) should be performed.

    Declaration

    Objective-C

    - (void)performAction:(nonnull PSPDFAction *)action;

    Swift

    func perform(_ action: PSPDFAction)
  • Configures the controller with the given PSPDFConfiguration.

    Declaration

    Objective-C

    - (void)configure:(nonnull PSPDFConfiguration *)configuration;

    Swift

    optional func configure(_ configuration: PSPDFConfiguration)