Hiyve Components - v1.0.0
    Preparing search index...

    Variable DATA_MESSAGE_TYPESConst

    DATA_MESSAGE_TYPES: {
        CLEAR: "hiyve:annotation:clear";
        LOCK: "hiyve:annotation:lock";
        STATE_REQUEST: "hiyve:annotation:state-request";
        STATE_RESPONSE: "hiyve:annotation:state-response";
        STROKE_APPEND: "hiyve:annotation:stroke-append";
        STROKE_BEGIN: "hiyve:annotation:stroke-begin";
        STROKE_END: "hiyve:annotation:stroke-end";
    } = ...

    Data-message types over the WebRTC data channel. Each is namespaced with hiyve:annotation: so they don't collide with other features (presenter sync, reactions, instrument transport, etc.).

    Type Declaration

    • ReadonlyCLEAR: "hiyve:annotation:clear"
    • ReadonlyLOCK: "hiyve:annotation:lock"

      Owner-only command: when locked, only the owner can draw.

    • ReadonlySTATE_REQUEST: "hiyve:annotation:state-request"
    • ReadonlySTATE_RESPONSE: "hiyve:annotation:state-response"
    • ReadonlySTROKE_APPEND: "hiyve:annotation:stroke-append"
    • ReadonlySTROKE_BEGIN: "hiyve:annotation:stroke-begin"
    • ReadonlySTROKE_END: "hiyve:annotation:stroke-end"