[JavaSignature('com/google/example/games/basegameutils/GameHelper')]
JGameHelper = interface(JObject)
['{DC334E08-C537-4900-8333-4E882BCEA010}']
{Methods}
procedure setup(listener:JGameHelper_GameHelperListener);cdecl;
procedure onStart(ac:JActivity);cdecl;
procedure onStop();cdecl;
function isSignedIn:boolean;cdecl;
function getApiClient:JGoogleApiClient;
procedure submitScore(LBid:JString;score:int64);cdecl;
function GetLeaderboardIntent(LBid:JString):Jintent;
function getAchievementsIntent():Jintent;
procedure UnlockAchievement(Aid:JString);cdecl;
procedure loadScoreOfLeaderBoard(LBid:JString);cdecl;
procedure enableDebugLog(enabled:boolean);cdecl;
procedure onActivityResult(requestCode:integer; resultCode:integer; data:JIntent);cdecl;
end;
TJGameHelper = class(TJavaGenericImport<JGameHelperClass, JGameHelper>) end;
Check out the full post about the Google Play Game Services wrapper on Google Plus before downloading the source code.
Mirror: Download the Google Play Game Services JNI wrapper for Delphi XE5 XE6 XE7 Firemonkey.