HardwareButtons.CameraPressed HardwareButtons.CameraPressed HardwareButtons.CameraPressed HardwareButtons.CameraPressed HardwareButtons.CameraPressed Event

Definition

Occurs when the user presses the hardware camera button.

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

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

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


hardwareButtons.addEventListener("camerapressed", onCameraPressed);
hardwareButtons.removeEventListener("camerapressed", onCameraPressed);

See also