CNLivePlayerEnum.swift
1005 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//
// CNLivePlayerEnum.swift
// metaCode
//
// Created by zx on 2023/11/24.
//
/////全屏样式
enum CNLivePlayerFullScreenType:Int {
///在当前DSPlayView中旋转,用于当前播放界面为全屏样式
case inCurrentViewOrientation
///在window中旋转,用于小屏不是全屏显示且大屏要全屏显示
case inWindowOrientation
//小屏视频展示为裁剪显示,全屏为全部展示,用于竖屏视频显示全屏属性(暂未开发)
case fullDisplayOfVideoInterface
}
///手势样式
enum CNLivePlayerGestureStyle:Int {
///存在单点、双点、滑动手势
case all
///存在单点、双点手势
case allButPanGesture
///存在单点手势
case singleTap
///不存在任何手势
case none
///没有私有手势处理 只有private_style可用
case nonePrivate
}
///分类类型
enum CNLivePlayerBottomTimeStyle:Int {
///时间格式mm:ss
case MM_SS
///时间格式HH:mm:ss
case HH_MM_SS
}