mirror of
https://github.com/yattee/yattee.git
synced 2024-11-14 01:58:24 +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"
|
|
}
|
|
}
|
|
}
|