achievement_login_status

Check to see if the user is already logged in.

Syntax:

achievement_login_status();


Returns: Boolean


Description

This function is currently only useful for Google Play on the Android platform. It will check to see if the user is already logged into Google services, in which case it will return true, or not, returning false. If it returns true there is no need to call the achievement_login function.

Example:

if !achievement_login_status()
   {
   achievement_login();
   }

The above code will log you into the chosen leaderboard and achievement service.


Back: Achievements and Leaderboards
Next: achievement_login
© Copyright YoYo Games Ltd. 2015 All Rights Reserved