HardwareButtons.CameraHalfPressed HardwareButtons.CameraHalfPressed HardwareButtons.CameraHalfPressed HardwareButtons.CameraHalfPressed HardwareButtons.CameraHalfPressed Event

Definition

Occurs when the user presses the hardware camera button halfway.

public : event EventHandler<CameraEventArgs> CameraHalfPressed
// Register
event_token CameraHalfPressed(EventHandler<CameraEventArgs> const& handler) const;

// Revoke with event_token
void CameraHalfPressed(event_token const& cookie) const;

// Revoke with event_revoker
CameraHalfPressed_revoker CameraHalfPressed(auto_revoke_t, EventHandler<CameraEventArgs> const& handler) const;
public event EventHandler<CameraEventArgs> CameraHalfPressed
Public Event CameraHalfPressed As EventHandler (Of CameraEventArgs)
function onCameraHalfPressed(eventArgs){/* Your code */}


hardwareButtons.addEventListener("camerahalfpressed", onCameraHalfPressed);
hardwareButtons.removeEventListener("camerahalfpressed", onCameraHalfPressed);