- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
43 lines
1.0 KiB
Java
43 lines
1.0 KiB
Java
package com.facebook.gamingservices.cloudgaming.internal;
|
|
|
|
import androidx.annotation.Nullable;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public enum SDKShareIntentEnum {
|
|
INVITE("INVITE"),
|
|
REQUEST("REQUEST"),
|
|
CHALLENGE("CHALLENGE"),
|
|
SHARE("SHARE");
|
|
|
|
private final String mStringValue;
|
|
|
|
@Override // java.lang.Enum
|
|
public String toString() {
|
|
return this.mStringValue;
|
|
}
|
|
|
|
SDKShareIntentEnum(String str) {
|
|
this.mStringValue = str;
|
|
}
|
|
|
|
@Nullable
|
|
public static String validate(String str) {
|
|
for (SDKShareIntentEnum sDKShareIntentEnum : values()) {
|
|
if (sDKShareIntentEnum.toString().equals(str)) {
|
|
return str;
|
|
}
|
|
}
|
|
return null;
|
|
}
|
|
|
|
@Nullable
|
|
public static SDKShareIntentEnum fromString(String str) {
|
|
for (SDKShareIntentEnum sDKShareIntentEnum : values()) {
|
|
if (sDKShareIntentEnum.toString().equals(str)) {
|
|
return sDKShareIntentEnum;
|
|
}
|
|
}
|
|
return null;
|
|
}
|
|
}
|