Class: AnswerCallAction

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

Overview

Category: Phone

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

Returns a new instance of AnswerCallAction.



3002
3003
3004
3005
3006
3007
3008
3009
3010
# File 'lib/ruby-macrodroid.rb', line 3002

def initialize(h={})

  options = {
    selected_index: 0
  }

  super(options.merge h)

end