Class ValidatedUsernameCallback

    • Constructor Detail

      • ValidatedUsernameCallback

        public ValidatedUsernameCallback​(@NotNull
                                         org.json.JSONObject raw,
                                         int index)
                                  throws org.json.JSONException
        Throws:
        org.json.JSONException
      • ValidatedUsernameCallback

        public ValidatedUsernameCallback()
    • Method Detail

      • setUsername

        public void setUsername​(java.lang.String username)
        Set the retrieved username.
        Parameters:
        username - the retrieved name (which may be null).
      • getType

        public java.lang.String getType()
        Description copied from interface: Callback
        Return the type of the Callback, the type name should align with the Callback type returned from AM