Partager via


BarcodeScannerProviderConnection.HideVideoPreviewRequested Événement

Définition

Déclenché lorsque l’application cliente tente de masquer une fenêtre d’aperçu vidéo.

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

Type d'événement

S’applique à