docs.unity3d.com
  • Manual
  • Scripting API
  • Changelog
  • License

    • Unity.DigitalTwins.Storage
      • ISceneProvider
      • IWorkspaceProvider
      • SceneProvider
      • WorkspaceProvider
    • Unity.DigitalTwins.Storage.Editor
      • PlaceholderEditor
    • Unity.DigitalTwins.Storage.Runtime
      • PlaceholderRuntime
    • Unity.DigitalTwins.Storage.Tests.Runtime
      • SceneProviderTests
      • WorkspaceProviderTests

    Interface IWorkspaceProvider

    An interface that provides access to either a list or single instance of Unity.DigitalTwins.Common.IWorkspace as the result of Task operations.

    Namespace: Unity.DigitalTwins.Storage
    Assembly: solution.dll
    Syntax
    public interface IWorkspaceProvider

    Methods

    GetWorkspaceAsync(String)

    Returns a Task that results in an Unity.DigitalTwins.Common.IWorkspace when completed.

    Declaration
    Task<IWorkspace> GetWorkspaceAsync(string workspaceId)
    Parameters
    Type Name Description
    String workspaceId

    A workspace Id.

    Returns
    Type Description
    Task<Unity.DigitalTwins.Common.IWorkspace>

    ListWorkspacesAsync()

    Returns a Task that results in a list of Unity.DigitalTwins.Common.IWorkspace when completed.

    Declaration
    Task<IEnumerable<IWorkspace>> ListWorkspacesAsync()
    Returns
    Type Description
    Task<IEnumerable<Unity.DigitalTwins.Common.IWorkspace>>
    Back to top Generated by DocFX
    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