BleSessionManager: {
    cancel: (() => void);
    registerCallback: ((newCallback) => void);
    startPresentMdoc: ((mdocUuid, privateKey, deviceEngagement) => void);
    submitNamespaces: ((permitted) => void);
    unRegisterCallback: ((oldCallback) => void);
} = ...

Type declaration

  • cancel: (() => void)

    Cancel in progress connections and shutdown BLE stack

      • (): void
      • Returns void

  • registerCallback: ((newCallback) => void)

    Register a callback with the BLE session manager

  • startPresentMdoc: ((mdocUuid, privateKey, deviceEngagement) => void)

    Begin ISO/IEC DIS 18013-5 mDL Peripheral Server Mode

      • (mdocUuid, privateKey, deviceEngagement): void
      • Parameters

        • mdocUuid: string

          UUID object ID of the mdoc to present

        • privateKey: string

          UUID object ID of the private key matched with the mdoc

        • deviceEngagement: string

          Accepted values: "qrCode"

        Returns void

  • submitNamespaces: ((permitted) => void)

    Submit which fields are permitted by the reader to send after receiving a SelectNamespaceEvent

      • (permitted): void
      • Parameters

        Returns void

  • unRegisterCallback: ((oldCallback) => void)

    Deregister a callback with the BLE session manager. Note: all copies of this callback will be removed if it had been registerd multiple times

Generated using TypeDoc