Class ShareWidget | Share WebGL Game | 1.0.10-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class ShareWidget

    Inheritance
    Object
    ShareWidget
    Namespace: Unity.Connect.Share.Editor
    Syntax
    public class ShareWidget : StatefulWidget

    Constructors

    ShareWidget(Key, Action<String>, Action<String>, Action, Action, Action<String>, ShareState)

    Declaration
    public ShareWidget(Key key = null, Action<string> onUpload = null, Action<string> onThumbnailSelect = null, Action onDestroy = null, Action stopUploadAction = null, Action<string> onErrorAction = null, ShareState shareState = null)
    Parameters
    Type Name Description
    Key key
    Action<String> onUpload
    Action<String> onThumbnailSelect
    Action onDestroy
    Action stopUploadAction
    Action<String> onErrorAction
    ShareState shareState

    Fields

    onDestroy

    Declaration
    public readonly Action onDestroy
    Field Value
    Type Description
    Action

    onErrorAction

    Declaration
    public readonly Action<string> onErrorAction
    Field Value
    Type Description
    Action<String>

    onThumbnailSelect

    Declaration
    public readonly Action<string> onThumbnailSelect
    Field Value
    Type Description
    Action<String>

    onUpload

    Declaration
    public readonly Action<string> onUpload
    Field Value
    Type Description
    Action<String>

    shareState

    Declaration
    public readonly ShareState shareState
    Field Value
    Type Description
    ShareState

    stopUploadAction

    Declaration
    public readonly Action stopUploadAction
    Field Value
    Type Description
    Action

    Methods

    createState()

    Declaration
    public override State createState()
    Returns
    Type Description
    State
    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