docs.unity3d.com
    Show / Hide Table of Contents

    Class RelationshipsEventCallbacks

    A class for you to provide the callbacks you want to be called from the friends event subscription.

    Inheritance
    Object
    RelationshipsEventCallbacks
    Namespace: Unity.Services.Friends.Notifications
    Syntax
    public class RelationshipsEventCallbacks

    Events

    MessageReceived

    Event called when a message is received

    Declaration
    public event Action<IMessageReceivedEvent> MessageReceived
    Event Type
    Type Description
    Action<IMessageReceivedEvent>

    PresenceUpdated

    Event called when a friend's presence is updated.

    Declaration
    public event Action<IPresenceUpdatedEvent> PresenceUpdated
    Event Type
    Type Description
    Action<IPresenceUpdatedEvent>

    RelationshipAdded

    Event called when a relationship gets added.

    Declaration
    public event Action<IRelationshipAddedEvent> RelationshipAdded
    Event Type
    Type Description
    Action<IRelationshipAddedEvent>

    RelationshipDeleted

    Event called when a relationship gets deleted.

    Declaration
    public event Action<IRelationshipDeletedEvent> RelationshipDeleted
    Event Type
    Type Description
    Action<IRelationshipDeletedEvent>

    RelationshipsEventConnectionStateChanged

    Event called when the connection state of the friends event subscription changes.

    Declaration
    public event Action<RelationshipsEventConnectionState> RelationshipsEventConnectionStateChanged
    Event Type
    Type Description
    Action<RelationshipsEventConnectionState>
    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