Package io.github.ma1uta.matrix.event
Class RoomKey
- java.lang.Object
-
- io.github.ma1uta.matrix.event.Event<RoomKeyContent>
-
- io.github.ma1uta.matrix.event.RoomKey
-
public class RoomKey extends Event<RoomKeyContent>
This event type is used to exchange keys for end-to-end encryption. Typically it is encrypted as an m.room.encrypted event, then sent as a to-device event.
-
-
Constructor Summary
Constructors Constructor Description RoomKey()
-
-
-
Field Detail
-
TYPE
public static final String TYPE
This event type is used to exchange keys for end-to-end encryption. Typically it is encrypted as an m.room.encrypted event, then sent as a to-device event.- 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<RoomKeyContent>
- Returns:
- The type of the event.
-
-