EOS API reference page for EOS_Connect_AddNotifyLoginStatusChanged

2 分で読めます

This function is part of the Connect Interface.


Register to receive user login status updates.

must call RemoveNotifyLoginStatusChanged to remove the notification.

Return Value

handle representing the registered callback.



Parameter Type And NameUsage Information
EOS_HConnect Handle
const EOS_Connect_AddNotifyLoginStatusChangedOptions* Optionsstructure containing the API version of the callback to use.
void* ClientDataarbitrary data that is passed back to you in the callback.
const EOS_Connect_OnLoginStatusChangedCallback Notificationa callback that is fired when the login status for a user changes.

Callback Function Information

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

Callback Remarks

Function prototype definition for notifications that come from EOS_Connect_AddNotifyLoginStatusChanged.

Callback Parameters


Parameter Type And NameUsage Information
const EOS_Connect_LoginStatusChangedCallbackInfo* DataA EOS_Connect_LoginStatusChangedCallbackInfo containing the output information and result.