public class

ScreenAnnotation

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

Class Overview

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.

Summary

[Expand]
Inherited Constants
From class com.pspdfkit.annotations.Annotation
[Expand]
Inherited Fields
From class com.pspdfkit.annotations.Annotation
Public Constructors
ScreenAnnotation(AnnotationProperties annotationProperties, String resourceId, NativeAnnotation nativeAnnotation)
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 ScreenAnnotation (AnnotationProperties annotationProperties, String resourceId, NativeAnnotation nativeAnnotation)

Public Methods

public AnnotationType getType ()

Gets the annotation type of the annotation.

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