Data Structures | |
protocol | <V2TXLivePremier> |
protocol | <V2TXLivePremierObserver> |
class | V2TXLivePremier |
protocol V2TXLivePremier-p |
Class Methods | |
(NSString *) | + getSDKVersionStr |
(void) | + setObserver: |
(V2TXLiveCode) | + setLogConfig: |
(V2TXLiveCode) | + setEnvironment: |
(void) | + setLicence:key: |
(V2TXLiveCode) | + setSocks5Proxy:port:username:password: |
+ (NSString *) getSDKVersionStr |
Get the SDK version number
+ (V2TXLiveCode) setEnvironment: | (const char *) | env |
Set up SDK access environment
env | currently supports two parameters "default" and "GDPR"
|
+ (void) setLicence: | (NSString *) | url | |
key: | (NSString *) | key | |
Set SDK authorization license
Try and Purchase a License: https://intl.cloud.tencent.com/document/product/1071/38546
url | the url of licence |
key | the key of licence |
+ (V2TXLiveCode) setLogConfig: | (V2TXLiveLogConfig *) | config |
Set Log configuration information
+ (void) setObserver: | (id< V2TXLivePremierObserver >) | observer |
Set V2TXLivePremier callback interface
+ (V2TXLiveCode) setSocks5Proxy: | (NSString *) | host | |
port: | (NSInteger) | port | |
username: | (NSString *) | username | |
password: | (NSString *) | password | |
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 |
protocol V2TXLivePremierObserver-p |
Instance Methods | |
(void) | - onLog:log: |
(void) | - onLicenceLoaded:Reason: |
|
optional |
setLicence result callback interface
result | the result of setLicence interface, 0 succeeds, negative number fails |
reason | the reason for failure |
|
optional |
Custom Log output callback interface
class V2TXLivePremier |
Class Methods | |
(NSString *) | + getSDKVersionStr |
(void) | + setObserver: |
(V2TXLiveCode) | + setLogConfig: |
(V2TXLiveCode) | + setEnvironment: |
(void) | + setLicence:key: |
(V2TXLiveCode) | + setSocks5Proxy:port:username:password: |
+ (NSString *) getSDKVersionStr |
Get the SDK version number
+ (V2TXLiveCode) setEnvironment: | (const char *) | env |
Set up SDK access environment
env | currently supports two parameters "default" and "GDPR"
|
+ (void) setLicence: | (NSString *) | url | |
key: | (NSString *) | key | |
Set SDK authorization license
Try and Purchase a License: https://intl.cloud.tencent.com/document/product/1071/38546
url | the url of licence |
key | the key of licence |
+ (V2TXLiveCode) setLogConfig: | (V2TXLiveLogConfig *) | config |
Set Log configuration information
+ (void) setObserver: | (id< V2TXLivePremierObserver >) | observer |
Set V2TXLivePremier callback interface
+ (V2TXLiveCode) setSocks5Proxy: | (NSString *) | host | |
port: | (NSInteger) | port | |
username: | (NSString *) | username | |
password: | (NSString *) | password | |
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 |