杨锴
2025-04-16 09a372bc45fde16fd42257ab6f78b8deeecf720b
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)
}