Package org.videolan.libvlc
Class Dialog.ProgressDialog
- java.lang.Object
-
- org.videolan.libvlc.Dialog
-
- org.videolan.libvlc.Dialog.IdDialog
-
- org.videolan.libvlc.Dialog.ProgressDialog
-
- Enclosing class:
- Dialog
public static class Dialog.ProgressDialog extends Dialog.IdDialog
Progress Dialog Used to display a progress dialog
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.videolan.libvlc.Dialog
Dialog.Callbacks, Dialog.ErrorMessage, Dialog.IdDialog, Dialog.LoginDialog, Dialog.ProgressDialog, Dialog.QuestionDialog
-
-
Field Summary
-
Fields inherited from class org.videolan.libvlc.Dialog.IdDialog
mId
-
Fields inherited from class org.videolan.libvlc.Dialog
mText, mType, TYPE_ERROR, TYPE_LOGIN, TYPE_PROGRESS, TYPE_QUESTION
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCancelText()
Get the text of the cancel buttonfloat
getPosition()
Get the position of the progress dialogboolean
isCancelable()
Return true if the progress dialog is cancelableboolean
isIndeterminate()
Return true if the progress dialog is inderterminate-
Methods inherited from class org.videolan.libvlc.Dialog.IdDialog
dismiss
-
Methods inherited from class org.videolan.libvlc.Dialog
getContext, getText, getTitle, getType, setCallbacks, setContext
-
-
-
-
Method Detail
-
isIndeterminate
@MainThread public boolean isIndeterminate()
Return true if the progress dialog is inderterminate
-
isCancelable
@MainThread public boolean isCancelable()
Return true if the progress dialog is cancelable
-
getPosition
@MainThread public float getPosition()
Get the position of the progress dialog- Returns:
- position between 0.0 and 1.0
-
getCancelText
@MainThread public String getCancelText()
Get the text of the cancel button
-
-