public class CPDFSoundAnnotation extends CPDFAnnotation
| Modifier and Type | Class and Description |
|---|---|
static class |
CPDFSoundAnnotation.CPDFSoundAnnotationAttr |
CPDFAnnotation.AppearanceType, CPDFAnnotation.BorderEffectIntensity, CPDFAnnotation.CPDFBorderEffectType, CPDFAnnotation.Flags, CPDFAnnotation.MarkState, CPDFAnnotation.MediaSourceType, CPDFAnnotation.ReviewState, CPDFAnnotation.TypeannotPtr, index, pdfPage| Modifier and Type | Method and Description |
|---|---|
void |
applyAnnotationAttr(CPDFAnnotationUndoAttr annotationAttr) |
CPDFAnnotationUndoAttr |
getAnnotationAttr() |
java.lang.String |
getSoundFilePath() |
boolean |
isRecorded() |
java.lang.String |
loadSoundSource(java.lang.String filePath,
java.lang.String fileName)
Gets audio resource.
|
boolean |
setSoundPath(java.lang.String filePath)
Sets audio resource.
|
addToPage, attachPage, close, createReplyAnnotation, disableListenAttrChanged, enableListenAttrChanged, equal, equal, getAllReplyAnnotations, getAnnotIndexFromNative, getAnnotPtr, getAppearance, getAppearanceByPixel, getAppearanceDebugInfo, getApRotation, getBordEffectIntensity, getBordEffectType, getBorderWidth, getContent, getCreationDate, getFlags, getMarkedAnnotState, getName, getRecentlyModifyDate, getRect, getReviewAnnotState, getRotateRectPoint, getRotation, getSourceRect, getStampBaseApRotationDegrees, getStampImageSourcePath, getTitle, getType, getVertices, hasAp, hasImageAppearance, isAllowCorrectAnnotationAp, isHidden, isLocked, isReadOnly, isReplyAnnotation, isValid, markStaleFromPageCache, moveAnnotIndex, removeAp, removeFromPage, setAllowCorrectAnnotationAp, setAnnotTop, setBordEffectIntensity, setBordEffectType, setBorderWidth, setContent, setCreationDate, setFlags, setHidden, setLocked, setMarkedAnnotState, setName, setOnAnnotationChangedListener, setReadOnly, setRecentlyModifyDate, setRect, setReviewAnnotState, setRotation, setSourceRect, setStampBaseApRotationDegrees, setStampImageSourcePath, setTitle, setVertices, updateAp, updateApWithBitmap, updateApWithBitmap, updateApWithBitmap, updateApWithBitmapFitXY, updateApWithBitmapFitXY, updateApWithImagepublic CPDFAnnotationUndoAttr getAnnotationAttr()
getAnnotationAttr in class CPDFAnnotationpublic void applyAnnotationAttr(CPDFAnnotationUndoAttr annotationAttr)
applyAnnotationAttr in class CPDFAnnotationpublic boolean setSoundPath(java.lang.String filePath)
CPDFAnnotationfilePath - Audio resource path.public java.lang.String loadSoundSource(java.lang.String filePath,
java.lang.String fileName)
CPDFAnnotationfilePath - Saved file folder path.fileName - Saved file folder name.public boolean isRecorded()
public java.lang.String getSoundFilePath()