Class: Appium::Core::Base::DeviceIME Private

Inherits:
Object
  • Object
show all
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

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.

Returns:

  • (Boolean)


39
40
41
# File 'lib/appium_lib_core/common/base/device_ime.rb', line 39

def activated?
  @bridge.ime_activated
end

#active_engineObject

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_enginesObject

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

#deactivateObject

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