Callback that maps ScannedPixel to the desired type. The returned array is stored in the React state value that is returned by this function. As such, a new array must be returned to trigger a React state update. Parameters:
Optional
opt: PixelScannerOptionsOptional arguments, see PixelScannerOptions.
An array with:
This hook is reserved for advanced usage. There are simpler hooks such as useScannedPixels or useScannedPixelNotifiers.
React hook that creates PixelScanner to scan for Pixels using Bluetooth.