Class RequestVoice.Builder

    • Method Detail

      • role

        public RequestVoice.Builder role​(Role role)
        Sets the requested role.
        Parameters:
        role - The role.
        Returns:
        The builder.
      • jid

        public RequestVoice.Builder jid​(Jid jid)
        Sets the JID.
        Parameters:
        jid - The JID.
        Returns:
        The builder.
      • roomNick

        public RequestVoice.Builder roomNick​(String roomNick)
        Sets the room nickname.
        Parameters:
        roomNick - The room nickname.
        Returns:
        The builder.
      • allowRequest

        public RequestVoice.Builder allowRequest​(boolean allowRequest)
        Whether to grant voice.
        Parameters:
        allowRequest - Whether to grant voice.
        Returns:
        The builder.
      • build

        public RequestVoice build()
        Builds the request voice form.
        Returns:
        The request voice form.