on Key Down
Callback for listening to key events.
Calls capturePhoto if the volume down button has been pressed.
Return
Parameters
key Code
The key code of the pressed key
event
Callback for listening to key events.
Calls capturePhoto if the volume down button has been pressed.
The key code of the pressed key