TPUploadData.UploadData

public void UploadData(bool toCheckInterval = true);

Description

The UploadData method uploads collected data to TentuPlay server.

It returns 1 for success and -1 for failure. If -1 is returned, you can see the following message in the Unity editor console in TentuPlay debug mode:

TPError||Error while uploading data: exception_error_message

Parameters

Name Description Required

toCheckInterval

If the value is false, UploadData ignores TentuPlaySettings.DeferredSendIntervalSec and upload data

Required