关于v5 sdk 不同仓库下的ux sdk区别
Completed这个仓库(https://github.com/dji-sdk/Mobile-SDK-Android-V5 )提供的ux sdk和这个仓库(https://github.com/dji-sdk/Mobile-UXSDK-Beta-Android)提供的 ux sdk api不一样如
FPVWidget 这个类的api很不一样,公测版本更全一些
:
-
ModelState
- Provides hooks in events received by the widget from the widget model.
-
data class ProductConnected(val isConnected: Boolean) : ModelState()
- Event when product is connected or disconnected. -
data class OrientationUpdated(val orientation: SettingsDefinitions.Orientation) : ModelState()
- Event when the camera orientation changes. -
data class VideoFeedSourceUpdated(val videoFeed: DJICodecManager.VideoSource) : ModelState()
- Event when the video source is updated. -
data class FPVSizeUpdated(val width: Int, val height: Int) : ModelState()
- Event when the FPV size is updated. -
data class CameraNameUpdated(val cameraName: String) : ModelState()
- Event when the camera name is updated. -
data class CameraSideUpdated(val cameraSide: CameraSide) : ModelState()
- Event when the camera side is updated. -
data class VideoFeedUpdated(val videoBuffer: ByteArray?, val size: Int) : ModelState()
- Event when the video feed is updated.
,ux sdk公测版本是功能更全一些,但是还有一些bug是这个意思吗?
-
https://github.com/dji-sdk/Mobile-UXSDK-Beta-Android 这个仓库是MSDK V4的UXSDK控件的beta版本,是V4的开源控件仓库。 https://github.com/dji-sdk/Mobile-SDK-Android-V5 这个仓库下的UXSDK模块才是V5的UXSDK控件 两个版本都是稳定版本,只是使用的SDK版本和控件内容不太一样。V5的UXSDK控件还在计划补充中。
Please sign in to leave a comment.
Comments
1 comment