Share via


BarcodeScannerProviderConnection.HideVideoPreviewRequested Event

Definition

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) 

Event Type

Applies to