This function is part of the Friends Interface.
Remarks
Listen for changes to friends for a particular account.
Return Value
A valid notification ID if successfully bound, or EOS_INVALID_NOTIFICATIONID otherwise
Parameters
EOS_Friends_AddNotifyFriendsUpdate
Parameter Type And Name | Usage Information |
---|---|
EOS_HFriends Handle | |
const EOS_Friends_AddNotifyFriendsUpdateOptions* Options | Information about who would like notifications. |
void* ClientData | This value is returned to the caller when FriendsUpdateHandler is invoked. |
const EOS_Friends_OnFriendsUpdateCallback FriendsUpdateHandler | The callback to be invoked when a change to any friend status changes. |
Callback Function Information
Because this function is asynchronous, it employs a callback of type EOS_Friends_OnFriendsUpdateCallback to report the results of its operation.
Callback Remarks
Callback for information related to a friend status update.
Callback Parameters
EOS_Friends_OnFriendsUpdateCallback
Parameter Type And Name | Usage Information |
---|---|
const EOS_Friends_OnFriendsUpdateInfo* Data |