Class AppState | WebGL Publisher | 3.0.0
docs.unity3d.com
    Show / Hide Table of Contents

    Class AppState

    Represents the state of the App

    Inheritance
    Object
    AppState
    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
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023