UpdateLanguage
AndroidiOSWindows
If you were looking for the method for use with Unity, see UpdateLanguage for Unity SDK.
If you were looking for the method for use with Unity, see UpdateLanguage for Unity SDK.
Update language, this interface can only be called after receiving the asynchronous callback of InitCustomer
Function definition
UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static void UpdateLanguage(const FString& lan);
Input parameters
Name | Type | Description |
---|---|---|
lan | FString | SDK language. Specifies the language, which should follow the RFC 4646 standard, such as: en. For more details, see Language Type Definitions. |
Observers
The callback processing API is CustomerResultObserver.
The callback data structure is CustomerResult.
The callback methodID is kMethodIDOpenUnreadMessage
.
Code sample
FString lan = TEXT("zh-Hans");
UINTLSDKAPI::UpdateLanguage(lan);