Type Alias MicrioStateJSON

MicrioStateJSON: {
    c: ImageState[];
    id: string;
    m?: HTMLMediaElement;
    t?: [string, number?, string?];
}

Represents the entire serializable state of a Micrio instance.

Type declaration

  • c: ImageState[]

    Array containing the state of each individual image canvas.

  • id: string

    The ID of the currently active main image.

  • Optionalm?: HTMLMediaElement

    Reference to the currently active HTMLMediaElement (unused?).

  • Optionalt?: [string, number?, string?]

    Optional information about the currently active tour [tourId, currentTime?, pausedState?].