Files
rr3-apk/decompiled/sources/com/google/android/gms/games/LeaderboardsClient.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

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);
}