Share via


HardwareButtons.CameraReleased Event

Definition

Occurs when the user releases the hardware camera button.

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

Event Type

Applies to