-api-id | -api-type | ms.custom |
---|---|---|
E:Windows.Devices.PointOfService.Provider.BarcodeScannerFrameReader.FrameArrived |
winrt event |
RS5 |
Event that is raised when a frame is ready to be acquired. This event will not be raised until the frame reader is started by using StartAsync.
To acquire a frame after it arrives, call TryAcquireLatestFrameAsync. Note that calling TryAcquireLatestFrameAsync will always return the latest frame, not the frame that caused this event to be raised.
Use BarcodeScannerFrameReaderFrameArrivedEventArgs.GetDeferral if processing needs to be done asynchronously outside the scope of the method handler.