public void StopRecord() { if (GameJoySDK.mQMiObj == null) { GameJoySDK.mQMiObj = GameJoySDK.mQMiObjJavaClass(); } if (GameJoySDK.mQMiObj != null) { GameJoySDK.mQMiObj.CallStatic("onStopRecordVideo", new object[0]); GameJoySDK.mRecorderStatus = GameJoySDK.RECORER_STATUS.RS_STOPED; } else { GameJoySDK.Log("StopRecord mQMiObj = null"); } }
public void StartRecord() { if (GameJoySDK.mQMiObj == null) { GameJoySDK.mQMiObj = GameJoySDK.mQMiObjJavaClass(); } if (GameJoySDK.mQMiObj != null) { GameJoySDK.mQMiObj.CallStatic("onStartRecordVideo", new object[0]); int num = GameJoySDK.mQMiObj.CallStatic <int>("getSRPpluginVersionCode", new object[0]); GameJoySDK.mSDKVersion = num; GameJoySDK.mRecorderStatus = GameJoySDK.RECORER_STATUS.RS_STARTED; } else { GameJoySDK.Log("StartRecord mQMiObj = null"); } }