Class 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.
    • 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
    • Constructor Detail

      • RoomKeyRequest

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