Class AppState
Represents the state of the App
Namespace: Unity.Connect.Share.Editor
Syntax
[Serializable]
public class AppState
Constructors
AppState(String, String, String, String, ShareStep, String, String, String)
Constructor
Declaration
public AppState(string title = null, string buildOutputDir = null, string buildGUID = null, string zipPath = null, ShareStep step = ShareStep.Idle, string errorMsg = null, string key = null, string url = null)
Parameters
Type | Name | Description |
---|---|---|
String | title | |
String | buildOutputDir | |
String | buildGUID | |
String | zipPath | |
ShareStep | step | |
String | errorMsg | |
String | key | |
String | url |
Fields
buildGUID
GUID of the build
Declaration
public string buildGUID
Field Value
Type | Description |
---|---|
String |
buildOutputDir
The output directory of the build
Declaration
public string buildOutputDir
Field Value
Type | Description |
---|---|
String |
errorMsg
Latest error message
Declaration
public string errorMsg
Field Value
Type | Description |
---|---|
String |
key
the key that identifies this build process
Declaration
public string key
Field Value
Type | Description |
---|---|
String |
step
The current step fo the App
Declaration
public ShareStep step
Field Value
Type | Description |
---|---|
ShareStep |
title
The title of the build
Declaration
public string title
Field Value
Type | Description |
---|---|
String |
url
The URL of the uploaded build
Declaration
public string url
Field Value
Type | Description |
---|---|
String |
zipPath
The path of the most recent zipped build
Declaration
public string zipPath
Field Value
Type | Description |
---|---|
String |
Methods
CopyWith(String, String, String, String, Nullable<ShareStep>, String, String, String)
Copies the state of the app, applying changes
Declaration
public AppState CopyWith(string title = null, string buildOutputDir = null, string buildGUID = null, string zipPath = null, ShareStep? step = default(ShareStep? ), string errorMsg = null, string key = null, string url = null)
Parameters
Type | Name | Description |
---|---|---|
String | title | |
String | buildOutputDir | |
String | buildGUID | |
String | zipPath | |
Nullable<ShareStep> | step | |
String | errorMsg | |
String | key | |
String | url |
Returns
Type | Description |
---|---|
AppState |