BarcodeScannerProviderConnection.HideVideoPreviewRequested Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Raised when the client app attempts to hide a video preview window.
// Register
event_token HideVideoPreviewRequested(TypedEventHandler<BarcodeScannerProviderConnection, BarcodeScannerHideVideoPreviewRequestEventArgs const&> const& handler) const;
// Revoke with event_token
void HideVideoPreviewRequested(event_token const* cookie) const;
// Revoke with event_revoker
BarcodeScannerProviderConnection::HideVideoPreviewRequested_revoker HideVideoPreviewRequested(auto_revoke_t, TypedEventHandler<BarcodeScannerProviderConnection, BarcodeScannerHideVideoPreviewRequestEventArgs const&> const& handler) const;
public event TypedEventHandler<BarcodeScannerProviderConnection,BarcodeScannerHideVideoPreviewRequestEventArgs> HideVideoPreviewRequested;
function onHideVideoPreviewRequested(eventArgs) { /* Your code */ }
barcodeScannerProviderConnection.addEventListener("hidevideopreviewrequested", onHideVideoPreviewRequested);
barcodeScannerProviderConnection.removeEventListener("hidevideopreviewrequested", onHideVideoPreviewRequested);
- or -
barcodeScannerProviderConnection.onhidevideopreviewrequested = onHideVideoPreviewRequested;
Public Custom Event HideVideoPreviewRequested As TypedEventHandler(Of BarcodeScannerProviderConnection, BarcodeScannerHideVideoPreviewRequestEventArgs)