openmixer — generated API reference
    Preparing search index...

    Interface DiscoveryControllerHooks

    Callbacks the controller fires so the server can broadcast device changes.

    interface DiscoveryControllerHooks {
        onDevice?: (device: DiscoveredDevice) => void;
        onLost?: (device: DiscoveredDevice) => void;
    }
    Index
    onDevice?: (device: DiscoveredDevice) => void

    A device appeared or changed.

    onLost?: (device: DiscoveredDevice) => void

    A device went away.