C# Class SharpAdbClient.AdbServer

Provides methods for interacting with the adb server. The adb server must be running for the rest of the Managed.Adb library to work.

The adb server is a background process that runs on the host machine. Its purpose if to sense the USB ports to know when devices are attached/removed, as well as when emulator instances start/stop. The ADB server is really one giant multiplexing loop whose purpose is to orchestrate the exchange of data between clients and devices.

Afficher le fichier Open project: ArduPilot/MissionPlanner Class Usage Examples

Méthodes publiques

Свойство Type Description
RequiredAdbVersion System.Version

Méthodes publiques

Méthode Description
AdbServer ( ) : Mono.Unix

Initializes a new instance of the AdbServer class.

AdbServer ( EndPoint endPoint ) : Mono.Unix

Initializes a new instance of the AdbServer class, and the specific EndPoint at which the server should be listening.

GetStatus ( ) : AdbServerStatus
RestartServer ( ) : void
StartServer ( string adbPath, bool restartServerIfNewer ) : StartServerResult

Method Details

AdbServer() public méthode

Initializes a new instance of the AdbServer class.
public AdbServer ( ) : Mono.Unix
Résultat Mono.Unix

AdbServer() public méthode

Initializes a new instance of the AdbServer class, and the specific EndPoint at which the server should be listening.
public AdbServer ( EndPoint endPoint ) : Mono.Unix
endPoint System.Net.EndPoint /// The at which the server should be listening. ///
Résultat Mono.Unix

GetStatus() public méthode

public GetStatus ( ) : AdbServerStatus
Résultat AdbServerStatus

RestartServer() public méthode

public RestartServer ( ) : void
Résultat void

StartServer() public méthode

public StartServer ( string adbPath, bool restartServerIfNewer ) : StartServerResult
adbPath string
restartServerIfNewer bool
Résultat StartServerResult

Property Details

RequiredAdbVersion public_oe static_oe property

The minum version of adb.exe that is supported by this library.
public static Version,System RequiredAdbVersion
Résultat System.Version