mirror of
https://github.com/yattee/yattee.git
synced 2024-11-10 00:08:21 +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"
|
|
}
|
|
}
|
|
}
|