Params

data class Params(val keyCode: String, val action: KeyAction, val procedure: String)

Parameters

keyCode

The key code of the key that should be used to trigger

  • OK_KEY_HALF

  • OK_KEY_FULL

  • POWER_KEY

  • SCROLL_KEY

action

The action of the key either KeyAction.Down or KeyAction.Up

procedure

Any of the following

  • TRIGGER_CAMERA_AUTOFOCUS triggers the autofocus on the camera

  • TRIGGER_CAMERA_TAKEPICTURE triggers taking a picture on the camera and add it to the PictureManager

  • TRIGGER_CAMERA_TAKEPICTURE_GET_CORRECTED_CROP triggers taking a picture, calls getCorrectedCameraImage() with defined resolution, delivers crop via separate topic, add full-res to picture manager

  • TRIGGER_CAMERA_TAKEPICTURE_GET_CORRECTED_DISPLAY_CROP triggers taking a picture, calls getCorrectedCameraImage() with display field of view, delivers crop via separate topic, add full-res to picture manager

  • TRIGGER_VIDEO_RECORDING starts or stops video recording

Constructors

Link copied to clipboard
constructor(keyCode: String, action: KeyAction, procedure: String)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard