@companion-surface/base
    Preparing search index...

    Interface SurfaceContext

    The context provided to a surface module when running

    interface SurfaceContext {
        get capabilities(): HostCapabilities;
        get isLocked(): boolean;
        changePage(forward: boolean): void;
        disconnect(error: Error): void;
        keyDownById(controlId: string): void;
        keyDownUpById(controlId: string): void;
        keyUpById(controlId: string): void;
        rotateLeftById(controlId: string): void;
        rotateRightById(controlId: string): void;
        sendVariableValue(variable: string, value: any): void;
    }
    Index

    Accessors

    Methods

    • Send a value of a transferVariable from surface

      Parameters

      • variable: string

        Name of the variable

      • value: any

        Value of the variable

      Returns void