SessionInfo

class SessionInfo(val initiationId: SessionInitiationId?, val awaitingReply: Boolean, val acceptedSignedPreKeyId: SignedPreKeyId? = null, val initiationVersion: SessionInitiationVersion = SessionInitiationVersion.V2)

Lifecycle facts about a stored session, see docs/session-lifecycle.md.

Constructors

Link copied to clipboard
constructor(initiationId: SessionInitiationId?, awaitingReply: Boolean, acceptedSignedPreKeyId: SignedPreKeyId? = null, initiationVersion: SessionInitiationVersion = SessionInitiationVersion.V2)

Properties

Link copied to clipboard

the local signed prekey this device accepted the session with as responder (docs/signed-prekey-lifecycle.md), or null for sessions this device initiated and for sessions stored before milestone 7.

Link copied to clipboard

true while this device is the initiator and has not decrypted a message from the remote side yet (it still sends PreKeyMessages).

Link copied to clipboard

the initiation that created the session, or null for a session that was established before milestone 6 recorded it.

Link copied to clipboard

the session initiation format the session was created with: SessionInitiationVersion.V1 for sessions created before S1, SessionInitiationVersion.V2 for every newer one.