EOS_Presence_AddNotifyJoinGameAccepted

EOS API reference page for EOS_Presence_AddNotifyJoinGameAccepted

This function is part of the Presence Interface.

Remarks

Register to receive notifications when a user accepts a join game option via the social overlay.

must call RemoveNotifyJoinGameAccepted to remove the notification

Return Value

handle representing the registered callback

Parameters

Parameter Type And Name

Usage Information

EOS_HPresence Handle

const EOS_Presence_AddNotifyJoinGameAcceptedOptions* Options

Structure containing information about the request.

void* ClientData

Arbitrary data that is passed back to you in the CompletionDelegate.

const EOS_Presence_OnJoinGameAcceptedCallback 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.

Callback Function Information

Because this function is asynchronous, it employs a callback of type EOS_Presence_OnJoinGameAcceptedCallback to report the results of its operation.

Callback Remarks

Function prototype definition for notifications that come from EOS_Presence_AddNotifyJoinGameAccepted

Callback Parameters

Parameter Type And Name

Usage Information

const EOS_Presence_JoinGameAcceptedCallbackInfo* Data

A EOS_Presence_JoinGameAcceptedCallbackInfo containing the output information and result

Related API Members