Package 

Class Dialog.LoginDialog


  • 
    public class Dialog.LoginDialog
    extends Dialog.IdDialog
                        

    Login DialogUsed to ask credentials to the user

    • Method Summary

      Modifier and Type Method Description
      String getDefaultUsername() Get the default user name that should be pre-filled
      boolean asksStore() Should the dialog ask to the user to store the credentials ?
      void 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • asksStore

        @MainThread() boolean asksStore()

        Should the dialog ask to the user to store the credentials ?

      • postLogin

        @MainThread() void postLogin(String username, String password, boolean store)

        Post an answer

        Parameters:
        username - valid username (can't be empty)
        password - valid password (can be empty)
        store - if true, store the credentials