public class VodGlobalConfig extends Object
| 构造器和说明 |
|---|
VodGlobalConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
getReadToken() |
static String |
getSecretKey() |
static String |
getUserId() |
static String |
getWriteToken() |
static void |
init(String userId,
String writeToken,
String readToken,
String secretKey)
点播业务全局初始化
|
static void |
init(String userId,
String writeToken,
String readToken,
String secretKey,
Integer timeOut,
Integer maxClientNum)
点播业务全局初始化
|
public static String getUserId()
public static String getWriteToken()
public static String getReadToken()
public static String getSecretKey()
public static void init(String userId, String writeToken, String readToken, String secretKey)
userId - 系统分配的USERIDwriteToken - 写入操作密钥readToken - 读取操作密钥secretKey - 鉴权密钥Copyright © 2020. All rights reserved.