net.polyv.live.v1.config
类 LiveGlobalConfig

java.lang.Object
  继承者 net.polyv.live.v1.config.LiveGlobalConfig

public class LiveGlobalConfig
extends Object

直播全局配置类


方法摘要
static String getAppId()
           
static String getAppSecret()
           
static String getUserId()
           
static void init(String appId, String userId, String appSecret)
          系统全局初始化
static void init(String appId, String userId, String appSecret, Integer timeOut, Integer maxClientNum)
          系统全局初始化
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

方法详细信息

getAppId

public static String getAppId()

getUserId

public static String getUserId()

getAppSecret

public static String getAppSecret()

init

public static void init(String appId,
                        String userId,
                        String appSecret)
系统全局初始化

参数:
appId - appId
userId - userId
appSecret - appSecret

init

public static void init(String appId,
                        String userId,
                        String appSecret,
                        Integer timeOut,
                        Integer maxClientNum)
系统全局初始化

参数:
appId - appId
userId - userId
appSecret - appSecret
timeOut - timeOut
maxClientNum - maxClientNum


Copyright © 2020. All Rights Reserved.