public class OxenScreenRecord
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
static interface |
OxenScreenRecord.OxenRecordListener |
构造器和说明 |
---|
OxenScreenRecord() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getOxenPushUrl() |
java.lang.String |
getRecordVersion() |
boolean |
initRecord(android.content.Context context,
boolean landscape,
java.lang.String url)
初始化Oxen录屏功能
|
boolean |
isOpenOxenRecord() |
void |
onActivityResult(int code,
android.content.Intent data) |
void |
reconnect() |
void |
setOxenRecordListener(OxenScreenRecord.OxenRecordListener listener)
设置录屏监听回调
|
void |
setup() |
void |
start() |
void |
stopOxenRecord()
释放oxen录屏
|
public boolean initRecord(android.content.Context context, boolean landscape, java.lang.String url)
context
- 当前页面上下文landscape
- 是否为横屏游戏url
- 当前推流urlpublic void setOxenRecordListener(OxenScreenRecord.OxenRecordListener listener)
listener
- public void setup()
public void start()
public void reconnect()
public void stopOxenRecord()
public java.lang.String getOxenPushUrl()
public boolean isOpenOxenRecord()
public void onActivityResult(int code, android.content.Intent data)
public java.lang.String getRecordVersion()