Skip to main content

RequestNoticeData

AndroidiOSWindows
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

ParameterTypeDescription
regionstringISO 3166-1 numeric code for country or region
For example 156 for China, 040 for Austria
Region value 0 for pulling all region notice
langTypestringLanguage code (RFC 4646) that defines the language used to send emails and SMS messages, such as "en"
For more information, see Language Type Definition
extraJsonstringThe 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);