Request Verification Code (RequestVerifyCode)
Function Definition
UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static bool RequestVerifyCode(
const FString Account,
const UVerifyCodeType CodeType,
const FString PhoneAreaCode,
const FString ExtraJson = "{}");
Parameter Instructions
| Parameters | Type | Explanation |
|---|---|---|
| Account | FString | Account can be registered with email and phone number |
| CodeType | UVerifyCodeType | Type of verification code request |
| PhoneAreaCode | FString | Phone area code, for instance "86" for China.If registered with an email address, this field is empty. |
| ExtraJson | FString | Extended information |
Observers
The callback handler interface is AuthAccountResultObserver.The callback data structure is AccountResult.
The callback ID is kMethodIDAuthRequestVerifyCode.
Code example
UINTLSDKAPI::RequestVerifyCode("youremail@sample.com", UVerifyCodeType::kVerifyCodeTypeRegister, "");