Forms a FastbootCommand that is passed to Fastboot.ExecuteFastbootCommand()
Namespace: RegawMOD.Android
Assembly: AndroidLib (in AndroidLib.dll) Version: 1.5.2.0 (1.5.2.0)
Syntax
public static FastbootCommand FormFastbootCommand( string command, params string[] args )
Parameters
- command
- Type: SystemString
The fastboot command to run - args
- Type: SystemString
Any arguments that need to be sent to command
Return Value
Type: FastbootCommandFastbootCommand that contains formatted command information
Remarks
Examples
//This example shows how to create a non device-specific FastbootCommand //This demonstarates the fastboot command "fastboot devices" //Notice how you do not include the "fastboot" executable in the method, as the method takes care of it internally FastbootCommand fbCmd = Fastboot.FormFastbootCommand("devices");
See Also