Class: TakePictureAction
- Inherits:
-
Action
- Object
- MacroObject
- Action
- TakePictureAction
- Defined in:
- lib/ruby-macrodroid.rb
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ TakePictureAction
constructor
A new instance of TakePictureAction.
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ TakePictureAction
Returns a new instance of TakePictureAction.
1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 |
# File 'lib/ruby-macrodroid.rb', line 1484 def initialize(h={}) = { new_path: '/storage/sdcard1/DCIM/Camera', path: '/storage/sdcard1/DCIM/Camera', show_icon: true, use_front_camera: true, flash_option: 0 } super(.merge h) end |