Query Verification Code Status
Query the status of the verification code.
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
| Parameters | Type | Explanation |
|---|---|---|
| Account | FString | Account, can be registered using email or phone number. |
| VerifyCode | FString | Verification code |
| CodeType | UVerifyCodeType | Type of verification code requested |
| PhoneAreaCode | FString | Phone area code, e.g., "86" for China.If the account is registered with an email address, the field is empty. |
| ExtraJson | FString | Additional information |
Callback processing
The callback handler interface is AuthAccountResultObserver.The callback data structure is AccountResult.
Callback ID is kMethodIDAuthQueryVerifyCodeStatus.
Code example
UINTLSDKAPI::QueryVerifyCodeStatus("youraccount@email.com", "12345", UVerifyCodeType::kVerifyCodeTypeRegister, "");