public class AVChatLiveTaskConfig
extends java.lang.Object
Constructor and Description |
---|
AVChatLiveTaskConfig() |
Modifier and Type | Method and Description |
---|---|
int |
getLayoutMode() |
java.lang.String |
getLayoutPara() |
java.lang.String |
getMainPictureAccount() |
java.lang.String |
getPushUrl() |
java.lang.String |
getTaskId() |
boolean |
isServerRecord() |
void |
setLayoutMode(int layoutMode)
Set a layout mode.
|
void |
setLayoutPara(java.lang.String layoutPara)
Custom layout parameters in JSON
Tool: http://netease.im/blog/12-3 |
void |
setMainPictureAccount(java.lang.String mainPictureAccount)
Set the main picture account
|
void |
setPushUrl(java.lang.String pushUrl)
Set a streaming push URL
|
void |
setServerRecord(boolean serverRecord)
Set to enable server recording
|
void |
setTaskId(java.lang.String taskId)
Set a unique streaming task ID used to add or delete a task
|
public java.lang.String getTaskId()
public void setTaskId(java.lang.String taskId)
taskId
- streaming task IDpublic java.lang.String getPushUrl()
public void setPushUrl(java.lang.String pushUrl)
pushUrl
- Push URLpublic int getLayoutMode()
public void setLayoutMode(int layoutMode)
AVChatLiveMode.LAYOUT_FLOATING_RIGHT_VERTICAL
layoutMode
- layout mode AVChatLiveMode
AVChatLiveMode
,
setLayoutPara(String)
public java.lang.String getLayoutPara()
public void setLayoutPara(java.lang.String layoutPara)
layoutPara
- custom layout parameterspublic boolean isServerRecord()
public void setServerRecord(boolean serverRecord)
serverRecord
- enable server recordingpublic java.lang.String getMainPictureAccount()
public void setMainPictureAccount(java.lang.String mainPictureAccount)
mainPictureAccount
- account