Classes | |
class | com.alivc.live.pusher.AlivcLiveBase |
「Main API」AliLive Base Interface More... | |
Functions | |
static String | com.alivc.live.pusher.AlivcLiveBase.getSDKVersion () |
static void | com.alivc.live.pusher.AlivcLiveBase.setListener (AlivcLiveBaseListener listener) |
static boolean | com.alivc.live.pusher.AlivcLiveBase.registerSDK () |
static void | com.alivc.live.pusher.AlivcLiveBase.setLogLevel (AlivcLivePushLogLevel level) |
static void | com.alivc.live.pusher.AlivcLiveBase.setConsoleEnabled (boolean enabled) |
static void | com.alivc.live.pusher.AlivcLiveBase.setLogDirPath (String logDirPath, int maxPartFileSizeInKB) |
static boolean | com.alivc.live.pusher.AlivcLiveBase.isSupportLiveMode (AlivcLiveMode liveMode) |
|
static |
|
static |
Is the live mode supported by SDK
liveMode | live mode |
AlivcLiveMode#AlivcLiveBasicMode
AlivcLiveMode#AlivcLiveBasicMode
and AlivcLiveMode#AlivcLiveInteractiveMode
Definition at line 129 of file AlivcLiveBase.java.
|
static |
Register SDK license
AlivcLiveBaseListener#onLicenceCheck(AlivcLivePushConstants.AlivcLiveLicenseCheckResultCode, String)
AlivcLiveBase#setListener(AlivcLiveBaseListener)
first, in order to receive the async result Definition at line 82 of file AlivcLiveBase.java.
|
static |
Turn on or off the console print log
enabled | turn on or off |
Definition at line 104 of file AlivcLiveBase.java.
|
static |
Set live push base listener
listener | live push base listener |
Definition at line 71 of file AlivcLiveBase.java.
|
static |
Set log directory file path
logDirPath | log directory file path |
maxPartFileSizeInKB | max size of each partition, and the total volume of the final log is 5 times the maximum partition size |
Definition at line 117 of file AlivcLiveBase.java.
|
static |
Set log level
level | log level |
AlivcLivePushLogLevel#AlivcLivePushLogLevelAll
, it will increase the performance consumption of the app! AlivcLivePushLogLevel#AlivcLivePushLogLevelWarn
Definition at line 94 of file AlivcLiveBase.java.