Web Measurement Embedded App (WMEA) - v0.1.0-beta.7
    Preparing search index...

    Implements

    • MeasurementEmbedded
    Index

    Properties

    on: {
        error: ((error: MeasurementEmbeddedAppError) => void) | null;
        event: ((appEvent: AppEvent) => void) | null;
        results: ((results: Results) => void) | null;
    } = ...

    The on object holds the event handlers

    Type Declaration

    • error: ((error: MeasurementEmbeddedAppError) => void) | null

      when there is an error in the measurement embedded app

      measurement embedded app error

    • event: ((appEvent: AppEvent) => void) | null

      when an appEvent is received

      appEvent

    • results: ((results: Results) => void) | null

      when measurement results are received

      measurement results

    VERSION: string = version

    Methods

    • Cancel the measurement

      Parameters

      • reset: boolean

        whether to reset the Web SDK or just close the camera and hide the mask

      Returns Promise<boolean>

      • whether the cancellation was successful
    • Returns Promise<void>

    • Returns Promise<Log[]>

    • Parameters

      • theme: "light" | "dark"

      Returns void