- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
42 lines
1.0 KiB
Java
42 lines
1.0 KiB
Java
package com.google.android.gms.games;
|
|
|
|
import androidx.annotation.NonNull;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class GamesCallbackStatusCodes {
|
|
|
|
@Deprecated
|
|
public static final int CLIENT_RECONNECT_REQUIRED = 2;
|
|
public static final int INTERNAL_ERROR = 1;
|
|
public static final int OK = 0;
|
|
|
|
private GamesCallbackStatusCodes() {
|
|
}
|
|
|
|
@NonNull
|
|
public static String getStatusCodeString(int i) {
|
|
if (i == 0) {
|
|
return "OK";
|
|
}
|
|
if (i == 1) {
|
|
return "INTERNAL_ERROR";
|
|
}
|
|
if (i == 2) {
|
|
return "CLIENT_RECONNECT_REQUIRED";
|
|
}
|
|
if (i == 6003) {
|
|
return "MULTIPLAYER_DISABLED";
|
|
}
|
|
if (i == 7004) {
|
|
return "REAL_TIME_ROOM_NOT_JOINED";
|
|
}
|
|
if (i == 7000) {
|
|
return "REAL_TIME_CONNECTION_FAILED";
|
|
}
|
|
if (i == 7001) {
|
|
return "REAL_TIME_MESSAGE_SEND_FAILED";
|
|
}
|
|
return "unknown games callback status code: " + i;
|
|
}
|
|
}
|