Stores the value and all contextual data for a collected Session
.
public struct Session: Codable, FetchableRecord, PersistableRecord
Codable
, FetchableRecord
, PersistableRecord
A UUID identifier string for this Session
, created at initialization.
let id: String
An identifier for the source application where the data was collected.
This can be configured when EyeTracking
is initialized, through a
Configuration
object.
let appID: String
A UNIX timestamp for when this Session
began.
var beginTime
Contains all relevant device data.
var deviceInfo
A UNIX timestamp for when this Session
ended.
var endTime: TimeInterval?
An array of Gaze
points. This is the main storage for a session.
var scanPath
A dictionary of arrays of values for configured BlendShape
data points.
See BlendShape
for more information and Configuration
for specifying
which BlendShape
s a Session
will collect.
var blendShapes