public class

RichMediaAnnotation

extends MediaAnnotation
java.lang.Object
   ↳ com.pspdfkit.annotations.Annotation
     ↳ com.pspdfkit.annotations.LinkAnnotation
       ↳ com.pspdfkit.annotations.AssetAnnotation
         ↳ com.pspdfkit.annotations.MediaAnnotation
           ↳ com.pspdfkit.annotations.RichMediaAnnotation

Class Overview

RichMedia annotations are defined in the ISO32000 Adobe Supplement and are the modern way of embedding video content. PSPDFKit also supports the matching RichMediaExecuteAction action to control video state.

Summary

[Expand]
Inherited Constants
From class com.pspdfkit.annotations.Annotation
[Expand]
Inherited Fields
From class com.pspdfkit.annotations.Annotation
Public Constructors
RichMediaAnnotation(AnnotationPropertyMap properties, boolean markDirty, String resourceId)
Public Methods
AnnotationType getType()
Gets the annotation type of the annotation.
[Expand]
Inherited Methods
From class com.pspdfkit.annotations.MediaAnnotation
From class com.pspdfkit.annotations.AssetAnnotation
From class com.pspdfkit.annotations.LinkAnnotation
From class com.pspdfkit.annotations.Annotation
From class java.lang.Object

Public Constructors

public RichMediaAnnotation (AnnotationPropertyMap properties, boolean markDirty, String resourceId)

Public Methods

public AnnotationType getType ()

Gets the annotation type of the annotation.

Returns
  • The type of the annotation. Makes down casting easier.