Model's Base Class.

Hierarchy (view full)

Constructors

Properties

channelManager: default
onUpdated: OEvent<((timeOfEarliestChange: Date) => void)> = ...
state: StateMachine<"Uninitialised" | "Initialised", "shutdown" | "init">
channelId: "audioExercise" = 'audioExercise'

Methods

  • Used to store an audio exercise in one instance.

    Parameters

    • audioFileName: string

      the name of the audio file that was played by the user.

    • startTimestamp: number

      the time in milliseconds when the user started the audio.

    Returns Promise<void>