Skip to main content

LoadNoticeData

[Player Network SDK & MSDK] Get notice data.

Supported Platform

Supports Android, iOS, Windows platform.

Function Definition

string LoadNoticeData(string noticeGroup, string language, string region, string partition, string extraJson = "");

Input Parameters

ParameterTypeDescription
noticeGroupstring[MSDK Only] Get notice information from noticegroup
languagestringLanguage type (RFC 4646), such as "en". It defines the language used to send emails and SMS messages. For more information, see MSDK Language Type Definition or Player Network SDK Language Type Definition
regionstringThe user's ISO 3166-1 country or area code, defined in the MSDK document or Player Network Documentation
partitionstring[MSDK Only] Game zone
extraJsonstringExtended field

Callback Processing

The callback processing API is GUANoticeResultObserver. The callback data structure is GUANoticeResult.

The callback event is NoticeResultEvents. The callback methodID is GUA_NOTICE_REQUEST_DATA.

Code Sample

UnionAdapterAPI.GetNoticeService().LoadNoticeData("notice_group", "en", "156", "partition")