docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class FriendsEventCallbacks

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

    Inheritance
    object
    FriendsEventCallbacks
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Friends.Notifications
    Assembly: Unity.Services.Friends.dll
    Syntax
    public class FriendsEventCallbacks

    Events

    FriendsEventConnectionStateChanged

    Event called when the connection state of the events subscription changes.

    Declaration
    public event Action<FriendsEventConnectionState> FriendsEventConnectionStateChanged
    Event Type
    Type Description
    Action<FriendsEventConnectionState>

    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>
    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)