Uploading the BTX

Upload the business transaction to the server.

Upload the business transaction by calling uploadTrace:(NSData *)btx and passing the BTX byte array. The method returns true if the upload succeeds, otherwise it throws an SUPE2ETraceUploadException.

Call this blocking method in a separate thread other than the main application thread.

//ensure this blocking call gets executed in a separate thread
@try
{
  [traceService uploadTrace:btx];
}@catch (SUPE2ETraceUploadException *eue) {}