杨锴
2024-08-28 4d776ec3b272c40c5d9058af875211811835793f
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)
}