Interface MountOperation.OnAskPassword

Enclosing class:
MountOperation
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface MountOperation.OnAskPassword
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onAskPassword(Str message, Str default_user, Str default_domain, int flags)
    Emitted when a mount operation asks the user for a password.
  • Method Details

    • onAskPassword

      void onAskPassword(@Nonnull Str message, @Nonnull Str default_user, @Nonnull Str default_domain, int flags)
      Emitted when a mount operation asks the user for a password.

      If the message contains a line break, the first line should be
      presented as a heading. For example, it may be used as the
      primary text in a #GtkMessageDialog.
      Parameters:
      message - string containing a message to display to the user.
      default_user - string containing the default user name.
      default_domain - string containing the default domain.
      flags - a set of #GAskPasswordFlags.