Package io.github.ma1uta.matrix.event
Class RoomEncryption
- java.lang.Object
-
- io.github.ma1uta.matrix.event.Event<C>
-
- io.github.ma1uta.matrix.event.RoomEvent<C>
-
- io.github.ma1uta.matrix.event.StateEvent<RoomEncryptionContent>
-
- io.github.ma1uta.matrix.event.RoomEncryption
-
public class RoomEncryption extends StateEvent<RoomEncryptionContent>
State Event.
state_key: A zero-length string.
Defines how messages sent in this room should be encrypted.
-
-
Constructor Summary
Constructors Constructor Description RoomEncryption()
-
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
Defines how messages sent in this room should be encrypted.- 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<RoomEncryptionContent>
- Returns:
- The type of the event.
-
-