Interface MixinProvider

MixinProviders can add and intercept interfaces to other devices to add or augment their behavior.

Hierarchy

  • MixinProvider

Methods

  • Called by the system to determine if this provider can create a mixin for the supplied device. Returns null if a mixin can not be created, otherwise returns a list of new interfaces (which may be an empty list) that are provided by the mixin.

    Parameters

    Returns Promise<string[]>

  • Create a mixin that can be applied to the supplied device.

    Parameters

    Returns Promise<any>

  • Release a mixin device that was previously returned from getMixin.

    Parameters

    • id: string
    • mixinDevice: any

    Returns Promise<void>

Generated using TypeDoc