ProtocolREC
Class
Extends PluginProtocol
Module: anysdk
REC protocol
Index
Methods
share
share videostartRecording
Start to record videostopRecording
Start to record videosetListener
set listenergetListener
get listenerpauseRecording
pause to record videoresumeRecording
resume to record videoisAvailable
get whether the device is isAvailableisRecording
get status of recordingshowToolBar
show toolbarhideToolBar
hide toolbarshowVideoCenter
show video centerenterPlatform
enter platformsetMetaData
Set the video data, it is recommended to check whether are recorded firstlyisFunctionSupported
Check whether the function is supportedgetPluginName
get plugin namegetPluginVersion
get plugin versiongetSDKVersion
get SDK versioncallFuncWithParam
void methods for reflections with parametercallStringFuncWithParam
String methods for reflections with parametercallIntFuncWithParam
int methods for reflections with parametercallBoolFuncWithParam
boolean methods for reflections with parametercallFloatFuncWithParam
float methods for reflections with parameter
Details
Methods
share
share video
meta | description |
---|---|
Defined in | extensions/anysdk/jsb_anysdk.js:1487 |
Parameters
info
Object 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
info
Object Type: map
isFunctionSupported
Check whether the function is supported
meta | description |
---|---|
Returns | boolean |
Defined in | extensions/anysdk/jsb_anysdk.js:328 |
Parameters
functionName
String
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 |