Package org.videolan.libvlc
Class Dialog.LoginDialog
- java.lang.Object
-
- org.videolan.libvlc.Dialog
-
- org.videolan.libvlc.Dialog.IdDialog
-
- org.videolan.libvlc.Dialog.LoginDialog
-
- Enclosing class:
- Dialog
public static class Dialog.LoginDialog extends Dialog.IdDialog
Login Dialog Used to ask credentials to the user
-
-
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 boolean
asksStore()
Should the dialog ask to the user to store the credentials ?String
getDefaultUsername()
Get the default user name that should be pre-filledvoid
postLogin(String username, String password, boolean store)
Post an answer-
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
-
getDefaultUsername
@MainThread public String getDefaultUsername()
Get the default user name that should be pre-filled
-
asksStore
@MainThread public boolean asksStore()
Should the dialog ask to the user to store the credentials ?- Returns:
- if true, add a checkbox that ask to the user if he wants to store the credentials
-
-