Class: ChangeKeyboardAction
- Inherits:
-
DeviceSettingsAction
- Object
- MacroObject
- Action
- DeviceSettingsAction
- ChangeKeyboardAction
- Defined in:
- lib/ruby-macrodroid/actions.rb
Overview
Category: Device Settings
Instance Attribute Summary
Attributes inherited from Action
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ ChangeKeyboardAction
constructor
A new instance of ChangeKeyboardAction.
- #to_s(colour: false, indent: 0) ⇒ Object (also: #to_summary)
Methods inherited from Action
Methods included from ObjectX
#action_to_object, #object_create, #varify
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ ChangeKeyboardAction
Returns a new instance of ChangeKeyboardAction.
1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 |
# File 'lib/ruby-macrodroid/actions.rb', line 1522 def initialize(h={}) = { keyboard_id: 'com.android.inputmethod.latin/.LatinIME', keyboard_name: 'Android Keyboard (AOSP)' } super(.merge h) end |
Instance Method Details
#to_s(colour: false, indent: 0) ⇒ Object Also known as: to_summary
1533 1534 1535 |
# File 'lib/ruby-macrodroid/actions.rb', line 1533 def to_s(colour: false, indent: 0) 'ChangeKeyboardAction ' + @h.inspect end |