Class DataStreamService

java.lang.Object
com.bitheads.braincloud.services.DataStreamService

public class DataStreamService
extends Object
Class to handle data stream api calls.
  • Constructor Details

  • Method Details

    • customPageEvent

      public void customPageEvent​(String eventName, String jsonEventProperties, IServerCallback callback)
      Creates custom data stream page event
      Parameters:
      eventName - Name of event
      jsonEventProperties - Properties of event
      callback - The callback handler
    • customScreenEvent

      public void customScreenEvent​(String eventName, String jsonEventProperties, IServerCallback callback)
      Creates custom data stream screen event
      Parameters:
      eventName - Name of event
      jsonEventProperties - Properties of event
      callback - The callback handler
    • customTrackEvent

      public void customTrackEvent​(String eventName, String jsonEventProperties, IServerCallback callback)
      Creates custom data stream track event
      Parameters:
      eventName - Name of event
      jsonEventProperties - Properties of event
      callback - The callback handler
    • submitCrashReport

      public void submitCrashReport​(String crashType, String errorMsg, String crashJson, String crashLog, String userName, String userEmail, String userNotes, Boolean userSubmitted, IServerCallback callback)
      Send crash report
      Parameters:
      crashType - Identifies the crash category. Developer-defined, can be anything.
      errorMsg - Short message describing the crash.
      crashJson - Exception data.
      crashLog - Client log up until the crash (if available.)
      userName - Name provided by the user (if provided.)
      userEmail - Email address to respond to (if provided.)
      userNotes - Notes provided by the user (if provided.)
      userSubmitted - User submitted flag.
      callback - The callback handler