Variable VeronaOperationsConst

VeronaOperations: {
    READY_NOTIFICATION: "vopReadyNotification";
    STATE_CHANGED_NOTIFICATION: "vopStateChangedNotification";
    UNIT_NAVIGATION_REQUESTED_NOTIFICATION: "vopUnitNavigationRequestedNotification";
    RUNTIME_ERROR_NOTIFICATION: "vopRuntimeErrorNotification";
    WIDGET_CALL: "vopWidgetCall";
    WINDOW_FOCUS_CHANGED_NOTIFICATION: "vopWindowFocusChangedNotification";
    START_COMMAND: "vopStartCommand";
    PAGE_NAVIGATION_COMMAND: "vopPageNavigationCommand";
    NAVIGATION_DENIED_NOTIFICATION: "vopNavigationDeniedNotification";
    PLAYER_CONFIG_CHANGED_NOTIFICATION: "vopPlayerConfigChangedNotification";
    WIDGET_RETURN: "vopWidgetReturn";
} = ...

Verona operation IDs for all message types.

Use these constants instead of hardcoded strings to ensure type safety and prevent typos in message handling.

Type declaration

  • ReadonlyREADY_NOTIFICATION: "vopReadyNotification"

    Player announces it is ready to receive commands

  • ReadonlySTATE_CHANGED_NOTIFICATION: "vopStateChangedNotification"

    Player reports state changes (responses, navigation, etc.)

  • ReadonlyUNIT_NAVIGATION_REQUESTED_NOTIFICATION: "vopUnitNavigationRequestedNotification"

    Player requests navigation to another unit

  • ReadonlyRUNTIME_ERROR_NOTIFICATION: "vopRuntimeErrorNotification"

    Player reports a runtime error

  • ReadonlyWIDGET_CALL: "vopWidgetCall"

    Player requests execution of a widget

  • ReadonlyWINDOW_FOCUS_CHANGED_NOTIFICATION: "vopWindowFocusChangedNotification"

    Player reports window focus changes

  • ReadonlySTART_COMMAND: "vopStartCommand"

    Host commands player to start with given configuration

  • ReadonlyPAGE_NAVIGATION_COMMAND: "vopPageNavigationCommand"

    Host commands player to navigate to a specific page

  • ReadonlyNAVIGATION_DENIED_NOTIFICATION: "vopNavigationDeniedNotification"

    Host denies a navigation request from player

  • ReadonlyPLAYER_CONFIG_CHANGED_NOTIFICATION: "vopPlayerConfigChangedNotification"

    Host updates player configuration

  • ReadonlyWIDGET_RETURN: "vopWidgetReturn"

    Host returns result from widget execution