Skip to main content

Binary Reporting (ReportBinary) [Player Network SDK only]

caution

Games must not report sensitive information such as personal data.

[Player Network SDK only] Report a binary file.

Supported channel: INTL

Supported Platforms

Supports Android, iOS, Windows platform.

Function Definition

void ReportBinary(
string eventName,
string data,
int length,
string specificChannel);

Input Parameters

ParametersTypeDescription
eventNamestringEvent
datastringBinary data
lengthintLength of data
specificChannelstringSpecify channel
1. If there is no fillable string, an empty string will report the initialized channel by default, which is the channel configured for reporting in INTLConfig.ini, see Integration Guide.
2. Specify reporting to a certain channel, such as "Facebook".
3. Specify reporting to multiple channels, separated by English comma ',', e.g., "Facebook,Firebase".

Code Example

string data = ReadFile("fileName");
UnionAdapterAPI.GetReportService().ReportBinary("INTL_BINARY_TEST", data, data.Length, "");