docs.unity3d.com
    Show / Hide Table of Contents

    Interface IRelationshipsEvents

    An interface allowing the subscription and unsubscription to the Relationships notification system and the callbacks invoked when an event occurs on the notification system.

    Namespace: Unity.Services.Friends.Notifications
    Syntax
    public interface IRelationshipsEvents

    Properties

    Callbacks

    The callbacks associated with the relationships events subscription.

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

    Methods

    SubscribeAsync()

    Subscribes or re-subscribes to the events associated to the existing relationships.

    Declaration
    Task SubscribeAsync()
    Returns
    Type Description
    Task

    An awaitable task.

    Exceptions
    Type Condition
    RelationshipsServiceException

    Represents an exception that occurs when communicating with the Unity Relationships Service.

    UnsubscribeAsync()

    Unsubscribes from the events associated to the existing relationships

    Declaration
    Task UnsubscribeAsync()
    Returns
    Type Description
    Task

    An awaitable task.

    Exceptions
    Type Condition
    RelationshipsServiceException

    Represents an exception that occurs when communicating with the Unity Relationships Service.

    Back to top
    Terms of use
    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