Class: SetVolumeAction
- Inherits:
-
VolumeAction
- Object
- MacroObject
- Action
- VolumeAction
- SetVolumeAction
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Volume
Instance Attribute Summary
Attributes inherited from Action
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ SetVolumeAction
constructor
A new instance of SetVolumeAction.
Methods inherited from Action
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ SetVolumeAction
Returns a new instance of SetVolumeAction.
3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 |
# File 'lib/ruby-macrodroid.rb', line 3942 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 |