public class

SoundAnnotView

extends RelativeLayout
java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.RelativeLayout
         ↳ com.pdftron.pdf.widget.SoundAnnotView

Summary

[Expand]
Inherited Constants
From class android.widget.RelativeLayout
From class android.view.ViewGroup
From class android.view.View
Fields
public static final String TAG
[Expand]
Inherited Fields
From class android.view.View
Public Constructors
SoundAnnotView(PDFViewCtrl parent, String filePath, int sampleRate, int encodingBitRate, int channel)
SoundAnnotView(PDFViewCtrl parent, PointF targetScreenPoint, int pageNum)
Public Methods
void dismiss()
void handleDone()
boolean isShowing()
check if the quick menu is visible
void onStop()
boolean onTouchEvent(MotionEvent event)
void requestLocation()
calculate location of quick menu
SoundAnnotView setEncodingBitRate(int encodingBitRate)
SoundAnnotView setFilePath(String filePath)
SoundAnnotView setNumChannelOut(int numChannelOut)
SoundAnnotView setSampleRate(int sampleRate)
void show()
[Expand]
Inherited Methods
From class android.widget.RelativeLayout
From class android.view.ViewGroup
From class android.view.View
From class java.lang.Object
From interface android.graphics.drawable.Drawable.Callback
From interface android.view.KeyEvent.Callback
From interface android.view.ViewManager
From interface android.view.ViewParent
From interface android.view.accessibility.AccessibilityEventSource

Fields

public static final String TAG

Public Constructors

public SoundAnnotView (PDFViewCtrl parent, String filePath, int sampleRate, int encodingBitRate, int channel)

public SoundAnnotView (PDFViewCtrl parent, PointF targetScreenPoint, int pageNum)

Public Methods

public void dismiss ()

public void handleDone ()

public boolean isShowing ()

check if the quick menu is visible

Returns
  • true if visible

public void onStop ()

public boolean onTouchEvent (MotionEvent event)

public void requestLocation ()

calculate location of quick menu

public SoundAnnotView setEncodingBitRate (int encodingBitRate)

public SoundAnnotView setFilePath (String filePath)

public SoundAnnotView setNumChannelOut (int numChannelOut)

public SoundAnnotView setSampleRate (int sampleRate)

public void show ()