ProtocolREC Class
Extends PluginProtocol
Module: anysdk
REC protocol
Index
Methods
shareshare videostartRecordingStart to record videostopRecordingStart to record videosetListenerset listenergetListenerget listenerpauseRecordingpause to record videoresumeRecordingresume to record videoisAvailableget whether the device is isAvailableisRecordingget status of recordingshowToolBarshow toolbarhideToolBarhide toolbarshowVideoCentershow video centerenterPlatformenter platformsetMetaDataSet the video data, it is recommended to check whether are recorded firstlyisFunctionSupportedCheck whether the function is supportedgetPluginNameget plugin namegetPluginVersionget plugin versiongetSDKVersionget SDK versioncallFuncWithParamvoid methods for reflections with parametercallStringFuncWithParamString methods for reflections with parametercallIntFuncWithParamint methods for reflections with parametercallBoolFuncWithParamboolean methods for reflections with parametercallFloatFuncWithParamfloat methods for reflections with parameter
Details
Methods
share
share video
| meta | description |
|---|---|
| Defined in | extensions/anysdk/jsb_anysdk.js:1487 |
Parameters
infoObject Type: map
startRecording
Start to record video
| meta | description |
|---|---|
| Defined in | extensions/anysdk/jsb_anysdk.js:1498 |
stopRecording
Start to record video
| meta | description |
|---|---|
| Defined in | extensions/anysdk/jsb_anysdk.js:1508 |
setListener
set listener
| meta | description |
|---|---|
| Defined in | extensions/anysdk/jsb_anysdk.js:1518 |
Parameters
getListener
get listener
| meta | description |
|---|---|
| Returns | Function |
| Defined in | extensions/anysdk/jsb_anysdk.js:1530 |
pauseRecording
pause to record video Before to invoke, you need to verdict whether this properties existed
| meta | description |
|---|---|
| Defined in | extensions/anysdk/jsb_anysdk.js:1542 |
resumeRecording
resume to record video Before to invoke, you need to verdict whether this properties existed
| meta | description |
|---|---|
| Defined in | extensions/anysdk/jsb_anysdk.js:1553 |
isAvailable
get whether the device is isAvailable Before to invoke, you need to verdict whether this properties existed
| meta | description |
|---|---|
| Returns | boolean |
| Defined in | extensions/anysdk/jsb_anysdk.js:1564 |
isRecording
get status of recording Before to invoke, you need to verdict whether this properties existed
| meta | description |
|---|---|
| Returns | boolean |
| Defined in | extensions/anysdk/jsb_anysdk.js:1577 |
showToolBar
show toolbar Before to invoke, you need to verdict whether this properties existed
| meta | description |
|---|---|
| Defined in | extensions/anysdk/jsb_anysdk.js:1590 |
hideToolBar
hide toolbar Before to invoke, you need to verdict whether this properties existed
| meta | description |
|---|---|
| Defined in | extensions/anysdk/jsb_anysdk.js:1601 |
showVideoCenter
show video center Before to invoke, you need to verdict whether this properties existed
| meta | description |
|---|---|
| Defined in | extensions/anysdk/jsb_anysdk.js:1612 |
enterPlatform
enter platform Before to invoke, you need to verdict whether this properties existed
| meta | description |
|---|---|
| Defined in | extensions/anysdk/jsb_anysdk.js:1623 |
setMetaData
Set the video data, it is recommended to check whether are recorded firstly Before to invoke, you need to verdict whether this properties existed
| meta | description |
|---|---|
| Defined in | extensions/anysdk/jsb_anysdk.js:1634 |
Parameters
infoObject Type: map
isFunctionSupported
Check whether the function is supported
| meta | description |
|---|---|
| Returns | boolean |
| Defined in | extensions/anysdk/jsb_anysdk.js:328 |
Parameters
functionNameString
getPluginName
get plugin name
| meta | description |
|---|---|
| Returns | String |
| Defined in | extensions/anysdk/jsb_anysdk.js:342 |
getPluginVersion
get plugin version
| meta | description |
|---|---|
| Returns | String |
| Defined in | extensions/anysdk/jsb_anysdk.js:354 |
getSDKVersion
get SDK version
| meta | description |
|---|---|
| Returns | String |
| Defined in | extensions/anysdk/jsb_anysdk.js:366 |
callFuncWithParam
void methods for reflections with parameter
| meta | description |
|---|---|
| Defined in | extensions/anysdk/jsb_anysdk.js:378 |
Parameters
callStringFuncWithParam
String methods for reflections with parameter
| meta | description |
|---|---|
| Returns | String |
| Defined in | extensions/anysdk/jsb_anysdk.js:391 |
Parameters
callIntFuncWithParam
int methods for reflections with parameter
| meta | description |
|---|---|
| Returns | Number |
| Defined in | extensions/anysdk/jsb_anysdk.js:406 |
Parameters
callBoolFuncWithParam
boolean methods for reflections with parameter
| meta | description |
|---|---|
| Returns | boolean |
| Defined in | extensions/anysdk/jsb_anysdk.js:421 |
Parameters
callFloatFuncWithParam
float methods for reflections with parameter
| meta | description |
|---|---|
| Returns | Number |
| Defined in | extensions/anysdk/jsb_anysdk.js:436 |