Class Direct


  • public class Direct
    extends Event<DirectContent>
    A map of which rooms are considered 'direct' rooms for specific users is kept in account_data in an event of type m.direct. The content of this event is an object where the keys are the user IDs and values are lists of room ID strings of the 'direct' rooms for that user ID.

    Map USER_ID -> ROOM_ID

    • Field Detail

      • TYPE

        public static final String TYPE
        A map of which rooms are considered 'direct' rooms for specific users is kept in account_data in an event of type m.direct. The content of this event is an object where the keys are the user IDs and values are lists of room ID strings of the 'direct' rooms for that user ID.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Direct

        public Direct()
    • 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<DirectContent>
        Returns:
        The type of the event.