Kotlin 的安全性还体现在数据不会被随意修改。我们在代码中大量使用 `data class` 并且要求属性使用 `val` 而非 `var` 定义,这有利于单向数据流范式在项目中的推广,在架构层面实现数据的读写分离。```kotlindat... ()}```如上,我们使用 data class 定义 `UiState` 用在 ViewModel 中。 val 声明属性保证了 State 的不可变性。使用密封类定义 `Result` 有利于对各种请求结果进行枚举,简化逻辑。```kotlinprivate val _uiS...
SourceAdjustResult SourceAdjustResult 片源调整结果,仅检测时为空。 RepairResult RepairResult 片源修复结果,无则为空。 Inspection参数 类型 描述 BlackFrames Array of BlackFrameInfo 黑帧检测结果, 有则返... 单位:dB DeLogoInfo参数 类型 描述 AnchorWidth Integer Anchor 宽度 AnchorHeight Integer Anchor 高度 PosX Integer 水印左上角 X 坐标 PosY Integer 水印左上角 Y 坐标 SizeX Integer 水印宽度 SizeY Integer ...
PosterSnapshots Array of PosterSnapshots - 静态图。 DynpostSnapshots Array of DynpostSnapshots - 动态图。 AnimatedPosterSnapshots Array of AnimatedPosterSnapshots - 反复循环动图。 AiDynpostSnapshot... Height Integer 360 高度。 Width Integer 958 宽度。 StoreUri String tos-vod-cn-v-03e4***3112705/12d74b97e37944***e524a7398c6 图片 URI。 Url String https://example.test.com/tos-vod-cn-v-03e4d54***112...