Skip to main content

ReportBinary [Player Network SDK Only]

caution

Games cannot report sensitive information such as personal data.

[Player Network SDK Only] Reports binary files.

Supported channel: INTL

Supported Platform

Supports Android, iOS, Windows platform.

Function Definition

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

Input Parameters

ParameterTypeDescription
eventNamestringEvent
datastringBinary data
lengthintData length
specificChannelstringThe specified channel to report.
1. If there is no specified channel, enter an empty string. The event is reported to default channels configured in INTLConfig.ini. For more information, see Integration Guide.
2. If there is one specified channel, enter the channel, for example, "Facebook".
3. If there are multiple specified channels, separate them with commas “,”. For example, "Facebook,Firebase".

Code Sample

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