Partager via


HardwareButtons.CameraReleased Événement

Définition

Se produit lorsque l’utilisateur relâche le bouton de la caméra matérielle.

// Register
static event_token CameraReleased(EventHandler<CameraEventArgs> const& handler) const;

// Revoke with event_token
static void CameraReleased(event_token const* cookie) const;

// Revoke with event_revoker
static HardwareButtons::CameraReleased_revoker CameraReleased(auto_revoke_t, EventHandler<CameraEventArgs> const& handler) const;
public static event System.EventHandler<CameraEventArgs> CameraReleased;
function onCameraReleased(eventArgs) { /* Your code */ }
Windows.Phone.UI.Input.HardwareButtons.addEventListener("camerareleased", onCameraReleased);
Windows.Phone.UI.Input.HardwareButtons.removeEventListener("camerareleased", onCameraReleased);
- or -
Windows.Phone.UI.Input.HardwareButtons.oncamerareleased = onCameraReleased;
Public Shared Custom Event CameraReleased As EventHandler(Of CameraEventArgs) 

Type d'événement

S’applique à