Constructors
constructor
- new SurfaceManager(
constructAssetUrl: (file: string) => string,
getAudioOutput: (outputLabel: string) => string,
testState?: MediaSurfaceState,
mediaPreloader?: MediaPreloader,
): SurfaceManager Parameters
- constructAssetUrl: (file: string) => string
- getAudioOutput: (outputLabel: string) => string
OptionaltestState: MediaSurfaceState- mediaPreloader: MediaPreloader = ...
Accessors
element
- get element(): HTMLDivElement
Returns HTMLDivElement
Methods
update
- update(): void
Returns void
The SurfaceManager will receive state updates and: