Choose your implementation method:
This function is part of the Sessions Interface.
Register to receive notifications when a user accepts a session join game via the social overlay.
must call RemoveNotifyJoinSessionAccepted to remove the notification
Return Value
handle representing the registered callback
Parameters
EOS_Sessions_AddNotifyJoinSessionAccepted
This function enables your callback (the NotificationFn
parameter) to respond to events that happen on the back-end service. Remember to remove your callback function when it is no longer needed.
Because this function is asynchronous, it employs a callback of type EOS_Sessions_OnJoinSessionAcceptedCallback to report the results of its operation.
Function prototype definition for notifications that come from EOS_Sessions_AddNotifyJoinSessionAccepted
Callback Parameters
EOS_Sessions_OnJoinSessionAcceptedCallback
This function is part of the Sessions Interface.
Register to receive notifications when a user accepts a session join game via the social overlay.
must call RemoveNotifyJoinSessionAccepted to remove the notification
Return Value
handle representing the registered callback
Parameters
Sessions.SessionsInterface.AddNotifyJoinSessionAccepted
Parameter Type And Name
|
Usage Information
|
AddNotifyJoinSessionAcceptedOptions options
|
Structure containing information about the request.
|
object clientData
|
Arbitrary data that is passed back to you in the CompletionDelegate.
|
OnJoinSessionAcceptedCallback notificationFn
|
A callback that is fired when a a notification is received.
|
This function enables your callback (the NotificationFn
parameter) to respond to events that happen on the back-end service. Remember to remove your callback function when it is no longer needed.
Because this function is asynchronous, it employs a callback of type Sessions.OnJoinSessionAcceptedCallback to report the results of its operation.
Function prototype definition for notifications that come from {SessionsInterface.AddNotifyJoinSessionAccepted}
Callback Parameters
Sessions.OnJoinSessionAcceptedCallback
Parameter Type And Name
|
Usage Information
|
JoinSessionAcceptedCallbackInfo data
|
A EOS_Sessions_JoinSessionAcceptedCallbackInfo containing the output information and result
|
Was this document useful?
Thank you for the response!
You’ve marked this document as useful:
yes
You’ve marked this document as not useful:
no