micro:bit connection library
    Preparing search index...

    Variable DeviceSelectionModeConst

    DeviceSelectionMode: { AlwaysAsk: "AlwaysAsk"; UseAnyAllowed: "UseAnyAllowed" } = ...

    Type Declaration

    • ReadonlyAlwaysAsk: "AlwaysAsk"

      Attempts to connect to known device, otherwise asks which device to connect to.

    • ReadonlyUseAnyAllowed: "UseAnyAllowed"

      Attempts to connect to known device, otherwise attempts to connect to any allowed devices. If that fails, asks which device to connect to.