Class DeviceListUpdateContent

    • Field Detail

      • userId

        private String userId
        Required. The user ID who owns this device.
      • deviceId

        private String deviceId
        Required. The ID of the device whose details are changing.
      • deviceDisplayName

        private String deviceDisplayName
        The public human-readable name of this device. Will be absent if the device has no name.
      • streamId

        private String streamId
        Required. An ID sent by the server for this update, unique for a given user_id. Used to identify any gaps in the sequence of m.device_list_update EDUs broadcast by a server.
      • prevId

        private String prevId
        The stream_ids of any prior m.device_list_update EDUs sent for this user which have not been referred to already in an EDU's prev_id field. If the receiving server does not recognise any of the prev_ids, it means an EDU has been lost and the server should query a snapshot of the device list via /user/keys/query in order to correctly interpret future m.device_list_update EDUs. May be missing or empty for the first EDU in a sequence.
      • deleted

        private Boolean deleted
        True if the server is announcing that this device has been deleted.
      • keys

        private DeviceKeys keys
        The updated identity keys (if any) for this device. May be absent if the device has no E2E keys defined.
    • Constructor Detail

      • DeviceListUpdateContent

        public DeviceListUpdateContent()
    • Method Detail

      • getUserId

        public String getUserId()
      • setUserId

        public void setUserId​(String userId)
      • getDeviceId

        public String getDeviceId()
      • setDeviceId

        public void setDeviceId​(String deviceId)
      • getDeviceDisplayName

        public String getDeviceDisplayName()
      • setDeviceDisplayName

        public void setDeviceDisplayName​(String deviceDisplayName)
      • getStreamId

        public String getStreamId()
      • setStreamId

        public void setStreamId​(String streamId)
      • getPrevId

        public String getPrevId()
      • setPrevId

        public void setPrevId​(String prevId)
      • getDeleted

        public Boolean getDeleted()
      • setDeleted

        public void setDeleted​(Boolean deleted)
      • setKeys

        public void setKeys​(DeviceKeys keys)