This function is part of the Sessions Interface.
Remarks
Register to receive session invites.
must call RemoveNotifySessionInviteReceived to remove the notification
Return Value
handle representing the registered callback
Parameters
EOS_Sessions_AddNotifySessionInviteReceived
Parameter Type And Name | Usage Information |
---|---|
EOS_HSessions Handle | |
const EOS_Sessions_AddNotifySessionInviteReceivedOptions* Options | Structure containing information about the session invite notification |
void* ClientData | Arbitrary data that is passed back to you in the CompletionDelegate |
const EOS_Sessions_OnSessionInviteReceivedCallback NotificationFn | A callback that is fired when a session invite for a user has been received |
Callback Function Information
Because this function is asynchronous, it employs a callback of type EOS_Sessions_OnSessionInviteReceivedCallback to report the results of its operation.
Callback Remarks
Function prototype definition for notifications that come from EOS_Sessions_AddNotifySessionInviteReceived
Callback Parameters
EOS_Sessions_OnSessionInviteReceivedCallback
Parameter Type And Name | Usage Information |
---|---|
const EOS_Sessions_SessionInviteReceivedCallbackInfo* Data | A EOS_Sessions_SessionInviteReceivedCallbackInfo containing the output information and result |