Class: FloatingButtonTrigger
- Inherits:
-
Trigger
- Object
- MacroObject
- Trigger
- FloatingButtonTrigger
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: User Input
Instance Attribute Summary
Attributes inherited from Trigger
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ FloatingButtonTrigger
constructor
A new instance of FloatingButtonTrigger.
Methods inherited from Trigger
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ FloatingButtonTrigger
Returns a new instance of FloatingButtonTrigger.
2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 |
# File 'lib/ruby-macrodroid.rb', line 2295 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 |