RequestNoticeData
AndroidiOSWindows
If you were looking for the method for use with Unreal Engine, see RequestNoticeData for Unreal Engine SDK.
If you were looking for the method for use with Unreal Engine, see RequestNoticeData for Unreal Engine SDK.
Request notice data.
Function definition
public static string RequestNoticeData(string region, string langType, string extraJson = "{}");
Input parameters
Parameter | Type | Description |
---|---|---|
region | string | ISO 3166-1 numeric code for country or region For example 156 for China, 040 for Austria Region value 0 for pulling all region notice |
langType | string | Language code (RFC 4646) that defines the language used to send emails and SMS messages, such as "en" For more information, see Language Type Definition |
extraJson | string | The extended field |
Observers
The callback processing interface is NoticeResultObserver. The callback data structure is NoticeResult.
The callback methodID is INTL_NOTICE_REQUEST_DATA
.
Code sample
string seqid = INTLAPI.RequestNoticeData("0", "zh-Hans", extraJson);