有没有获取相机是否在录像中的接口?
Completed有没有获取相机是否在录像中的接口?
-
您可以用Camera的setSystemStateCallback接口,获取SystemState,在SystemState中有isRecording接口确认是否在录相,具体参考以下文档。 https://developer.dji.com/api-reference/android-api/Components/Camera/DJICamera.html#djicamera_setdjicameraupdatedsystemstatecallback_inline https://developer.dji.com/api-reference/android-api/Components/Camera/DJICamera_DJICameraSystemState.html#djicamera_djicamerasystemstate_isrecording_inline
Please sign in to leave a comment.
Comments
1 comment