docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface ILobbyEvents

    An interface for managing a lobby events subscription and the callbacks associated with it.

    Namespace: Unity.Services.Lobbies
    Assembly: Unity.Services.Multiplayer.dll
    Syntax
    public interface ILobbyEvents

    Properties

    Callbacks

    The callbacks associated with the lobby events subscription.

    Declaration
    LobbyEventCallbacks Callbacks { get; }
    Property Value
    Type Description
    LobbyEventCallbacks

    Methods

    SubscribeAsync()

    Subscribes or re-subscribes to the events for the lobby associated with this lobby events.

    Declaration
    Task SubscribeAsync()
    Returns
    Type Description
    Task

    An awaitable task.

    UnsubscribeAsync()

    Unsubscribes from the events for the lobby associated with this lobby events.

    Declaration
    Task UnsubscribeAsync()
    Returns
    Type Description
    Task

    An awaitable task.

    In This Article
    Back to top
    Copyright © 2024 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)