C# Class DroidExplorer.Core.Adb.Device

Inheritance: IDevice
Mostra file Open project: camalot/droidexplorer Class Usage Examples

Public Methods

Method Description
CreateFromAdbData ( String data ) : Device
Device ( String serial, DeviceState state ) : System
ExecuteShellCommand ( String command, IShellOutputReceiver receiver ) : void
GetProperty ( ) : String
GetProperty ( String name ) : String
GetStateFromString ( String state ) : DeviceState
ToString ( ) : String

Method Details

CreateFromAdbData() public static method

public static CreateFromAdbData ( String data ) : Device
data String
return Device

Device() public method

public Device ( String serial, DeviceState state ) : System
serial String
state DeviceState
return System

ExecuteShellCommand() public method

public ExecuteShellCommand ( String command, IShellOutputReceiver receiver ) : void
command String
receiver IShellOutputReceiver
return void

GetProperty() public method

public GetProperty ( ) : String
return String

GetProperty() public method

public GetProperty ( String name ) : String
name String
return String

GetStateFromString() public static method

public static GetStateFromString ( String state ) : DeviceState
state String
return DeviceState

ToString() public method

public ToString ( ) : String
return String