Options
All
  • Public
  • Public/Protected
  • All
Menu

design-awareness-data-types

Index

Type aliases

RealtimeActivityRecord

RealtimeActivityRecord: RealtimeActivityTimingPair[]

An ordered array of pairs representing all the on-off times for an activity over the course of a session.

Pairs must be ordered such that each pair's off time is less than the on time of the next pair.

RealtimeActivityTimingPair

RealtimeActivityTimingPair: [number, number]

Represents a single on-off event for an Activity, with session-relative timestamps in milliseconds: [activity on time, activity off time]. Except for the case described below, the off time must be greater than the on time. No off time should be greater than the session's duration.

An activity off time of -1 indicates that the activity has not been turned off. Such a value should never be present once a session is no longer ongoing; instead, it should be normalized to the RealtimeSession's duration.

Generated using TypeDoc