ReportBinary
AndroidiOSWindows
If you were looking for the method for use with Unreal Engine, see ReportBinary for Unreal Engine SDK.
If you were looking for the method for use with Unreal Engine, see ReportBinary for Unreal Engine SDK.
caution
Do not report sensitive data such as personal information.
Reports binary files.
Supported channel: INTL
Function definition
public static void ReportBinary(string eventName, string data, int length, string specificChannel);
Input parameters
Parameter | Type | Description |
---|---|---|
eventName | string | Event |
data | string | Binary data |
length | int | Data length |
specificChannel | string | The 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);
INTLAPI.ReportBinary("INTL_BINARY_TEST", data, data.Length, "");