Class FriendsEventCallbacks
A class for you to provide the callbacks you want to be called from the events subscription.
Inherited Members
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> |