FP-Devicer - v1.6.1
    Preparing search index...

    Interface DeviceManagerPlugin

    Interface that all plugins must implement to be registered with the DeviceManager.

    interface DeviceManagerPlugin {
        registerWith(deviceManager: DeviceManagerLike): void | (() => void);
    }
    Index

    Methods

    Methods

    • Registers the plugin with the provided DeviceManager instance.

      May optionally return a teardown function that is called when the plugin is unregistered via the function returned by PluginRegistrar.register.

      Parameters

      • deviceManager: DeviceManagerLike

        The DeviceManager instance to register the plugin with.

      Returns void | (() => void)

      An optional teardown () => void, or nothing.