Skip to main content
Version: 5.7.0

CustomScreenEvent

Creates custom data stream screen event

ServiceOperation
dataStreamCUSTOM_SCREEN_EVENT

Method Parameters

ParameterDescription
eventNameThe name of the event
eventPropertiesThe properties of the event

Usage

http://localhost:3000
string eventName = "customEvent";
string jsonEventProperties = "{\"key1\":\"value\",\"key2\":\"value\"}";
SuccessCallback successCallback = (response, cbObject) =>
{
Debug.Log(string.Format("Success | {0}", response));
};
FailureCallback failureCallback = (status, code, error, cbObject) =>
{
Debug.Log(string.Format("Failed | {0} {1} {2}", status, code, error));
};

_bc.DataStreamService.CustomScreenEvent(eventName, jsonEventProperties, successCallback, failureCallback);
JSON Response
{
"status": 200,
"data": null
}