文档

排查追踪接口

更新时间:

获取sessionId

获取用于追踪解析过程的sessionId,若遇到解析异常的情况,通过钉群、工单等方式寻找技术支持协助排查时,需要提供此信息。

说明

sessionId为随机生成,长度为12位,App生命周期内保持不变。

getSessionId

接口定义

String getSessionId()

所属类

HttpDnsService

返回说明

类型

说明

String

返回sessionId

代码示例

val httpdns = HttpDns.getService(applicationContext, accountID, secretKey)
val sessionId = httpdns?.getSessionId()
HttpDnsService httpdns = HttpDns.getService(applicationContext, accountID, secretKey);
String sessionId = httpdns.getSessionId();
  • 本页导读 (0)