-
public abstract class Dialog
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceDialog.CallbacksDialog Callback, see setCallbacks
public classDialog.ErrorMessageError messageUsed to signal an error message to the user
public classDialog.LoginDialogLogin DialogUsed to ask credentials to the user
public classDialog.QuestionDialogQuestion dialogUsed to ask a blocking question
public classDialog.ProgressDialogProgress DialogUsed to display a progress dialog
-
Field Summary
Fields Modifier and Type Field Description public final static intTYPE_ERRORpublic final static intTYPE_LOGINpublic final static intTYPE_QUESTIONpublic final static intTYPE_PROGRESS
-
Method Summary
Modifier and Type Method Description intgetType()Get the type of the dialogSee TYPE_ERROR, TYPE_LOGIN, TYPE_QUESTION and TYPE_PROGRESS StringgetTitle()Get the title of the dialog StringgetText()Get the text of the dialog voidsetContext(Object context)Associate an object with the dialog ObjectgetContext()Return the object associated with the dialog voiddismiss()Dismiss the dialog static voidsetCallbacks(ILibVLC ILibVLC, Dialog.Callbacks callbacks)Register callbacks in order to handle VLC dialogs -
-
Method Detail
-
getType
@MainThread() int getType()
Get the type of the dialogSee TYPE_ERROR, TYPE_LOGIN, TYPE_QUESTION and TYPE_PROGRESS
-
getTitle
@MainThread() String getTitle()
Get the title of the dialog
-
getText
@MainThread() String getText()
Get the text of the dialog
-
setContext
@MainThread() void setContext(Object context)
Associate an object with the dialog
-
getContext
@MainThread() Object getContext()
Return the object associated with the dialog
-
dismiss
@MainThread() void dismiss()
Dismiss the dialog
-
setCallbacks
@MainThread() static void setCallbacks(ILibVLC ILibVLC, Dialog.Callbacks callbacks)
Register callbacks in order to handle VLC dialogs
- Parameters:
ILibVLC- valid LibVLC objectcallbacks- dialog callbacks or null to unregister
-
-
-
-