PSPDFRichMediaExecuteAction


@interface PSPDFRichMediaExecuteAction : PSPDFAction

A rich-media-execute action identifies a rich media annotation and specifies a command to be sent to that annotation’s handler. (See Section 9.6, “Rich Media” on page 76. of the Adobe® Supplement to the ISO 32000)

  • Designated initializer.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithCommand:(nullable NSString *)command
                                   argument:(nullable id)argument
                                 annotation:(nullable PSPDFRichMediaAnnotation *)
                                                annotation;

    Swift

    init(command: String?, argument: Any?, annotation: PSPDFRichMediaAnnotation?)
  • The rich media action command.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nullable) NSString *command;

    Swift

    var command: String? { get }
  • The rich media action command argument.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nullable) id argument;

    Swift

    var argument: Any? { get }
  • The associated screen annotation. Optional. Will link to an already existing annotation.

    Declaration

    Objective-C

    @property (readonly, nonatomic) PSPDFRichMediaAnnotation *_Nullable annotation;

    Swift

    weak var annotation: PSPDFRichMediaAnnotation? { get }