VitalSnap Peripherals

React Native ==> VitalSnap module

ValidicVitalSnap represents peripheral models that can be processed by OCR.

A peripheral object contains various properties which can be displayed to the user:

  • name - Name of the peripheral comprised of the manufacturer name and model number.
  • imageURL - URL for an image of the peripheral.

To obtain an OCRPeripheral, you may choose from a list of all available devices:

    ValidicVitalSnap.getSupportedPeripherals()
    .then(peripherals => {
     console.log(peripheral);
    })
    .catch(error => {
     console.error(error);
    });

or if you know the specific peripheral type that you want:

  ValidicVitalSnap.getPeripheral(1)
    .then(peripheral => {
     console.log(peripheral);
    })
    .catch(error => {
     console.error(error);
    });