class TermuxRubyApi::SubSystems::Clipboard

Public Instance Methods

get() click to toggle source

Gets the contents of the Android system clipboard @return value [String]

# File lib/termux_ruby_api/sub_systems/clipboard.rb, line 12
def get
  owner.api_command('clipboard-get')
end
set(value) click to toggle source

Stores `value` in the Android system clipboard @param value [String]

# File lib/termux_ruby_api/sub_systems/clipboard.rb, line 6
def set(value)
  owner.api_command('clipboard-set', value)
end