SCUI_Client_SetViewEventCallback()

Function to set optional event callback.

Synopsis:

#include <scoreloop/scui_client.h>
 
SC_Error_t SCUI_Client_SetViewEventCallback(SCUI_Client_h self, SC_RequestControllerCompletionCallback_t callback, void *cookie)

Arguments:

self

An opaque handle for the current SCUI_Client instance.

callback

Callback for view event notifications.

cookie

The cookie passed to the callback.

Library:

libscoreloopcore

Description:

It is called only once, just before showing the view. It will inform about the result of any Scoreloop-related preconditions (especially: network connectivity, profile loading).

Returns:

SC_Error_t A return code (A value of SC_OK indicates success).