UML类图
2018-05-31 14:53:56 89 举报
录制视频模块接口设计
作者其他创作
大纲/内容
接口VideoRecordStateListener
+ onReady() : void+ onError(int errorCode) : void+ onProgressChanged(int progress) :void
类PLShortVideoRecorder
- surfaceView : SurfaceView- listener : VideoRecordStateListener- path : String
...
接口VideoRecordErrorCode
+ RECORD_ERROR_PREPARE_FAILED : int+ RECORD_ERROR_START_FAILED : int+ RECORD_ERROR_STOP_FAILED : int+ RECORD_ERROR_SAVE_FAILED : int+ RECORD_ERROR_TOO_LONG : int+ RECORD_ERROR_SWITCH_CAMERA_FAILED : int+ RECORD_ERROR_ENABLE_FLASH_FAILED : int
类VideoRecordSettings
+ cameraType : int+ videoFps : int+ videoBitRate : int+ videoSize : int+ maxDuration : int+ path : int...
接口ShortVideoRecorder
收藏
收藏
0 条评论
下一页