im.yixin.sdk.util
类 SDKFeedBackUtils

java.lang.Object
  继承者 im.yixin.sdk.util.SDKFeedBackUtils

public final class SDKFeedBackUtils
extends java.lang.Object

上传log到反馈平台


方法摘要
 org.apache.http.HttpEntity createFeedBackReqeust(ExceptionInfo info, java.lang.String title, java.lang.String fileId, java.lang.String pictureId, java.lang.String productId)
          反馈接口
static SDKFeedBackUtils getInstance()
          单例
 void postErrorHttpLog(java.lang.Class clazz, java.lang.String errorInfo, java.lang.Throwable throwable)
          异步上传log数据到反馈平台:http类型
 void postErrorLog(java.lang.Class clazz, java.lang.String errorInfo, java.lang.Throwable throwable)
          异步上传log数据到反馈平台
 void postErrorLog(java.lang.Class clazz, java.lang.String errorInfo, java.lang.Throwable throwable, java.lang.String appIdThirdpart, java.lang.String appNameThirdpart, java.lang.String sdkVersionThirdpart)
          异步上传log数据到反馈平台
 void postErrorLog(ExceptionInfo info, java.lang.String errorInfo)
          异步上传log数据到反馈平台
 void setApplicationContext(android.content.Context applicationContextParam)
          设置applicationContext
 void updateFeedBackFileIdOrPictureId(java.lang.String cid, java.lang.String fileId, java.lang.String pictureId, java.lang.String productId)
          关联更新已有反馈的附件:/ft/upCmtAttach.fb?
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

方法详细信息

getInstance

public static SDKFeedBackUtils getInstance()
单例


setApplicationContext

public void setApplicationContext(android.content.Context applicationContextParam)
设置applicationContext


createFeedBackReqeust

public org.apache.http.HttpEntity createFeedBackReqeust(ExceptionInfo info,
                                                        java.lang.String title,
                                                        java.lang.String fileId,
                                                        java.lang.String pictureId,
                                                        java.lang.String productId)
                                                 throws java.io.UnsupportedEncodingException
反馈接口

抛出:
java.io.UnsupportedEncodingException

updateFeedBackFileIdOrPictureId

public void updateFeedBackFileIdOrPictureId(java.lang.String cid,
                                            java.lang.String fileId,
                                            java.lang.String pictureId,
                                            java.lang.String productId)
关联更新已有反馈的附件:/ft/upCmtAttach.fb?cid=&productId=&fileId=&fileName=
关联更新已有反馈的图片:/ft/upCmtAttach.fb?cid=&productId=&pictureId=


postErrorLog

public void postErrorLog(ExceptionInfo info,
                         java.lang.String errorInfo)
异步上传log数据到反馈平台


postErrorLog

public void postErrorLog(java.lang.Class clazz,
                         java.lang.String errorInfo,
                         java.lang.Throwable throwable)
异步上传log数据到反馈平台


postErrorHttpLog

public void postErrorHttpLog(java.lang.Class clazz,
                             java.lang.String errorInfo,
                             java.lang.Throwable throwable)
异步上传log数据到反馈平台:http类型


postErrorLog

public void postErrorLog(java.lang.Class clazz,
                         java.lang.String errorInfo,
                         java.lang.Throwable throwable,
                         java.lang.String appIdThirdpart,
                         java.lang.String appNameThirdpart,
                         java.lang.String sdkVersionThirdpart)
异步上传log数据到反馈平台

参数:
appIdThirdpart - 第三方appId
appNameThirdpart - 第三方app名称
sdkVersionThirdpart - 第三方使用的sdk版本号