HardwareButtons.CameraReleased 事件

定义

当用户释放硬件相机按钮时发生。

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

事件类型

适用于