- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
91 lines
3.1 KiB
Java
91 lines
3.1 KiB
Java
package com.google.android.gms.games;
|
|
|
|
import android.content.Intent;
|
|
import androidx.annotation.IntRange;
|
|
import androidx.annotation.NonNull;
|
|
import androidx.annotation.Nullable;
|
|
import com.google.android.gms.common.api.Releasable;
|
|
import com.google.android.gms.games.leaderboard.Leaderboard;
|
|
import com.google.android.gms.games.leaderboard.LeaderboardBuffer;
|
|
import com.google.android.gms.games.leaderboard.LeaderboardScore;
|
|
import com.google.android.gms.games.leaderboard.LeaderboardScoreBuffer;
|
|
import com.google.android.gms.games.leaderboard.ScoreSubmissionData;
|
|
import com.google.android.gms.tasks.Task;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public interface LeaderboardsClient {
|
|
|
|
public static class LeaderboardScores implements Releasable {
|
|
|
|
@Nullable
|
|
private final Leaderboard zza;
|
|
private final LeaderboardScoreBuffer zzb;
|
|
|
|
public LeaderboardScores(@Nullable Leaderboard leaderboard, @NonNull LeaderboardScoreBuffer leaderboardScoreBuffer) {
|
|
this.zza = leaderboard;
|
|
this.zzb = leaderboardScoreBuffer;
|
|
}
|
|
|
|
@Nullable
|
|
public Leaderboard getLeaderboard() {
|
|
return this.zza;
|
|
}
|
|
|
|
@NonNull
|
|
public LeaderboardScoreBuffer getScores() {
|
|
return this.zzb;
|
|
}
|
|
|
|
@Override // com.google.android.gms.common.api.Releasable
|
|
public void release() {
|
|
this.zzb.release();
|
|
}
|
|
}
|
|
|
|
@NonNull
|
|
Task<Intent> getAllLeaderboardsIntent();
|
|
|
|
@NonNull
|
|
Task<Intent> getLeaderboardIntent(@NonNull String str);
|
|
|
|
@NonNull
|
|
Task<Intent> getLeaderboardIntent(@NonNull String str, int i);
|
|
|
|
@NonNull
|
|
Task<Intent> getLeaderboardIntent(@NonNull String str, int i, int i2);
|
|
|
|
@NonNull
|
|
Task<AnnotatedData<LeaderboardScore>> loadCurrentPlayerLeaderboardScore(@NonNull String str, int i, int i2);
|
|
|
|
@NonNull
|
|
Task<AnnotatedData<Leaderboard>> loadLeaderboardMetadata(@NonNull String str, boolean z);
|
|
|
|
@NonNull
|
|
Task<AnnotatedData<LeaderboardBuffer>> loadLeaderboardMetadata(boolean z);
|
|
|
|
@NonNull
|
|
Task<AnnotatedData<LeaderboardScores>> loadMoreScores(@NonNull LeaderboardScoreBuffer leaderboardScoreBuffer, @IntRange(from = 1, to = 25) int i, int i2);
|
|
|
|
@NonNull
|
|
Task<AnnotatedData<LeaderboardScores>> loadPlayerCenteredScores(@NonNull String str, int i, int i2, @IntRange(from = 1, to = 25) int i3);
|
|
|
|
@NonNull
|
|
Task<AnnotatedData<LeaderboardScores>> loadPlayerCenteredScores(@NonNull String str, int i, int i2, @IntRange(from = 1, to = 25) int i3, boolean z);
|
|
|
|
@NonNull
|
|
Task<AnnotatedData<LeaderboardScores>> loadTopScores(@NonNull String str, int i, int i2, @IntRange(from = 1, to = 25) int i3);
|
|
|
|
@NonNull
|
|
Task<AnnotatedData<LeaderboardScores>> loadTopScores(@NonNull String str, int i, int i2, @IntRange(from = 1, to = 25) int i3, boolean z);
|
|
|
|
void submitScore(@NonNull String str, long j);
|
|
|
|
void submitScore(@NonNull String str, long j, @NonNull String str2);
|
|
|
|
@NonNull
|
|
Task<ScoreSubmissionData> submitScoreImmediate(@NonNull String str, long j);
|
|
|
|
@NonNull
|
|
Task<ScoreSubmissionData> submitScoreImmediate(@NonNull String str, long j, @NonNull String str2);
|
|
}
|