package com.leaderboard;
import anywheresoftware.b4a.BA;
import anywheresoftware.b4a.BA.DependsOn;
import anywheresoftware.b4a.BA.Permissions;
import anywheresoftware.b4a.BA.ShortName;
import anywheresoftware.b4a.BA.Version;
import com.heyzap.sdk.HeyzapLib;
@DependsOn(values={"heyzapsdk"})
@Permissions(values={"android.permission.INTERNET"})
@ShortName("HZ_LeaderBoard")
@Version(1.0f)
public class leaderboardclass {
public void HzRegister(final BA ba){
HeyzapLib.load(ba.context);
}
public void HzCheckin(final BA ba, String Msg){
HeyzapLib.checkin(ba.context, Msg);
}
public void HzSubmitscore(final BA ba, String Score, String ScoreMsg, String LevelId){
HeyzapLib.submitScore(ba.context, Score, ScoreMsg, LevelId);
}
public void HzShowLeaderBoard(final BA ba){
HeyzapLib.showLeaderboards(ba.context);
}
}