枚举 TSRSdk.TSRSdkLicenseStatus
- java.lang.Object
-
- java.lang.Enum<TSRSdk.TSRSdkLicenseStatus>
-
- com.tencent.mps.tie.api.TSRSdk.TSRSdkLicenseStatus
-
- 所有已实现的接口:
java.io.Serializable
,java.lang.Comparable<TSRSdk.TSRSdkLicenseStatus>
- 封闭类:
- TSRSdk
public static enum TSRSdk.TSRSdkLicenseStatus extends java.lang.Enum<TSRSdk.TSRSdkLicenseStatus>
Enum representing the status of an SDK license.
-
-
枚举常量概要
枚举常量 枚举常量 说明 APPINFO_NOT_MATCHED
App signature or packagename(android)、bundleId(macos/ios) not matched.AVAILABLE
Verify successful.DEVICE_COUNT_EXCEEDED
The number of license authorized devices exceeds.DEVID_NOT_MATCHED
License binding certificate policy devid information does not match.ERROR_INVALID
License server verify failed (invalid appid/sdkid, or disabled).EXPIRES
License expires.INTERNAL_ERR
Internal operating logic error.NO_AVAILABLE_AUTH
License not available for user request (online authorization).SDK_FEATURE_NOT_MATCHED
License certificate policy SDK version information does not match.SIGN_NOT_MATCHED
License binding certificate policy signature information does not match.TRIALS
Network abort, trials.UNAVAILABLE
License verify failed (mismatched certificate info or incorrect format or file not found).UNKNOWN
License status is unknown.
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static TSRSdk.TSRSdkLicenseStatus
findEnumByCode(java.lang.Integer code)
int
getCode()
java.lang.String
toString()
static TSRSdk.TSRSdkLicenseStatus
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。static TSRSdk.TSRSdkLicenseStatus[]
values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
-
-
-
枚举常量详细资料
-
UNKNOWN
public static final TSRSdk.TSRSdkLicenseStatus UNKNOWN
License status is unknown.
-
INTERNAL_ERR
public static final TSRSdk.TSRSdkLicenseStatus INTERNAL_ERR
Internal operating logic error.
-
APPINFO_NOT_MATCHED
public static final TSRSdk.TSRSdkLicenseStatus APPINFO_NOT_MATCHED
App signature or packagename(android)、bundleId(macos/ios) not matched.
-
TRIALS
public static final TSRSdk.TSRSdkLicenseStatus TRIALS
Network abort, trials.
-
ERROR_INVALID
public static final TSRSdk.TSRSdkLicenseStatus ERROR_INVALID
License server verify failed (invalid appid/sdkid, or disabled).
-
DEVICE_COUNT_EXCEEDED
public static final TSRSdk.TSRSdkLicenseStatus DEVICE_COUNT_EXCEEDED
The number of license authorized devices exceeds.
-
NO_AVAILABLE_AUTH
public static final TSRSdk.TSRSdkLicenseStatus NO_AVAILABLE_AUTH
License not available for user request (online authorization).
-
EXPIRES
public static final TSRSdk.TSRSdkLicenseStatus EXPIRES
License expires.
-
SDK_FEATURE_NOT_MATCHED
public static final TSRSdk.TSRSdkLicenseStatus SDK_FEATURE_NOT_MATCHED
License certificate policy SDK version information does not match.
-
SIGN_NOT_MATCHED
public static final TSRSdk.TSRSdkLicenseStatus SIGN_NOT_MATCHED
License binding certificate policy signature information does not match.
-
DEVID_NOT_MATCHED
public static final TSRSdk.TSRSdkLicenseStatus DEVID_NOT_MATCHED
License binding certificate policy devid information does not match.
-
UNAVAILABLE
public static final TSRSdk.TSRSdkLicenseStatus UNAVAILABLE
License verify failed (mismatched certificate info or incorrect format or file not found).
-
AVAILABLE
public static final TSRSdk.TSRSdkLicenseStatus AVAILABLE
Verify successful.
-
-
方法详细资料
-
values
public static TSRSdk.TSRSdkLicenseStatus[] values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:for (TSRSdk.TSRSdkLicenseStatus c : TSRSdk.TSRSdkLicenseStatus.values()) System.out.println(c);
- 返回:
- 按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
-
valueOf
public static TSRSdk.TSRSdkLicenseStatus valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
name
- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值
-
findEnumByCode
public static TSRSdk.TSRSdkLicenseStatus findEnumByCode(java.lang.Integer code)
-
getCode
public int getCode()
-
toString
@NonNull public java.lang.String toString()
- 覆盖:
toString
在类中java.lang.Enum<TSRSdk.TSRSdkLicenseStatus>
-
-