Class: SpeakerPhoneAction

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

Overview

Category: Volume

Instance Attribute Summary

Attributes inherited from Action

#constraints

Attributes inherited from MacroObject

#options, #siguid, #type

Instance Method Summary collapse

Methods inherited from Action

#invoke

Methods inherited from MacroObject

#to_h, #to_s

Constructor Details

#initialize(h = {}) ⇒ SpeakerPhoneAction

Returns a new instance of SpeakerPhoneAction.



4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
# File 'lib/ruby-macrodroid.rb', line 4061

def initialize(h={})

  options = {
    secondary_class_type: 'SpeakerPhoneAction',
    state: 0
  }

  super(options.merge h)

end