Skip to main content

Load notice information (LoadNoticeData)

[Player Network SDK & MSDK] Retrieve notice data.

Supported platforms

Supports Android, iOS, Windows platform.

Function Definition

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

Input Parameters

ParametersTypeDescription
noticeGroupstring[MSD only] Extract notice information via noticegroup
languagestringLanguage code (RFC 4646), such as "en", is used to specify the language for sending emails and SMS. For details, please refer to MSDK or Player Network SDK language code definitions.
regionstringUser ISO 3166-1 country or region code, defined in the MSDK document or the Player Network documentation
partitionstring[MSDK only] Game partition
extraJsonstringExtended Field

Callback Handling

The callback handler interface is GUANoticeResultObserver.The callback data structure is GUANoticeResult.

The callback event is NoticeResultEvents. The callback ID is GUA_NOTICE_REQUEST_DATA.

Code Example

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