HardwareButtons.CameraReleased Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)