Freigeben über


BarcodeScannerProviderConnection.HideVideoPreviewRequested Ereignis

Definition

Wird ausgelöst, wenn die Client-App versucht, ein Videovorschaufenster auszublenden.

// 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) 

Ereignistyp

Gilt für: