ReturningMark

data class ReturningMark(val previousId: PeerId?)

A MembershipEvent.Joined member is a device coming back on the pass its host gave it (#3222): its seat was gone, and the host let it in again without asking its admission policy.

previousId is the peer id the device last held a seat under in this room, when the host still remembers it; it may equal the member's id now. Null when the host does not: it restarted since, or the last pass it gave that membership has run out. Read it as a hint for carrying what an app knew about that peer over to this one, not as proof of anything: one device may hold several seats, and the device's key, Member.key, is what names it.

Constructors

Link copied to clipboard
constructor(previousId: PeerId?)

Properties

Link copied to clipboard