AVP 3DWS Deck Documentation
    Preparing search index...

    Type Alias DeckConnectedEvent

    Event that fires when the stream is connected to the server and ready to receive commands. The car and the environment are not yet loaded at this point.

    CustomEvent of type connected with detail { sessionId: DeckHtmlAttributes["session-id"] }, where sessionId is the ID of the 3D streaming session that has been established.

    .addEventListener('connected', (event) =>
    console.log("The app has just connected to the stream and content has not been loaded yet. The ID of the streaming session is", event.detail.sessionId)
    )
    type DeckConnectedEvent = {
        detail: { sessionId: DeckHtmlAttributes["session-id"] };
        type: "connected";
    }
    Index

    Properties

    Properties

    detail: { sessionId: DeckHtmlAttributes["session-id"] }
    type: "connected"