Class RoomEncrypted


  • public class RoomEncrypted
    extends RoomEvent<RoomEncryptedContent>
    This event type is used when sending encrypted events. It can be used either within a room (in which case it will have all of the Room Event fields), or as a to-device event.
    • Field Detail

      • TYPE

        public static final String TYPE
        This event type is used when sending encrypted events. It can be used either within a room (in which case it will have all of the Room Event fields), or as a to-device event.
        See Also:
        Constant Field Values
    • Constructor Detail

      • RoomEncrypted

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