Class: ShareLocationAction
- Inherits:
-
LocationAction
- Object
- MacroObject
- Action
- LocationAction
- ShareLocationAction
- Defined in:
- lib/ruby-macrodroid.rb,
lib/ruby-macrodroid.rb
Overview
Category: Location
Instance Attribute Summary
Attributes inherited from Action
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ ShareLocationAction
constructor
A new instance of ShareLocationAction.
Methods inherited from Action
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ ShareLocationAction
Returns a new instance of ShareLocationAction.
2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 |
# File 'lib/ruby-macrodroid.rb', line 2507 def initialize(h={}) super() = { email: '', variable: {:m_stringValue=>"", :m_name=>"", :m_decimalValue=>0.0, :isLocal=>true, :m_booleanValue=>false, :excludeFromLog=>false, :m_intValue=>0, :m_type=>2}, sim_id: 0, output_channel: 5, old_variable_format: true } super(.merge h) end |