Class: ShareLocationAction

Inherits:
LocationAction show all
Defined in:
lib/ruby-macrodroid.rb,
lib/ruby-macrodroid.rb

Overview

Category: Location

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #type

Instance Method Summary collapse

Methods inherited from Action

#invoke

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ ShareLocationAction

Returns a new instance of ShareLocationAction.



1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
# File 'lib/ruby-macrodroid.rb', line 1702

def initialize(h={})
  
  super()

  options = {
    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(options.merge h)

end