com.qihoo.livecloud.sdk

## Class QHVCSdk

- java.lang.Object
- - com.qihoo.livecloud.sdk.QHVCSdk

-     public class QHVCSdk
      extends java.lang.Object

  Created by guohailiang on 2017/5/11.

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `destroy()` SDK销毁
    `QHVCSdkConfig` | `getConfig()` 获取SDK配置
    `static QHVCSdk` | `getInstance()`
    `java.lang.String` | `getVersion()` 获取版本号
    `int` | `init(QHVCSdkConfig config)` SDK初始化
    `void` | `updateDebugUtils(DebugUtils debugUtils)` 更新日志配置
    `int` | `validityCheck(java.lang.String appId, java.lang.String authorization, long authTime, int randomNum, com.qihoo.livecloud.authentication.QHVCAppAuth.ResultCallback<java.lang.String> callback)`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getInstance

          public static QHVCSdk getInstance()

    - #### init

          public int init(QHVCSdkConfig config)

      SDK初始化
      Parameters:
        `config` - SDK配置

    - #### validityCheck

          public int validityCheck(java.lang.String appId,
                                   java.lang.String authorization,
                                   long authTime,
                                   int randomNum,
                                   com.qihoo.livecloud.authentication.QHVCAppAuth.ResultCallback<java.lang.String> callback)

    - #### destroy

          public void destroy()

      SDK销毁

    - #### getConfig

          public QHVCSdkConfig getConfig()

      获取SDK配置
      Returns:
        SDK配置

    - #### getVersion

          public java.lang.String getVersion()

      获取版本号
      Returns:
        版本号

    - #### updateDebugUtils

          public void updateDebugUtils(DebugUtils debugUtils)

      更新日志配置
      Parameters:
        `debugUtils` - 日志配置