docs.unity3d.com
    Show / Hide Table of Contents

    Interface ISessionProvider

    Provides a way to get the current session for services integration.

    Namespace: Unity.Cloud.Presence
    Syntax
    public interface ISessionProvider

    Properties

    Session

    Indicates in the current session if the local participant has joined.

    Declaration
    ISession Session { get; }
    Property Value
    Type Description
    ISession

    Events

    SessionChanged

    Calls the methods in its invocation list when the session changes. Returns Null if the participant left the session.

    Declaration
    event Action<ISession> SessionChanged
    Event Type
    Type Description
    Action<ISession>

    Extension Methods

    GenericDataExtensions.SerializeToByteArray(Object)
    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