-api-id | -api-type | ms.custom |
---|---|---|
M:Windows.Devices.PointOfService.Provider.BarcodeScannerProviderConnection.CreateFrameReaderAsync(Windows.Graphics.Imaging.BitmapPixelFormat) |
winrt method |
RS5 |
Creates a new BarcodeScannerFrameReader instance that returns frames in the preferred format when possible.
The preferred image format as a BitmapPixelFormat.
A new BarcodeScannerFrameReader instance that reads frames from this BarcodeScannerProviderConnection.
If the requested format cannot be returned by the camera, frames will be returned using a default supported format. To ensure that the returned frames conform to a particular format, check the Format property on the returned BarcodeScannerVideoFrame objects.