Class RoomTopic


  • public class RoomTopic
    extends StateEvent<RoomTopicContent>
    A topic is a short message detailing what is currently being discussed in the room. It can also be used as a way to display extra information about the room, which may not be suitable for the room name. The room topic can also be set when creating a room using /createRoom with the topic key.
    • Field Detail

      • TYPE

        public static final String TYPE
        A topic is a short message detailing what is currently being discussed in the room. It can also be used as a way to display extra information about the room, which may not be suitable for the room name. The room topic can also be set when creating a room using /createRoom with the topic key.
        See Also:
        Constant Field Values
    • Constructor Detail

      • RoomTopic

        public RoomTopic()
    • Method Detail

      • getType

        public String getType()
        Description copied from class: Event
        Required. The type of event. This SHOULD be namespaced similar to Java package naming conventions e.g. 'com.example.subdomain.event.type'.
        Specified by:
        getType in class Event<RoomTopicContent>
        Returns:
        The type of the event.