Class: SetVolumeAction
- Inherits:
-
Action
- Object
- MacroObject
- Action
- SetVolumeAction
- Defined in:
- lib/ruby-macrodroid.rb
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ SetVolumeAction
constructor
A new instance of SetVolumeAction.
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ SetVolumeAction
Returns a new instance of SetVolumeAction.
2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 |
# File 'lib/ruby-macrodroid.rb', line 2492 def initialize(h={}) = { variables: [nil, nil, nil, nil, nil, nil, nil], stream_index_array: [false, false, false, false, false, false, true], stream_volume_array: [0, 0, 0, 0, 0, 0, 66], force_vibrate_off: false, volume: -1 } super(.merge h) end |