Data Structures | |
class | V2TXLivePremier.V2TXLivePremierObserver |
class | V2TXLivePremier |
class com::tencent::live2::V2TXLivePremier::V2TXLivePremierObserver |
Public Member Functions | |
void | onLog (int level, String log) |
void | onLicenceLoaded (int result, String reason) |
|
inline |
setLicence result callback interface
result | the result of setLicence interface, 0 succeeds, negative number fails |
reason | the reason for failure |
|
inline |
Custom Log output callback interface
class com::tencent::live2::V2TXLivePremier |
Static Public Member Functions | |
static String | getSDKVersionStr () |
static void | setObserver (V2TXLivePremierObserver observer) |
static void | setLogConfig (V2TXLiveDef.V2TXLiveLogConfig config) |
static void | setEnvironment (String env) |
static void | setLicence (Context context, String url, String key) |
static void | setSocks5Proxy (String host, int port, String username, String password) |
|
inlinestatic |
Get the SDK version number
|
inlinestatic |
Set up SDK access environment
env | currently supports two parameters "default" and "GDPR"
|
|
inlinestatic |
Set SDK authorization license
Try and Purchase a License: https://intl.cloud.tencent.com/document/product/1071/38546
context | |
url | the url of licence |
key | the key of licence |
|
inlinestatic |
Set Log configuration information
|
inlinestatic |
Set V2TXLivePremier callback interface
|
inlinestatic |
Set SDK sock5 proxy config
host | sock5 sock5 proxy host |
port | sock5 sock5 proxy port |
username | sock5 sock5 proxy username |
password | sock5 sock5 proxy password |