Class ForwardedRoomKey


  • public class ForwardedRoomKey
    extends Event<ForwardedRoomKeyContent>
    This event type is used to forward 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 forward 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

      • ForwardedRoomKey

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