Class: FloatingButtonTrigger
- Inherits:
-
Trigger
- Object
- MacroObject
- Trigger
- FloatingButtonTrigger
- Defined in:
- lib/ruby-macrodroid.rb
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ FloatingButtonTrigger
constructor
A new instance of FloatingButtonTrigger.
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ FloatingButtonTrigger
Returns a new instance of FloatingButtonTrigger.
1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 |
# File 'lib/ruby-macrodroid.rb', line 1089 def initialize(h={}) = { image_resource_id: 0, icon_bg_color: -9079435, alpha: 100, padding: 20, force_location: false, show_on_lock_screen: false, size: 0, transparent_background: false, x_location: 0, y_location: 0 } super(.merge h) end |