EOS_CustomInvites_AddNotifyCustomInviteAccepted

EOS API reference page for EOS_CustomInvites_AddNotifyCustomInviteAccepted

Choose your implementation method:

C

C#

This function is part of the CustomInvites Interface.

Remarks

Register to receive notifications when a Custom Invite for any logged in local users is accepted via the Social Overlay

must call EOS_CustomInvites_RemoveNotifyCustomInviteAccepted to remove the notification

Return Value

handle representing the registered callback

Parameters

EOS_CustomInvites_AddNotifyCustomInviteAccepted

Parameter Type And Name

Usage Information

EOS_HCustomInvites Handle

const EOS_CustomInvites_AddNotifyCustomInviteAcceptedOptions* Options

Structure containing information about the request.

void* ClientData

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

const EOS_CustomInvites_OnCustomInviteAcceptedCallback NotificationFn

A callback that is fired when a Custom Invite is accepted via the Social Overlay.

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_CustomInvites_OnCustomInviteAcceptedCallback to report the results of its operation. See the EOS_CustomInvites_OnCustomInviteAcceptedCallbackInfo page for more details, or check the Callback Data section below.

Callback Remarks

Function prototype definition for notifications that comes from EOS_CustomInvites_AddNotifyCustomInviteAccepted

Callback Parameters

EOS_CustomInvites_OnCustomInviteAcceptedCallback

Parameter Type And Name

Usage Information

const EOS_CustomInvites_OnCustomInviteAcceptedCallbackInfo* Data

A EOS_CustomInvites_OnCustomInviteAcceptedCallbackInfo containing the output information and result

Callback Data

The EOS SDK passes the following data structure to the callback function:

EOS_CustomInvites_OnCustomInviteAcceptedCallbackInfo

Property

Value

void* ClientData

Context that was passed into EOS_CustomInvites_AddNotifyCustomInviteAccepted

EOS_ProductUserId TargetUserId

User that sent the custom invite

EOS_ProductUserId LocalUserId

Recipient Local user id

const char* CustomInviteId

Id of the accepted Custom Invite

const char* Payload

Payload of the accepted Custom Invite

For more information, see the EOS_CustomInvites_OnCustomInviteAcceptedCallbackInfo page.

Related API Members

This function is part of the CustomInvites Interface.

Remarks

Register to receive notifications when a Custom Invite for any logged in local users is accepted via the Social Overlay

must call EOS_CustomInvites_RemoveNotifyCustomInviteAccepted to remove the notification

Return Value

handle representing the registered callback

Parameters

CustomInvites.CustomInvitesInterface.AddNotifyCustomInviteAccepted

Parameter Type And Name

Usage Information

AddNotifyCustomInviteAcceptedOptions options

Structure containing information about the request.

object clientData

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

OnCustomInviteAcceptedCallback notificationFn

A callback that is fired when a Custom Invite is accepted via the Social Overlay.

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 CustomInvites.OnCustomInviteAcceptedCallback to report the results of its operation. See the CustomInvites.OnCustomInviteAcceptedCallbackInfo page for more details, or check the Callback Data section below.

Callback Remarks

Function prototype definition for notifications that comes from {CustomInvitesInterface.AddNotifyCustomInviteAccepted}

Callback Parameters

CustomInvites.OnCustomInviteAcceptedCallback

Parameter Type And Name

Usage Information

OnCustomInviteAcceptedCallbackInfo data

A EOS_CustomInvites_OnCustomInviteAcceptedCallbackInfo containing the output information and result

Callback Data

The EOS SDK passes the following data structure to the callback function:

CustomInvites.OnCustomInviteAcceptedCallbackInfo

Property

Value

object ClientData

Context that was passed into EOS_CustomInvites_AddNotifyCustomInviteAccepted

ProductUserId TargetUserId

User that sent the custom invite

ProductUserId LocalUserId

Recipient Local user id

Utf8String CustomInviteId

Id of the accepted Custom Invite

Utf8String Payload

Payload of the accepted Custom Invite

For more information, see the CustomInvites.OnCustomInviteAcceptedCallbackInfo page.

Related API Members