Package io.github.ma1uta.matrix.event
Class RoomTombstone
- java.lang.Object
-
- io.github.ma1uta.matrix.event.Event<C>
-
- io.github.ma1uta.matrix.event.RoomEvent<C>
-
- io.github.ma1uta.matrix.event.StateEvent<TombstoneContent>
-
- io.github.ma1uta.matrix.event.RoomTombstone
-
public class RoomTombstone extends StateEvent<TombstoneContent>
A state event signifying that a room has been upgraded to a different room version, and that clients should go there.
-
-
Constructor Summary
Constructors Constructor Description RoomTombstone()
-
Method Summary
-
Methods inherited from class io.github.ma1uta.matrix.event.StateEvent
getPrevContent, getStateKey, setPrevContent, setStateKey
-
Methods inherited from class io.github.ma1uta.matrix.event.RoomEvent
getEventId, getOriginServerTs, getRoomId, getSender, getUnsigned, setEventId, setOriginServerTs, setRoomId, setSender, setUnsigned
-
Methods inherited from class io.github.ma1uta.matrix.event.Event
getContent, setContent
-
-
-
-
Field Detail
-
TYPE
public static final String TYPE
A state event signifying that a room has been upgraded to a different room version, and that clients should go there.- See Also:
- Constant Field Values
-
-
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 classEvent<TombstoneContent>
- Returns:
- The type of the event.
-
-