SC_Challenge_GetLoser()

Accessor that returns the Scoreloop user who lost the challenge.

Synopsis:

#include <scoreloop/sc_challenge.h>
 
SC_DEPRECATED SC_PUBLISHED SC_User_h SC_Challenge_GetLoser(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 loser of a completed challenge. It returns NULL if the challenge is not yet complete.

The user properties available for the loser are: handle, login.

Returns:

SC_User_h The loser of the challenge.

Last modified: 2014-06-24



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

comments powered by Disqus