SC_Challenge_GetWinner()

Accessor that returns the Scoreloop user who won the challenge.

Synopsis:

#include <scoreloop/sc_challenge.h>
 
SC_DEPRECATED SC_PUBLISHED SC_User_h SC_Challenge_GetWinner(SC_Challenge_h self)

Since:

BlackBerry 10.0.0

Deprecated in BlackBerry 10.3.0

Arguments:

self

An opaque handle for the SC_Challenge instance.

Library:

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

Description:

This method returns the winner of the completed challenge. It returns NULL if the challenge is not yet completed.

Returns:

SC_User_h The winner of the challenge or NULL.

Last modified: 2014-06-24



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

comments powered by Disqus