Interface MixinProvider

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


  • MixinProvider


  • 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.


    Returns Promise<string[]>

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


    Returns Promise<any>

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


    • id: string
    • mixinDevice: any

    Returns Promise<void>

Generated using TypeDoc