Class: ChangeKeyboardAction
- Inherits:
-
DeviceSettingsAction
- Object
- MacroObject
- Action
- DeviceSettingsAction
- ChangeKeyboardAction
- Defined in:
- lib/ruby-macrodroid.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) ⇒ Object (also: #to_summary)
Methods inherited from Action
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ ChangeKeyboardAction
Returns a new instance of ChangeKeyboardAction.
3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 |
# File 'lib/ruby-macrodroid.rb', line 3663 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) ⇒ Object Also known as: to_summary
3674 3675 3676 |
# File 'lib/ruby-macrodroid.rb', line 3674 def to_s(colour: false) 'ChangeKeyboardAction ' + @h.inspect end |