SCUI_Client_NewWithCallback()

Creates an instance of SCUI_Client.

Synopsis:

#include <scoreloop/scui_client.h>
 
SC_Error_t SCUI_Client_NewWithCallback(SCUI_Client_h *pSelf, SC_Client_h client, SCUI_ViewResultCallback_t callback, void *cookie)

Arguments:

pSelf

A pointer to the SCUI_Client handle.

client

An opaque handle for the current SC_Client instance used to regular communication with Scoreloop.

callback

Callback for UI dismiss notification.

cookie

The cookie passed to the callback.

Library:

libscoreloopcore

Description:

This method creates the SCUI_Client instance and initializes it. The SCUI_Client is a wrapper class around regular SC_Client. It only allows displaying of the UI views and requires separate BPS event forwarding.

Returns:

SC_Error_t A return code (SC_OK indicates success, any other value indicates an error).

Last modified: 2013-12-23

comments powered by Disqus