Class Unsigned<C extends EventContent>

  • Type Parameters:
    C - Type of the event content.

    public class Unsigned<C extends EventContent>
    extends Object
    UnsignedData.
    • Field Detail

      • age

        private Long age
        The time in milliseconds that has elapsed since the event was sent. This field is generated by the local homeserver, and may be incorrect if the local time on at least one of the two servers is out of sync, which can cause the age to either be negative or greater than it actually is.
      • redactedBecause

        private Event redactedBecause
        Optional. The event that redacted this event, if any.
      • transactionId

        private String transactionId
        The client-supplied transaction ID, if the client being given the event is the same one which sent it.
      • prevContent

        private C extends EventContent prevContent
        Optional. The previous content for this state. This will be present only for state events appearing in the timeline. If this is not a state event, or there is no previous content, this key will be missing.
      • inviteRoomState

        private List<Event> inviteRoomState
        This contains an array of StrippedState Events. These events provide information on a subset of state events such as the room name.
    • Constructor Detail

      • Unsigned

        public Unsigned()
    • Method Detail

      • getAge

        public Long getAge()
      • setAge

        public void setAge​(Long age)
      • getRedactedBecause

        public Event getRedactedBecause()
      • setRedactedBecause

        public void setRedactedBecause​(Event redactedBecause)
      • getTransactionId

        public String getTransactionId()
      • setTransactionId

        public void setTransactionId​(String transactionId)
      • getPrevContent

        public C getPrevContent()
      • setPrevContent

        public void setPrevContent​(C prevContent)
      • getInviteRoomState

        public List<Event> getInviteRoomState()
      • setInviteRoomState

        public void setInviteRoomState​(List<Event> inviteRoomState)