public static class lsMediaCapture.LsMediaCapturePara
extends java.lang.Object
构造器和说明 |
---|
LsMediaCapturePara() |
限定符和类型 | 方法和说明 |
---|---|
void |
setContext(Context context)
设置SDK上下文
|
void |
setLogLevel(lsLogUtil.LogLevel logLevel)
设置日志等级
|
void |
setMessageHandler(lsMessageHandler lsMessageHandler)
设置SDK消息回调句柄
|
void |
setUploadLog(boolean uploadLog)
设置日志是否上传
|
public void setContext(Context context)
context
- 建议使用ApplicationContextpublic void setMessageHandler(lsMessageHandler lsMessageHandler)
lsMessageHandler
- 消息回调句柄public void setLogLevel(lsLogUtil.LogLevel logLevel)
logLevel
- 日志等级public void setUploadLog(boolean uploadLog)
uploadLog
- true:上传 false:不上传