Determines if the Android device with the serial number provided is currently connected
Namespace: RegawMOD.Android
Assembly: AndroidLib (in AndroidLib.dll) Version: 1.5.2.0 (1.5.2.0)
Syntax
Parameters
- deviceSerial
- Type: SystemString
Serial number of Android device
Return Value
Type: BooleanA value indicating if the Android device with the serial number deviceSerial is connected
Examples
//This example demonstrates how to use IsDeviceConnected(string deviceSerial) in your project //This example assumes there is an instance of AndroidController running named android. string serialNumber = "HTC123456789"; bool currentlyConnected = android.IsDeviceConnected(serialNumber);
See Also