Session

class Session : JsonStream.Streamable, UserAware

Represents a contiguous session in an application.

Functions

getUser
Link copied to clipboard
abstract fun getUser(): Null
setUser
Link copied to clipboard
abstract fun setUser(id: Null, email: Null, name: Null)
toStream
Link copied to clipboard
open fun toStream(@NonNull() writer: JsonStream)

Properties

app
Link copied to clipboard
private open var app: App
device
Link copied to clipboard
private open var device: Device
id
Link copied to clipboard
private open var id: String
startedAt
Link copied to clipboard
private open var startedAt: Date
user
Link copied to clipboard
private open var user: User