메소드 | 설명 | |
---|---|---|
AdbClient ( |
Initializes a new instance of the AdbClient class.
|
|
Connect ( |
||
CreateAdbForwardRequest ( string address, int port ) : byte[] |
Creates the adb forward request.
|
|
CreateForward ( |
||
CreateForward ( |
||
ExecuteRemoteCommand ( string command, |
||
FormAdbRequest ( string req ) : byte[] |
Create an ASCII string preceded by four hex digits. The opening "####" is the length of the rest of the string, encoded as ASCII hex(case doesn't matter).
|
|
GetAdbVersion ( ) : int | ||
GetDevices ( ) : List |
||
KillAdb ( ) : void | ||
ListForward ( |
||
Reboot ( string into, |
||
RemoveAllForwards ( |
||
RemoveForward ( |
||
RunLogService ( |
||
SetDevice ( IAdbSocket socket, |
메소드 | 설명 | |
---|---|---|
EnsureDevice ( |
Throws an ArgumentNullException if the device parameter is
|
public AdbClient ( |
||
endPoint |
/// The |
|
리턴 | SharpAdbClient.Exceptions |
public Connect ( |
||
endpoint | ||
리턴 | string |
public static CreateAdbForwardRequest ( string address, int port ) : byte[] | ||
address | string | The address. |
port | int | The port. |
리턴 | byte[] |
public CreateForward ( |
||
device | ||
local | ||
remote | ||
allowRebind | bool | |
리턴 | void |
public CreateForward ( |
||
device | ||
local | string | |
remote | string | |
allowRebind | bool | |
리턴 | void |
protected EnsureDevice ( |
||
device |
/// A |
|
리턴 | void |
public ExecuteRemoteCommand ( string command, |
||
command | string | |
device | ||
receiver | IShellOutputReceiver | |
cancellationToken | ||
maxTimeToOutputResponse | int | |
리턴 | void |
public static FormAdbRequest ( string req ) : byte[] | ||
req | string | The request to form. /// |
리턴 | byte[] |
public ListForward ( |
||
device | ||
리턴 | IEnumerable |
public Reboot ( string into, |
||
into | string | |
device | ||
리턴 | void |
public RemoveAllForwards ( |
||
device | ||
리턴 | void |
public RemoveForward ( |
||
device | ||
localPort | int | |
리턴 | void |
public RunLogService ( |
||
device | ||
리턴 | IEnumerable |
public SetDevice ( IAdbSocket socket, |
||
socket | IAdbSocket | |
device | ||
리턴 | void |