public class

SoundCreate

extends SimpleTapShapeCreate
java.lang.Object
   ↳ com.pdftron.pdf.tools.Tool
     ↳ com.pdftron.pdf.tools.BaseTool
       ↳ com.pdftron.pdf.tools.SimpleShapeCreate
         ↳ com.pdftron.pdf.tools.SimpleTapShapeCreate
           ↳ com.pdftron.pdf.tools.SoundCreate

Summary

Constants
int SAMPLE_RATE
String SOUND_ICON
[Expand]
Inherited Constants
From class com.pdftron.pdf.tools.SimpleShapeCreate
From class com.pdftron.pdf.tools.BaseTool
From class com.pdftron.pdf.tools.Tool
[Expand]
Inherited Fields
From class com.pdftron.pdf.tools.Tool
Public Constructors
SoundCreate(PDFViewCtrl ctrl)
Class constructor
Public Methods
void addAnnotation()
The implementation will provide UI for annotation creation
void createSound(PointF targetPagePoint, int pageNum, String outputPath)
int getCreateAnnotType()
Gets what annotation type this tool can create
ToolManager.ToolModeBase getToolMode()
The overload interface of getToolMode() ()}.
[Expand]
Inherited Methods
From class com.pdftron.pdf.tools.SimpleTapShapeCreate
From class com.pdftron.pdf.tools.SimpleShapeCreate
From class com.pdftron.pdf.tools.BaseTool
From class com.pdftron.pdf.tools.Tool
From class java.lang.Object
From interface com.pdftron.pdf.tools.ToolManager.Tool

Constants

public static final int SAMPLE_RATE

Constant Value: 22050 (0x00005622)

public static final String SOUND_ICON

Constant Value: "sound"

Public Constructors

public SoundCreate (PDFViewCtrl ctrl)

Class constructor

Public Methods

public void addAnnotation ()

The implementation will provide UI for annotation creation

public void createSound (PointF targetPagePoint, int pageNum, String outputPath)

public int getCreateAnnotType ()

Gets what annotation type this tool can create

Returns
  • annot type for annotation creation tool, or unknown for non-creation tool.

public ToolManager.ToolModeBase getToolMode ()

The overload interface of getToolMode() ()}.

Returns
  • the mode/identifier of this tool.