Method: ADB#forward
- Defined in:
- lib/ADB.rb
#forward(source, destination, target = {}, timeout = 30) ⇒ Object
setup port forwarding
:emulator, and :serial. seconds.
147 148 149 |
# File 'lib/ADB.rb', line 147 def forward(source, destination, target={}, timeout=30) execute_adb_with(timeout, "#{which_one(target)} forward #{source} #{destination}") end |