SoundAnnotation

constructor(@IntRange(from = 0) pageIndex: Int, @NonNull boundingBox: RectF, @NonNull audioSource: EmbeddedAudioSource)

Creates a new sound annotation.

Parameters

pageIndex

Page to which this annotation will be attached to.

boundingBox

Annotation's bounding box on the page in PDF coordinates.

audioSource

Source of audio data that should be attached to the annotation.


constructor(@IntRange(from = 0) pageIndex: Int, @NonNull boundingBox: RectF)

Creates a new sound annotation.

Parameters

pageIndex

Page to which this annotation will be attached to.

boundingBox

Annotation's bounding box on the page in PDF coordinates.


constructor(@NonNull properties: AnnotationPropertyManager, markDirty: Boolean, @Nullable resourceId: String)
constructor(@NonNull propertyMap: AnnotationPropertyManager, markDirty: Boolean, @Nullable soundData: EmbeddedAudioSource)

Intended for internal usage only