QueryVerifyCodeStatus
AndroidiOSWindows
If you were looking for the method for use with Unity, see QueryVerifyCodeStatus for Unity SDK.
If you were looking for the method for use with Unity, see QueryVerifyCodeStatus for Unity SDK.
This API is used to query the status of verification codes.
Function definition
UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static bool QueryVerifyCodeStatus(
const FString Account,
const FString VerifyCode,
const UVerifyCodeType CodeType,
const FString PhoneAreaCode,
const FString ExtraJson = "{}");
Input parameters
Parameter | Type | Description |
---|---|---|
Account | FString | Account, which can be registered with an email address or phone number. |
VerifyCode | FString | Verification code |
CodeType | UVerifyCodeType | Type of requested verification code |
PhoneAreaCode | FString | Phone area code, such as "86" for China. If you register an account with an email address, the field is left empty. |
ExtraJson | FString | Extended information |
Observers
The callback processing interface is AuthAccountResultObserver. The callback data structure is AccountResult.
The callback methodID is kMethodIDAuthQueryVerifyCodeStatus
.
Code sample
UINTLSDKAPI::QueryVerifyCodeStatus("youraccount@email.com", "12345", UVerifyCodeType::kVerifyCodeTypeRegister, "");