LiveSessionResumptionUpdate

@PublicPreviewAPI
class LiveSessionResumptionUpdate : LiveServerMessage


An update of the session resumption state.

This message is only sent if SessionResumptionConfig was set in the session setup.

Summary

Public properties

Int?

The index of the last client message that is included in the state represented by this update.

String?

The new handle that represents the state that can be resumed.

Boolean?

Indicates if the session can be resumed at this point.

Public properties

lastConsumedClientMessageIndex

val lastConsumedClientMessageIndex: Int?

The index of the last client message that is included in the state represented by this update.

newHandle

val newHandle: String?

The new handle that represents the state that can be resumed. Empty if resumable is false.

resumable

val resumable: Boolean?

Indicates if the session can be resumed at this point.