Class PlayerSessionCallbacks
Callbacks for player session updates
Namespace: Unity.PSN.PS5.Sessions
Syntax
public class PlayerSessionCallbacks
Fields
WebApiNotificationCallback
Additional callback to process raw order-guaranteed push event WebApi Notifications.
Declaration
public Session.RawSessionEventHandler WebApiNotificationCallback
Field Value
| Type | Description |
|---|---|
| Session.RawSessionEventHandler |
Remarks
The raw order-guaranteed event data, including the json string, is parsed to this callback Use this if additional processing is required for the raw event data.
Properties
OnSessionUpdated
Update method called when an order-guaranteed push event is handled for a player session
Declaration
public PlayerSession.SessionEventHandler OnSessionUpdated { get; set; }
Property Value
| Type | Description |
|---|---|
| PlayerSession.SessionEventHandler |
Remarks
Some of the notification will include Json data which is parsed when the notification is recieved.