mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 21:43:41 +00:00
22 lines
456 B
Swift
22 lines
456 B
Swift
import AVFoundation
|
|
import Foundation
|
|
|
|
extension AVKeyValueStatus {
|
|
var string: String {
|
|
switch self {
|
|
case .unknown:
|
|
return "unknown"
|
|
case .loading:
|
|
return "loading"
|
|
case .loaded:
|
|
return "loaded"
|
|
case .failed:
|
|
return "failed"
|
|
case .cancelled:
|
|
return "cancelled"
|
|
@unknown default:
|
|
return "unknown default"
|
|
}
|
|
}
|
|
}
|