Back to Vassonic

SonicConfig (sdk 3.0.0 API)

sonic-android/docs/javadoc/com/tencent/sonic/sdk/SonicConfig.html

3.1.13.0 KB
Original Source

跳过导航链接

com.tencent.sonic.sdk

类 SonicConfig

  • java.lang.Object

    • com.tencent.sonic.sdk.SonicConfig

public classSonicConfigextends java.lang.Object

Sonic global config

嵌套类概要

嵌套类 | 限定符和类型 | 类和说明 | | --- | --- | | static class | SonicConfig.Builder Builder for SonicConfig |

字段概要

字段 | 限定符和类型 | 字段和说明 | | --- | --- | | int | SONIC_MAX_NUM_OF_DOWNLOADING_TASK The max number of tasks which is downloading in the same time. | | boolean | VERIFY_CACHE_FILE_WITH_SHA1 Whether verify file by compare SHA1. |

方法概要

- 

从类继承的方法 java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

字段详细资料

- 

SONIC_MAX_NUM_OF_DOWNLOADING_TASK

public int SONIC_MAX_NUM_OF_DOWNLOADING_TASK

The max number of tasks which is downloading in the same time.

- 

VERIFY_CACHE_FILE_WITH_SHA1

public boolean VERIFY_CACHE_FILE_WITH_SHA1

Whether verify file by compare SHA1. If this value is false, sonic will verify file by file's size. Verify the file size is less time consuming than checking SHA1.

跳过导航链接