杨锴
2024-11-06 63f7ed967433acee3ae8764c7a077e15c29c41f2
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
//
//  CLPlayerContentViewDelegate.swift
//  CLPlayer
//
//  Created by Chen JmoVxia on 2021/10/28.
//
 
import AVFoundation
import Foundation
import UIKit
 
protocol CLPlayerContentViewDelegate: AnyObject {
    func didClickFailButton(in contentView: CLPlayerContentView)
 
    func didClickBackButton(in contentView: CLPlayerContentView)
 
    func contentView(_ contentView: CLPlayerContentView, didClickPlayButton isPlay: Bool)
 
    func contentView(_ contentView: CLPlayerContentView, didClickFullButton isFull: Bool)
 
    func contentView(_ contentView: CLPlayerContentView, didChangeRate rate: Float)
 
    func contentView(_ contentView: CLPlayerContentView, didChangeVideoGravity videoGravity: AVLayerVideoGravity)
 
    func contentView(_ contentView: CLPlayerContentView, sliderTouchBegan slider: CLSlider)
 
    func contentView(_ contentView: CLPlayerContentView, sliderValueChanged slider: CLSlider)
 
    func contentView(_ contentView: CLPlayerContentView, sliderTouchEnded slider: CLSlider)
}