Class ResultCode
SDK result code. Aligned with Android ResultCode: android/ResultCode.java
Inherited Members
Namespace: UnityEngine.UDP
Syntax
public class ResultCode
Constructors
ResultCode()
Declaration
public ResultCode()
Fields
SDK_CONSUME_PURCHASE_FAILED
Result code: consume failed
Declaration
public const int SDK_CONSUME_PURCHASE_FAILED = -600
Field Value
Type | Description |
---|---|
Int32 |
SDK_CONSUME_PURCHASE_SUCCESS
Result code: consume success
Declaration
public const int SDK_CONSUME_PURCHASE_SUCCESS = 0
Field Value
Type | Description |
---|---|
Int32 |
SDK_INIT_ERROR
Result code: init failed
Declaration
public const int SDK_INIT_ERROR = -100
Field Value
Type | Description |
---|---|
Int32 |
SDK_INIT_SUCCESS
Result code: init success
Declaration
public const int SDK_INIT_SUCCESS = 0
Field Value
Type | Description |
---|---|
Int32 |
SDK_NOT_INIT
Result code: not init
Declaration
public const int SDK_NOT_INIT = -101
Field Value
Type | Description |
---|---|
Int32 |
SDK_PURCHASE_CANCEL
Result code: purchase canceled
Declaration
public const int SDK_PURCHASE_CANCEL = -301
Field Value
Type | Description |
---|---|
Int32 |
SDK_PURCHASE_FAILED
Result code: purchased failed
Declaration
public const int SDK_PURCHASE_FAILED = -300
Field Value
Type | Description |
---|---|
Int32 |
SDK_PURCHASE_PENDING
Declaration
public const int SDK_PURCHASE_PENDING = -303
Field Value
Type | Description |
---|---|
Int32 |
SDK_PURCHASE_REPEAT
Result code: purchase repeated
Declaration
public const int SDK_PURCHASE_REPEAT = -302
Field Value
Type | Description |
---|---|
Int32 |
SDK_PURCHASE_SUCCESS
Result code: purchase success
Declaration
public const int SDK_PURCHASE_SUCCESS = 0
Field Value
Type | Description |
---|---|
Int32 |
SDK_QUERY_INVENTORY_FAILED
Result code: query inventory failed
Declaration
public const int SDK_QUERY_INVENTORY_FAILED = -700
Field Value
Type | Description |
---|---|
Int32 |
SDK_QUERY_INVENTORY_SUCCESS
Result code: query inventory success
Declaration
public const int SDK_QUERY_INVENTORY_SUCCESS = 0
Field Value
Type | Description |
---|---|
Int32 |
SDK_SERVER_INVALID
Result code: internal server error
Declaration
public const int SDK_SERVER_INVALID = -999
Field Value
Type | Description |
---|---|
Int32 |