Class: Appium::Core::Base::DeviceIME Private
- Inherits:
-
Object
- Object
- Appium::Core::Base::DeviceIME
- Defined in:
- lib/appium_lib_core/common/base/device_ime.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #activate(ime_name) ⇒ Object private
- #activated? ⇒ Boolean private
- #active_engine ⇒ Object private
- #available_engines ⇒ Object private
- #deactivate ⇒ Object private
-
#initialize(bridge) ⇒ DeviceIME
constructor
private
A new instance of DeviceIME.
Constructor Details
#initialize(bridge) ⇒ DeviceIME
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of DeviceIME.
23 24 25 |
# File 'lib/appium_lib_core/common/base/device_ime.rb', line 23 def initialize(bridge) @bridge = bridge end |
Instance Method Details
#activate(ime_name) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
27 28 29 |
# File 'lib/appium_lib_core/common/base/device_ime.rb', line 27 def activate(ime_name) @bridge.ime_activate(ime_name) end |
#activated? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
39 40 41 |
# File 'lib/appium_lib_core/common/base/device_ime.rb', line 39 def activated? @bridge.ime_activated end |
#active_engine ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
35 36 37 |
# File 'lib/appium_lib_core/common/base/device_ime.rb', line 35 def active_engine @bridge.ime_active_engine end |
#available_engines ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
31 32 33 |
# File 'lib/appium_lib_core/common/base/device_ime.rb', line 31 def available_engines @bridge.ime_available_engines end |
#deactivate ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
43 44 45 |
# File 'lib/appium_lib_core/common/base/device_ime.rb', line 43 def deactivate @bridge.ime_deactivate end |