ClaimedBarcodeScanner.ImagePreviewReceived イベント
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
デバイスがスキャンのビットマップ イメージを受信したときに発生します。
// Register
event_token ImagePreviewReceived(TypedEventHandler<ClaimedBarcodeScanner, BarcodeScannerImagePreviewReceivedEventArgs const&> const& handler) const;
// Revoke with event_token
void ImagePreviewReceived(event_token const* cookie) const;
// Revoke with event_revoker
ClaimedBarcodeScanner::ImagePreviewReceived_revoker ImagePreviewReceived(auto_revoke_t, TypedEventHandler<ClaimedBarcodeScanner, BarcodeScannerImagePreviewReceivedEventArgs const&> const& handler) const;
public event TypedEventHandler<ClaimedBarcodeScanner,BarcodeScannerImagePreviewReceivedEventArgs> ImagePreviewReceived;
function onImagePreviewReceived(eventArgs) { /* Your code */ }
claimedBarcodeScanner.addEventListener("imagepreviewreceived", onImagePreviewReceived);
claimedBarcodeScanner.removeEventListener("imagepreviewreceived", onImagePreviewReceived);
- or -
claimedBarcodeScanner.onimagepreviewreceived = onImagePreviewReceived;
Public Custom Event ImagePreviewReceived As TypedEventHandler(Of ClaimedBarcodeScanner, BarcodeScannerImagePreviewReceivedEventArgs)