WhitePlayerTimeInfo.h 838 B

123456789101112131415161718192021222324252627282930313233
  1. //
  2. // WhitePlayerTimeInfo.h
  3. // WhiteSDK
  4. //
  5. // Created by yleaf on 2019/2/28.
  6. //
  7. #import "WhiteObject.h"
  8. NS_ASSUME_NONNULL_BEGIN
  9. /** 白板回放的播放时间信息。 */
  10. @interface WhitePlayerTimeInfo : WhiteObject
  11. /** 当前的回放进度(秒)。 */
  12. @property (nonatomic, assign, readonly) NSTimeInterval scheduleTime;
  13. /** 回放的总时长(秒)。 */
  14. @property (nonatomic, assign, readonly) NSTimeInterval timeDuration;
  15. /** 回放的总 frame 数。 */
  16. @property (nonatomic, assign, readonly) NSInteger framesCount;
  17. /** 回放的起始时间。
  18. UTC 时间戳(秒),你需要自行转换为 UTC 时间。
  19. 例如,如果返回 `1615370614.269`,表示的 UTC 时间为 2021-03-10 18:03:34 GMT+0800。 */
  20. @property (nonatomic, assign, readonly) NSTimeInterval beginTimestamp;
  21. @end
  22. NS_ASSUME_NONNULL_END