Class: AnswerCallAction

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

Overview

Category: Phone

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 = {}) ⇒ AnswerCallAction

Returns a new instance of AnswerCallAction.



3761
3762
3763
3764
3765
3766
3767
3768
3769
# File 'lib/ruby-macrodroid.rb', line 3761

def initialize(h={})

  options = {
    selected_index: 0
  }

  super(options.merge h)

end