UpdateLanguage
AndroidiOSWindows
If you were looking for the method for use with Unreal Engine, see UpdateLanguage for Unreal Engine SDK.
If you were looking for the method for use with Unreal Engine, see UpdateLanguage for Unreal Engine SDK.
Update language, this interface can only be called after receiving the asynchronous callback of InitCustomer
Function definition
public static void UpdateLanguage(string lan);
Input parameters
Name | Type | Description |
---|---|---|
lan | FString | SDK language. Specifies the language, which should follow the RFC 4646 standard, such as: en. For details, see Language Type Definitions |
Callback Processing
The callback processing API is CustomerResultObserver.
The callback data structure is CustomerResult.
The callback methodID is INTL_CUSTOMER_UPDATE_LANGUAGE
.
Code sample
var lan = "zh-Hans";
INTLAPI.UpdateLanguage(lan);