docs.unity3d.com
    Show / Hide Table of Contents

    Class GameSessionCallbacks

    Callbacks for game session updates

    Inheritance
    Object
    GameSessionCallbacks
    Namespace: Unity.PSN.PS5.Sessions
    Syntax
    public class GameSessionCallbacks

    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 game session

    Declaration
    public GameSession.SessionEventHandler OnSessionUpdated { get; set; }
    Property Value
    Type Description
    GameSession.SessionEventHandler
    Remarks

    Some of the notification will include Json data which is parsed when the notification is recieved.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 25 September 2020