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( Device device, string command, params string[] args )
Parameters
- device
- Type: RegawMOD.AndroidDevice
Specific Device to run the comand on - command
- Type: SystemString
The command to run on fastboot - 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 device-specific FastbootCommand //This demonstarates the fastboot command "fastboot flash zip C:\rom.zip" //Notice how you do not include the "fastboot" executable in the method, as the method takes care of it internally //This example also assumes there is an instance of Device named device FastbootComand fbCmd = Fastboot.FormFastbootCommand(device, "flash", @"zip C:\rom.zip");
See Also