SCUI_Client_ShowFavoriteGamesView()

This method requests display of favorite games view.

Synopsis:

#include <scoreloop/scui_client.h>
 
SC_DEPRECATED SC_PUBLISHED SC_Error_t SCUI_Client_ShowFavoriteGamesView(SCUI_Client_h self, SCUI_ViewResultCallback_t callback, void *cookie)

Since:

BlackBerry 10.0.0

Arguments:

self

An opaque handle for the current SCUI_Client instance.

callback

Callback for UI dismiss notification.

cookie

The cookie passed to the callback.

Library:

libscoreloopcore (For the qcc command, use the -l scoreloopcore option to link against this library)

Description:

This method displays the favorite games view. The view is shown asynchronously and will automatically capture all user interactions over the whole screen. It allows adding currently played as top favorite for session user.

When the screen is dismissed, the callback will be called with a respective result (i.e. SCUI_RESULT_OK or SCUI_RESULT_CANCEL by user).

Before showing the UI, establishing a valid session with Scoreloop is performed, if not yet done. This might introduce a random delay between call to this method and actual view display.

Returns:

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

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus