The AudioSession category will need to be set again when this event is emitted.
22 lines
539 B
Swift
22 lines
539 B
Swift
//
|
|
// AVPlayerWrapperDelegate.swift
|
|
// SwiftAudio
|
|
//
|
|
// Created by Jørgen Henrichsen on 26/10/2018.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
|
|
protocol AVPlayerWrapperDelegate: class {
|
|
|
|
func AVWrapper(didChangeState state: AVPlayerWrapperState)
|
|
func AVWrapper(secondsElapsed seconds: Double)
|
|
func AVWrapper(failedWithError error: Error?)
|
|
func AVWrapper(seekTo seconds: Int, didFinish: Bool)
|
|
func AVWrapper(didUpdateDuration duration: Double)
|
|
func AVWrapperItemDidPlayToEndTime()
|
|
func AVWrapperDidRecreateAVPlayer()
|
|
|
|
}
|