v1.0.0
Latest
2020.3+

Class FriendsEventCallbacks

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

Inheritance
FriendsEventCallbacks
Namespace: Unity.Services.Friends.Notifications
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
TypeDescription
Action<FriendsEventConnectionState>

MessageReceived

Event called when a message is received

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

PresenceUpdated

Event called when a friend's presence is updated.

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

RelationshipAdded

Event called when a relationship gets added.

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

RelationshipDeleted

Event called when a relationship gets deleted.

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