Class RelationshipsEventCallbacks
A class for you to provide the callbacks you want to be called from the friends event subscription.
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> |