C# Class GooglePlayServices.CommandLineDialog

Inheritance: TextAreaDialog
Show file Open project: googlesamples/unity-jar-resolver Class Usage Examples

Public Properties

Property Type Description
autoScrollToBottom bool
progress float
progressSummary string
progressTitle string

Public Methods

Method Description
CreateCommandLineDialog ( string title ) : CommandLineDialog

Create a dialog box which can display command line output.

Initialize ( ) : void

Initialize all members of the window.

RunAsync ( string toolPath, string arguments, CommandLine completionDelegate, string workingDirectory = null, string>.Dictionary envVars = null, CommandLine ioHandler = null, int maxProgressLines ) : void

Asynchronously execute a command line tool in this window, showing progress and finally calling the specified delegate on completion from the main / UI thread.

Protected Methods

Method Description
Update ( ) : void

Call the update event from the UI thread, optionally display / hide the progress bar.

Method Details

CreateCommandLineDialog() public static method

Create a dialog box which can display command line output.
public static CreateCommandLineDialog ( string title ) : CommandLineDialog
title string
return CommandLineDialog

Initialize() public method

Initialize all members of the window.
public Initialize ( ) : void
return void

RunAsync() public method

Asynchronously execute a command line tool in this window, showing progress and finally calling the specified delegate on completion from the main / UI thread.
public RunAsync ( string toolPath, string arguments, CommandLine completionDelegate, string workingDirectory = null, string>.Dictionary envVars = null, CommandLine ioHandler = null, int maxProgressLines ) : void
toolPath string Tool to execute.
arguments string String to pass to the tools' command line.
completionDelegate CommandLine Called when the tool completes.
workingDirectory string Directory to execute the tool from.
envVars string>.Dictionary
ioHandler CommandLine Allows a caller to provide interactive input and also handle /// both output and error streams from a single delegate.
maxProgressLines int Specifies the number of lines output by the /// command line that results in a 100% value on a progress bar.
return void

Update() protected method

Call the update event from the UI thread, optionally display / hide the progress bar.
protected Update ( ) : void
return void

Property Details

autoScrollToBottom public property

public bool autoScrollToBottom
return bool

progress public property

public float progress
return float

progressSummary public property

public string progressSummary
return string

progressTitle public property

public string progressTitle
return string