Package io.github.ma1uta.matrix.event
Class RoomKeyRequest
- java.lang.Object
-
- io.github.ma1uta.matrix.event.Event<RoomKeyRequestContent>
-
- io.github.ma1uta.matrix.event.RoomKeyRequest
-
public class RoomKeyRequest extends Event<RoomKeyRequestContent>
This event type is used to request keys for end-to-end encryption. It is sent as an unencrypted to-device event.
-
-
Constructor Summary
Constructors Constructor Description RoomKeyRequest()
-
-
-
Field Detail
-
TYPE
public static final String TYPE
This event type is used to request keys for end-to-end encryption. It is sent as an unencrypted 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<RoomKeyRequestContent>
- Returns:
- The type of the event.
-
-