docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IClientSessionNetwork

    A handle to the network handler used by the Client's Session.

    Namespace: Unity.Services.Multiplayer
    Assembly: Unity.Services.Multiplayer.dll
    Syntax
    public interface IClientSessionNetwork

    Properties

    NetworkHandler

    A handler that configures the network as a session start and stops.

    Declaration
    INetworkHandler NetworkHandler { get; set; }
    Property Value
    Type Description
    INetworkHandler

    State

    State of the underlying network handler.

    Declaration
    NetworkState State { get; }
    Property Value
    Type Description
    NetworkState

    Events

    MigrationFailed

    Raised when the operation to migrate the network fails

    Declaration
    event Action<SessionError> MigrationFailed
    Event Type
    Type Description
    Action<SessionError>

    StartFailed

    Raised when the operation to start the network fails

    Declaration
    event Action<SessionError> StartFailed
    Event Type
    Type Description
    Action<SessionError>

    StateChanged

    State changed events will be fired when the internal state changes.

    Declaration
    event Action<NetworkState> StateChanged
    Event Type
    Type Description
    Action<NetworkState>

    StopFailed

    Raised when the operation to stop the network fails

    Declaration
    event Action<SessionError> StopFailed
    Event Type
    Type Description
    Action<SessionError>
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)