Silk Mobile

Table of Contents (Homepage)

ResetDeviceBridge

ResetDeviceBridge()

images/images/os-icons/os_ios_150x150.png

images/images/os-icons/os_android_150x150.png

images/images/os-icons/os_windows_150x150.png

Description

Resets the connection of devices connected to Silk Mobile .

Usage

This command should not be used on a regular bases, as using it too often can kill the connection between Silk Mobile and the device. It should only be used on long test executions, roughly once every 10 hours in order to refresh the connection.

For Android devices: It restarts the adb

For iOS devices: It restarts the Apple mobile device service

For Windows Phone devices:It restarts the IpOverUsbSvc service

Note: The ResetDeviceBridge command is available only for Windows machine (Not Mac).

Code Examples

Java Example
client.resetDeviceBridge("Android");
C# Example
client.ResetDeviceBridge("Android");
VBScript Example
client.ResetDeviceBridge "Android"
Report
Python Example
self.client.resetDeviceBridgeOS("Android")
Perl Example
$client->resetDeviceBridgeOS("Android");