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

      • RoomKey

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