EOS_Auth_AddNotifyLoginStatusChanged

EOS API reference page for EOS_Auth_AddNotifyLoginStatusChanged

This function is part of the Auth Interface.

Remarks

Register to receive login status updates.

must call RemoveNotifyLoginStatusChanged to remove the notification

Return Value

handle representing the registered callback

Parameters

Parameter Type And Name

Usage Information

EOS_HAuth Handle

const EOS_Auth_AddNotifyLoginStatusChangedOptions* Options

structure containing the api version of AddNotifyLoginStatusChanged to use

void* ClientData

arbitrary data that is passed back to you in the callback

const EOS_Auth_OnLoginStatusChangedCallback Notification

a callback that is fired when the login status for a user changes

This function enables your callback (the Notification 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_Auth_OnLoginStatusChangedCallback to report the results of its operation.

Callback Remarks

Function prototype definition for notifications that come from EOS_Auth_AddNotifyLoginStatusChanged

Callback Parameters

Parameter Type And Name

Usage Information

const EOS_Auth_LoginStatusChangedCallbackInfo* Data

A EOS_Auth_LoginStatusChangedCallbackInfo containing the output information and result

Related API Members