// swift-interface-format-version: 1.0 // swift-compiler-version: Apple Swift version 6.1 effective-5.10 (swiftlang-6.1.0.110.5 clang-1700.0.13.3) // swift-module-flags: -target x86_64-apple-ios18.4-macabi -enable-objc-interop -autolink-force-load -enable-library-evolution -module-link-name swiftAVFoundation -swift-version 5 -enforce-exclusivity=checked -O -library-level api -enable-experimental-feature DebugDescriptionMacro -enable-upcoming-feature StrictConcurrency -enable-bare-slash-regex -user-module-version 2320.19.1 -module-name AVFoundation // swift-module-flags-ignorable: -interface-compiler-version 6.1 @_exported import AVFoundation import CoreGraphics import CoreMedia import Dispatch import Foundation import Swift import _Concurrency import _StringProcessing import _SwiftConcurrencyShims @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) extension AVFoundation.AVPlayerInterstitialEvent { @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) convenience public init(primaryItem: AVFoundation.AVPlayerItem, identifier: Swift.String?, time: CoreMedia.CMTime, templateItems: [AVFoundation.AVPlayerItem], restrictions: AVFoundation.AVPlayerInterstitialEvent.Restrictions = [], resumptionOffset: CoreMedia.CMTime = .indefinite, playoutLimit: CoreMedia.CMTime = .invalid, userDefinedAttributes: [Swift.String : Any] = [:]) @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) convenience public init(primaryItem: AVFoundation.AVPlayerItem, identifier: Swift.String?, date: Foundation.Date, templateItems: [AVFoundation.AVPlayerItem], restrictions: AVFoundation.AVPlayerInterstitialEvent.Restrictions = [], resumptionOffset: CoreMedia.CMTime = .indefinite, playoutLimit: CoreMedia.CMTime = .invalid, userDefinedAttributes: [Swift.String : Any] = [:]) } extension Foundation.NSNotification.Name { @available(macOS, introduced: 13.3, deprecated: 14.0, renamed: "AVPlayerInterstitialEventMonitor.assetListResponseStatusDidChangeNotification") @available(iOS, introduced: 16.4, deprecated: 17.0, renamed: "AVPlayerInterstitialEventMonitor.assetListResponseStatusDidChangeNotification") @available(tvOS, introduced: 16.4, deprecated: 17.0, renamed: "AVPlayerInterstitialEventMonitor.assetListResponseStatusDidChangeNotification") @available(watchOS, introduced: 9.4, deprecated: 10.0, renamed: "AVPlayerInterstitialEventMonitor.assetListResponseStatusDidChangeNotification") @available(visionOS, introduced: 1, deprecated: 1, renamed: "AVPlayerInterstitialEventMonitor.assetListResponseStatusDidChangeNotification") @_alwaysEmitIntoClient public static var AVPlayerInterstitialEventMonitorAssetListResponseStatusDidChange: Foundation.NSNotification.Name { get { Self("AVPlayerInterstitialEventMonitorAssetListResponseStatusDidChange") } } } @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) extension AVFoundation.AVPartialAsyncProperty where Root : AVFoundation.AVMetadataItem { public static var extraAttributes: AVFoundation.AVAsyncProperty { get } public static var value: AVFoundation.AVAsyncProperty { get } } @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) extension AVFoundation.AVPartialAsyncProperty where Root : AVFoundation.AVMetadataItem { public static var stringValue: AVFoundation.AVAsyncProperty { get } public static var numberValue: AVFoundation.AVAsyncProperty { get } public static var dateValue: AVFoundation.AVAsyncProperty { get } public static var dataValue: AVFoundation.AVAsyncProperty { get } } @available(macOS 12, iOS 15, watchOS 8, visionOS 1, *) @available(tvOS, unavailable) extension AVFoundation.AVPartialAsyncProperty where Root : AVFoundation.AVMutableMovie { public static var tracks: AVFoundation.AVAsyncProperty { get } } @available(watchOS 6.0, *) extension AVFoundation.AVError { @available(swift, obsoleted: 4.2, message: "Use `device: AVCaptureDevice?` instead") public var device: Swift.String? { get } @available(swift 4.2) @available(macCatalyst 14.0, tvOS 17.0, *) @available(visionOS, unavailable) @available(watchOS, unavailable) public var device: AVFoundation.AVCaptureDevice? { get } @available(watchOS 6.0, *) public var time: CoreMedia.CMTime? { get } @available(watchOS 6.0, *) public var fileSize: Swift.Int64? { get } @available(watchOS 6.0, *) public var processID: Swift.Int? { get } @available(watchOS 6.0, *) public var recordingSuccessfullyFinished: Swift.Bool? { get } @available(watchOS 6.0, *) @available(swift, obsoleted: 4.2) public var mediaType: Swift.String? { get } @available(swift 4.2) @available(watchOS 6.0, *) public var mediaType: AVFoundation.AVMediaType? { get } @available(watchOS 6.0, *) public var mediaSubtypes: [Swift.Int]? { get } @available(swift 4.2) @available(macOS 10.10, iOS 8.0, tvOS 9.0, watchOS 6.0, visionOS 1.0, *) public var presentationTimeStamp: CoreMedia.CMTime? { get } @available(swift 4.2) @available(macOS 10.10, iOS 8.0, tvOS 9.0, watchOS 6.0, visionOS 1.0, *) public var persistentTrackID: CoreMedia.CMPersistentTrackID? { get } @available(swift 4.2) @available(macOS 10.10, iOS 8.0, tvOS 9.0, watchOS 6.0, visionOS 1.0, *) public var fileType: AVFoundation.AVFileType? { get } } @available(macOS 15.0, iOS 18.0, macCatalyst 18.0, tvOS 18.0, *) @available(visionOS, unavailable) @available(watchOS, unavailable) extension AVFoundation.AVCaptureIndexPicker { @nonobjc public func setActionQueue(_ actionQueue: Dispatch.DispatchQueue, action: @escaping (Swift.Int) -> ()) } @available(macOS 12, iOS 15, watchOS 8, visionOS 1, *) @available(tvOS, unavailable) extension AVFoundation.AVPartialAsyncProperty where Root : AVFoundation.AVFragmentedMovie { public static var tracks: AVFoundation.AVAsyncProperty { get } } @available(macOS 10.13, iOS 11.0, macCatalyst 14.0, tvOS 11.0, visionOS 1.0, *) @available(watchOS, unavailable) extension AVFoundation.AVDepthData { @available(macOS 10.13, iOS 11.0, macCatalyst 14.0, tvOS 11.0, visionOS 1.0, *) @available(watchOS, unavailable) @nonobjc @_alwaysEmitIntoClient public var availableDepthDataTypes: [Darwin.OSType] { get { return __availableDepthDataTypes.map { $0.uint32Value } as [OSType] } } } @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) extension AVFoundation.AVPartialAsyncProperty where Root : AVFoundation.AVComposition { public static var tracks: AVFoundation.AVAsyncProperty { get } } extension Foundation.NSNotification.Name { @available(macOS, introduced: 10.7, deprecated: 15.0, renamed: "AVCaptureSession.runtimeErrorNotification") @available(iOS, introduced: 4.0, deprecated: 18.0, renamed: "AVCaptureSession.runtimeErrorNotification") @available(macCatalyst, introduced: 14.0, deprecated: 18.0, renamed: "AVCaptureSession.runtimeErrorNotification") @available(tvOS, introduced: 17.0, deprecated: 18.0, renamed: "AVCaptureSession.runtimeErrorNotification") @available(visionOS, introduced: 1.0, deprecated: 2.0, renamed: "AVCaptureSession.runtimeErrorNotification") @available(watchOS, unavailable) @_alwaysEmitIntoClient public static var AVCaptureSessionRuntimeError: Foundation.NSNotification.Name { get { AVCaptureSession.runtimeErrorNotification } } @available(macOS, introduced: 10.7, deprecated: 15.0, renamed: "AVCaptureSession.didStartRunningNotification") @available(iOS, introduced: 4.0, deprecated: 18.0, renamed: "AVCaptureSession.didStartRunningNotification") @available(macCatalyst, introduced: 14.0, deprecated: 18.0, renamed: "AVCaptureSession.didStartRunningNotification") @available(tvOS, introduced: 17.0, deprecated: 18.0, renamed: "AVCaptureSession.didStartRunningNotification") @available(visionOS, introduced: 1.0, deprecated: 2.0, renamed: "AVCaptureSession.didStartRunningNotification") @available(watchOS, unavailable) @_alwaysEmitIntoClient public static var AVCaptureSessionDidStartRunning: Foundation.NSNotification.Name { get { AVCaptureSession.didStartRunningNotification } } @available(macOS, introduced: 10.7, deprecated: 15.0, renamed: "AVCaptureSession.didStopRunningNotification") @available(iOS, introduced: 4.0, deprecated: 18.0, renamed: "AVCaptureSession.didStopRunningNotification") @available(macCatalyst, introduced: 14.0, deprecated: 18.0, renamed: "AVCaptureSession.didStopRunningNotification") @available(tvOS, introduced: 17.0, deprecated: 18.0, renamed: "AVCaptureSession.didStopRunningNotification") @available(visionOS, introduced: 1.0, deprecated: 2.0, renamed: "AVCaptureSession.didStopRunningNotification") @available(watchOS, unavailable) @_alwaysEmitIntoClient public static var AVCaptureSessionDidStopRunning: Foundation.NSNotification.Name { get { AVCaptureSession.didStopRunningNotification } } @available(macOS, introduced: 10.14, deprecated: 15.0, renamed: "AVCaptureSession.wasInterruptedNotification") @available(iOS, introduced: 4.0, deprecated: 18.0, renamed: "AVCaptureSession.wasInterruptedNotification") @available(macCatalyst, introduced: 14.0, deprecated: 18.0, renamed: "AVCaptureSession.wasInterruptedNotification") @available(tvOS, introduced: 17.0, deprecated: 18.0, renamed: "AVCaptureSession.wasInterruptedNotification") @available(visionOS, introduced: 1.0, deprecated: 2.0, renamed: "AVCaptureSession.wasInterruptedNotification") @available(watchOS, unavailable) @_alwaysEmitIntoClient public static var AVCaptureSessionWasInterrupted: Foundation.NSNotification.Name { get { AVCaptureSession.wasInterruptedNotification } } @available(macOS, introduced: 10.14, deprecated: 15.0, renamed: "AVCaptureSession.interruptionEndedNotification") @available(iOS, introduced: 4.0, deprecated: 18.0, renamed: "AVCaptureSession.interruptionEndedNotification") @available(macCatalyst, introduced: 14.0, deprecated: 18.0, renamed: "AVCaptureSession.interruptionEndedNotification") @available(tvOS, introduced: 17.0, deprecated: 18.0, renamed: "AVCaptureSession.interruptionEndedNotification") @available(visionOS, introduced: 1.0, deprecated: 2.0, renamed: "AVCaptureSession.interruptionEndedNotification") @available(watchOS, unavailable) @_alwaysEmitIntoClient public static var AVCaptureSessionInterruptionEnded: Foundation.NSNotification.Name { get { AVCaptureSession.interruptionEndedNotification } } } extension AVFoundation.AVAsynchronousKeyValueLoading { @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) public func status(of property: AVFoundation.AVAsyncProperty) -> AVFoundation.AVAsyncProperty.Status @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) public func load(_ property: AVFoundation.AVAsyncProperty) async throws -> T } @_hasMissingDesignatedInitializers @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) public class AVAnyAsyncProperty : Swift.CustomStringConvertible, @unchecked Swift.Sendable { public var description: Swift.String { get } @objc deinit } @_hasMissingDesignatedInitializers @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) public class AVPartialAsyncProperty : AVFoundation.AVAnyAsyncProperty { override public var description: Swift.String { get } @objc deinit } @_hasMissingDesignatedInitializers @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) public class AVAsyncProperty : AVFoundation.AVPartialAsyncProperty { @objc deinit } @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) extension AVFoundation.AVAsyncProperty { @frozen public enum Status { case notYetLoaded case loading case loaded(Value) case failed(Foundation.NSError) } } @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) extension AVFoundation.AVAsyncProperty.Status : Swift.Equatable where Value : Swift.Equatable { public static func == (lhs: AVFoundation.AVAsyncProperty.Status, rhs: AVFoundation.AVAsyncProperty.Status) -> Swift.Bool } @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) extension AVFoundation.AVAsyncProperty.Status : Swift.Sendable where Value : Swift.Sendable { } @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) extension AVFoundation.AVAsyncProperty.Status : Swift.CustomStringConvertible { public var description: Swift.String { get } } extension AVFoundation.AVAsynchronousKeyValueLoading { @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) public func load(_ propertyA: AVFoundation.AVAsyncProperty, _ propertyB: AVFoundation.AVAsyncProperty) async throws -> (A, B) @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) public func load(_ propertyA: AVFoundation.AVAsyncProperty, _ propertyB: AVFoundation.AVAsyncProperty, _ propertyC: AVFoundation.AVAsyncProperty) async throws -> (A, B, C) @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) public func load(_ propertyA: AVFoundation.AVAsyncProperty, _ propertyB: AVFoundation.AVAsyncProperty, _ propertyC: AVFoundation.AVAsyncProperty, _ propertyD: AVFoundation.AVAsyncProperty) async throws -> (A, B, C, D) @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) public func load(_ propertyA: AVFoundation.AVAsyncProperty, _ propertyB: AVFoundation.AVAsyncProperty, _ propertyC: AVFoundation.AVAsyncProperty, _ propertyD: AVFoundation.AVAsyncProperty, _ propertyE: AVFoundation.AVAsyncProperty) async throws -> (A, B, C, D, E) @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) public func load(_ propertyA: AVFoundation.AVAsyncProperty, _ propertyB: AVFoundation.AVAsyncProperty, _ propertyC: AVFoundation.AVAsyncProperty, _ propertyD: AVFoundation.AVAsyncProperty, _ propertyE: AVFoundation.AVAsyncProperty, _ propertyF: AVFoundation.AVAsyncProperty) async throws -> (A, B, C, D, E, F) @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) public func load(_ propertyA: AVFoundation.AVAsyncProperty, _ propertyB: AVFoundation.AVAsyncProperty, _ propertyC: AVFoundation.AVAsyncProperty, _ propertyD: AVFoundation.AVAsyncProperty, _ propertyE: AVFoundation.AVAsyncProperty, _ propertyF: AVFoundation.AVAsyncProperty, _ propertyG: AVFoundation.AVAsyncProperty) async throws -> (A, B, C, D, E, F, G) @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) public func load(_ propertyA: AVFoundation.AVAsyncProperty, _ propertyB: AVFoundation.AVAsyncProperty, _ propertyC: AVFoundation.AVAsyncProperty, _ propertyD: AVFoundation.AVAsyncProperty, _ propertyE: AVFoundation.AVAsyncProperty, _ propertyF: AVFoundation.AVAsyncProperty, _ propertyG: AVFoundation.AVAsyncProperty, _ propertyH: AVFoundation.AVAsyncProperty) async throws -> (A, B, C, D, E, F, G, H) } @available(macOS 11.0, iOS 7.0, macCatalyst 14.0, tvOS 17.0, *) @available(watchOS, unavailable) @available(visionOS, unavailable) extension AVFoundation.AVMetadataMachineReadableCodeObject { @nonobjc public var corners: [CoreFoundation.CGPoint] { get } } @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) extension AVFoundation.AVPartialAsyncProperty where Root : AVFoundation.AVAsset { public static var duration: AVFoundation.AVAsyncProperty { get } public static var preferredRate: AVFoundation.AVAsyncProperty { get } public static var preferredVolume: AVFoundation.AVAsyncProperty { get } public static var preferredTransform: AVFoundation.AVAsyncProperty { get } public static var minimumTimeOffsetFromLive: AVFoundation.AVAsyncProperty { get } public static var providesPreciseDurationAndTiming: AVFoundation.AVAsyncProperty { get } } @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) extension AVFoundation.AVPartialAsyncProperty where Root : AVFoundation.AVAsset { public static var tracks: AVFoundation.AVAsyncProperty { get } public static var trackGroups: AVFoundation.AVAsyncProperty { get } } @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) extension AVFoundation.AVPartialAsyncProperty where Root : AVFoundation.AVAsset { public static var creationDate: AVFoundation.AVAsyncProperty { get } public static var lyrics: AVFoundation.AVAsyncProperty { get } public static var commonMetadata: AVFoundation.AVAsyncProperty { get } public static var metadata: AVFoundation.AVAsyncProperty { get } public static var availableMetadataFormats: AVFoundation.AVAsyncProperty { get } } @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) extension AVFoundation.AVPartialAsyncProperty where Root : AVFoundation.AVAsset { public static var availableChapterLocales: AVFoundation.AVAsyncProperty { get } } extension AVFoundation.AVAsset { @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) public func loadChapterMetadataGroups(withTitleLocale locale: Foundation.Locale, containingItemsWithCommonKeys commonKeys: [AVFoundation.AVMetadataKey] = []) async throws -> [AVFoundation.AVTimedMetadataGroup] } @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) extension AVFoundation.AVPartialAsyncProperty where Root : AVFoundation.AVURLAsset { public static var variants: AVFoundation.AVAsyncProperty { get } } @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) extension AVFoundation.AVPartialAsyncProperty where Root : AVFoundation.AVAsset { public static var availableMediaCharacteristicsWithMediaSelectionOptions: AVFoundation.AVAsyncProperty { get } public static var preferredMediaSelection: AVFoundation.AVAsyncProperty { get } public static var allMediaSelections: AVFoundation.AVAsyncProperty { get } } @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) extension AVFoundation.AVPartialAsyncProperty where Root : AVFoundation.AVAsset { @available(macOS 12, iOS 15, tvOS 15, visionOS 1, *) @available(watchOS, unavailable) public static var hasProtectedContent: AVFoundation.AVAsyncProperty { get } } @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) extension AVFoundation.AVPartialAsyncProperty where Root : AVFoundation.AVAsset { @available(macOS 12, iOS 15, tvOS 15, visionOS 1, *) @available(watchOS, unavailable) public static var canContainFragments: AVFoundation.AVAsyncProperty { get } @available(macOS 12, iOS 15, tvOS 15, visionOS 1, *) @available(watchOS, unavailable) public static var containsFragments: AVFoundation.AVAsyncProperty { get } public static var overallDurationHint: AVFoundation.AVAsyncProperty { get } } @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) extension AVFoundation.AVPartialAsyncProperty where Root : AVFoundation.AVAsset { public static var isPlayable: AVFoundation.AVAsyncProperty { get } @available(macOS 12, iOS 15, tvOS 15, visionOS 1, *) @available(watchOS, unavailable) public static var isExportable: AVFoundation.AVAsyncProperty { get } @available(macOS 12, iOS 15, tvOS 15, visionOS 1, *) @available(watchOS, unavailable) public static var isReadable: AVFoundation.AVAsyncProperty { get } public static var isComposable: AVFoundation.AVAsyncProperty { get } @available(iOS 15, tvOS 15, visionOS 1, *) @available(macOS, unavailable) @available(watchOS, unavailable) public static var isCompatibleWithSavedPhotosAlbum: AVFoundation.AVAsyncProperty { get } @available(macOS 12, iOS 15, tvOS 15, visionOS 1, *) @available(watchOS, unavailable) public static var isCompatibleWithAirPlayVideo: AVFoundation.AVAsyncProperty { get } } @available(iOS 7.0, watchOS 2.0, tvOS 9.0, visionOS 1, *) @available(macOS, unavailable) extension AVFAudio.AVAudioSession.Location { @available(macOS, unavailable) @available(iOS, deprecated, introduced: 7.0, renamed: "AVAudioSession.Orientation.top") @available(tvOS, deprecated, introduced: 9.0, renamed: "AVAudioSession.Orientation.top") @available(watchOS, deprecated, introduced: 2.0, renamed: "AVAudioSession.Orientation.top") @available(visionOS, deprecated, introduced: 1.0, renamed: "AVAudioSession.Orientation.top") @_alwaysEmitIntoClient public static var orientationTop: AVFAudio.AVAudioSession.Location { get { Self(rawValue: AVAudioSession.Orientation.top.rawValue) } } @available(macOS, unavailable) @available(iOS, deprecated, introduced: 7.0, renamed: "AVAudioSession.Orientation.bottom") @available(tvOS, deprecated, introduced: 9.0, renamed: "AVAudioSession.Orientation.bottom") @available(watchOS, deprecated, introduced: 2.0, renamed: "AVAudioSession.Orientation.bottom") @available(visionOS, deprecated, introduced: 1.0, renamed: "AVAudioSession.Orientation.bottom") @_alwaysEmitIntoClient public static var orientationBottom: AVFAudio.AVAudioSession.Location { get { Self(rawValue: AVAudioSession.Orientation.bottom.rawValue) } } @available(macOS, unavailable) @available(iOS, deprecated, introduced: 7.0, renamed: "AVAudioSession.Orientation.front") @available(tvOS, deprecated, introduced: 9.0, renamed: "AVAudioSession.Orientation.front") @available(watchOS, deprecated, introduced: 2.0, renamed: "AVAudioSession.Orientation.front") @available(visionOS, deprecated, introduced: 1.0, renamed: "AVAudioSession.Orientation.front") @_alwaysEmitIntoClient public static var orientationFront: AVFAudio.AVAudioSession.Location { get { Self(rawValue: AVAudioSession.Orientation.front.rawValue) } } @available(macOS, unavailable) @available(iOS, deprecated, introduced: 7.0, renamed: "AVAudioSession.Orientation.back") @available(tvOS, deprecated, introduced: 9.0, renamed: "AVAudioSession.Orientation.back") @available(watchOS, deprecated, introduced: 2.0, renamed: "AVAudioSession.Orientation.back") @available(visionOS, deprecated, introduced: 1.0, renamed: "AVAudioSession.Orientation.back") @_alwaysEmitIntoClient public static var orientationBack: AVFAudio.AVAudioSession.Location { get { Self(rawValue: AVAudioSession.Orientation.back.rawValue) } } @available(macOS, unavailable) @available(iOS, deprecated, introduced: 8.0, renamed: "AVAudioSession.Orientation.left") @available(tvOS, deprecated, introduced: 9.0, renamed: "AVAudioSession.Orientation.left") @available(watchOS, deprecated, introduced: 2.0, renamed: "AVAudioSession.Orientation.left") @available(visionOS, deprecated, introduced: 1.0, renamed: "AVAudioSession.Orientation.left") @_alwaysEmitIntoClient public static var orientationLeft: AVFAudio.AVAudioSession.Location { get { Self(rawValue: AVAudioSession.Orientation.left.rawValue) } } @available(macOS, unavailable) @available(iOS, deprecated, introduced: 8.0, renamed: "AVAudioSession.Orientation.right") @available(tvOS, deprecated, introduced: 9.0, renamed: "AVAudioSession.Orientation.right") @available(watchOS, deprecated, introduced: 2.0, renamed: "AVAudioSession.Orientation.right") @available(visionOS, deprecated, introduced: 1.0, renamed: "AVAudioSession.Orientation.right") @_alwaysEmitIntoClient public static var orientationRight: AVFAudio.AVAudioSession.Location { get { Self(rawValue: AVAudioSession.Orientation.right.rawValue) } } } @available(iOS 7.0, tvOS 9.0, watchOS 2.0, visionOS 1.0, *) @available(macOS, unavailable) extension AVFAudio.AVAudioSession.Location { @available(macOS, unavailable) @available(iOS, deprecated, introduced: 7.0, renamed: "AVAudioSession.PolarPattern.cardioid") @available(tvOS, deprecated, introduced: 9.0, renamed: "AVAudioSession.PolarPattern.cardioid") @available(watchOS, deprecated, introduced: 2.0, renamed: "AVAudioSession.PolarPattern.cardioid") @available(visionOS, deprecated, introduced: 1.0, renamed: "AVAudioSession.PolarPattern.cardioid") @_alwaysEmitIntoClient public static var polarPatternCardioid: AVFAudio.AVAudioSession.Location { get { Self(rawValue: AVAudioSession.PolarPattern.cardioid.rawValue) } } @available(macOS, unavailable) @available(iOS, deprecated, introduced: 7.0, renamed: "AVAudioSession.PolarPattern.omnidirectional") @available(tvOS, deprecated, introduced: 9.0, renamed: "AVAudioSession.PolarPattern.omnidirectional") @available(watchOS, deprecated, introduced: 2.0, renamed: "AVAudioSession.PolarPattern.omnidirectional") @available(visionOS, deprecated, introduced: 1.0, renamed: "AVAudioSession.PolarPattern.omnidirectional") @_alwaysEmitIntoClient public static var polarPatternOmnidirectional: AVFAudio.AVAudioSession.Location { get { Self(rawValue: AVAudioSession.PolarPattern.omnidirectional.rawValue) } } @available(macOS, unavailable) @available(iOS, deprecated, introduced: 7.0, renamed: "AVAudioSession.PolarPattern.subcardioid") @available(tvOS, deprecated, introduced: 9.0, renamed: "AVAudioSession.PolarPattern.subcardioid") @available(watchOS, deprecated, introduced: 2.0, renamed: "AVAudioSession.PolarPattern.subcardioid") @available(visionOS, deprecated, introduced: 1.0, renamed: "AVAudioSession.PolarPattern.subcardioid") @_alwaysEmitIntoClient public static var polarPatternSubcardioid: AVFAudio.AVAudioSession.Location { get { Self(rawValue: AVAudioSession.PolarPattern.subcardioid.rawValue) } } } @available(macOS 15, iOS 18, tvOS 18, visionOS 2, *) @available(watchOS, unavailable) extension AVFoundation.AVAssetResourceLoader : @unchecked Swift.Sendable { } @available(macOS 15, iOS 18, tvOS 18, visionOS 2, *) @available(watchOS, unavailable) extension AVFoundation.AVAssetResourceLoadingRequest : @unchecked Swift.Sendable { } @available(macOS 15, iOS 18, tvOS 18, visionOS 2, *) @available(watchOS, unavailable) extension AVFoundation.AVAssetResourceLoadingRequestor : @unchecked Swift.Sendable { } @available(macOS 15, iOS 18, tvOS 18, visionOS 2, *) @available(watchOS, unavailable) extension AVFoundation.AVAssetResourceRenewalRequest : @unchecked Swift.Sendable { } @available(macOS 15, iOS 18, tvOS 18, visionOS 2, *) @available(watchOS, unavailable) extension AVFoundation.AVAssetResourceLoadingContentInformationRequest : @unchecked Swift.Sendable { } @available(macOS 15, iOS 18, tvOS 18, visionOS 2, *) @available(watchOS, unavailable) extension AVFoundation.AVAssetResourceLoadingDataRequest : @unchecked Swift.Sendable { } @available(macOS 12.0, iOS 18.0, macCatalyst 15.0, *) @available(tvOS, unavailable) @available(watchOS, unavailable) @available(visionOS, unavailable) extension AVFoundation.AVCaption { @nonobjc public func textColor(at index: Swift.String.Index) -> (CoreGraphics.CGColor?, Swift.Range) @nonobjc public func backgroundColor(at index: Swift.String.Index) -> (CoreGraphics.CGColor?, Swift.Range) @nonobjc public func fontWeight(at index: Swift.String.Index) -> (AVFoundation.AVCaption.FontWeight, Swift.Range) @nonobjc public func fontStyle(at index: Swift.String.Index) -> (AVFoundation.AVCaption.FontStyle, Swift.Range) @nonobjc public func decoration(at index: Swift.String.Index) -> (AVFoundation.AVCaption.Decoration, Swift.Range) @nonobjc public func textCombine(at index: Swift.String.Index) -> (AVFoundation.AVCaption.TextCombine, Swift.Range) @nonobjc public func ruby(at index: Swift.String.Index) -> (AVFoundation.AVCaption.Ruby?, Swift.Range) } @available(macOS 12.0, iOS 18.0, macCatalyst 15.0, *) @available(tvOS, unavailable) @available(watchOS, unavailable) @available(visionOS, unavailable) extension AVFoundation.AVMutableCaption { @nonobjc public func setTextColor(_ textColor: CoreGraphics.CGColor, in range: Foundation.NSRange) @nonobjc public func setBackgroundColor(_ backgroundColor: CoreGraphics.CGColor, in range: Foundation.NSRange) @nonobjc public func setFontWeight(_ fontWeight: AVFoundation.AVCaption.FontWeight, in range: Foundation.NSRange) @nonobjc public func setFontStyle(_ fontStyle: AVFoundation.AVCaption.FontStyle, in range: Foundation.NSRange) @nonobjc public func setDecoration(_ decoration: AVFoundation.AVCaption.Decoration, in range: Foundation.NSRange) @nonobjc public func setTextCombine(_ textCombine: AVFoundation.AVCaption.TextCombine, in range: Foundation.NSRange) @nonobjc public func setRuby(_ rubyText: AVFoundation.AVCaption.Ruby, in range: Foundation.NSRange) @nonobjc public func removeTextColor(in range: Foundation.NSRange) @nonobjc public func removeBackgroundColor(in range: Foundation.NSRange) @nonobjc public func removeFontWeight(in range: Foundation.NSRange) @nonobjc public func removeFontStyle(in range: Foundation.NSRange) @nonobjc public func removeDecoration(in range: Foundation.NSRange) @nonobjc public func removeTextCombine(in range: Foundation.NSRange) @nonobjc public func removeRuby(in range: Foundation.NSRange) } @available(macOS 15, iOS 18, tvOS 18, watchOS 11, visionOS 2, *) extension AVFoundation.AVMetricEventStreamPublisher { public func metrics(forType metricType: MetricEvent.Type) -> AVFoundation.AVMetrics where MetricEvent : AVFoundation.AVMetricEvent public func allMetrics() -> AVFoundation.AVMetrics } @available(macOS 15, iOS 18, tvOS 18, watchOS 11, visionOS 2, *) public struct AVMetrics : _Concurrency.AsyncSequence, @unchecked Swift.Sendable where MetricEvent : AVFoundation.AVMetricEvent { public func makeAsyncIterator() -> AVFoundation.AVMetrics.AsyncIterator public typealias Element = MetricEvent public struct AsyncIterator : _Concurrency.AsyncIteratorProtocol { public mutating func next() async throws -> MetricEvent? @available(iOS 18, tvOS 18, watchOS 11, visionOS 2, macOS 15, *) public typealias Element = MetricEvent @available(iOS 18, tvOS 18, watchOS 11, visionOS 2, macOS 15, *) @_implements(_Concurrency.AsyncIteratorProtocol, Failure) public typealias __AsyncIteratorProtocol_Failure = any Swift.Error } public func chronologicalMerge(with secondMetric: AVFoundation.AVMetrics, _ metrics: repeat AVFoundation.AVMetrics) -> AVFoundation.AVMergedMetrics where OtherSecondMetric : AVFoundation.AVMetricEvent, repeat each MetricEventPack : AVFoundation.AVMetricEvent @available(iOS 18, tvOS 18, watchOS 11, visionOS 2, macOS 15, *) @_implements(_Concurrency.AsyncSequence, Failure) public typealias __AsyncSequence_Failure = any Swift.Error } @available(macOS 15, iOS 18, tvOS 18, watchOS 11, visionOS 2, *) public struct AVMergedMetrics : _Concurrency.AsyncSequence where MetricEvent1 : AVFoundation.AVMetricEvent, MetricEvent2 : AVFoundation.AVMetricEvent, repeat each MetricEventPack : AVFoundation.AVMetricEvent { public func makeAsyncIterator() -> AVFoundation.AVMergedMetrics.AsyncIterator public typealias Element = (AVFoundation.AVMetricEvent, any AVFoundation.AVMetricEventStreamPublisher) public struct AsyncIterator : _Concurrency.AsyncIteratorProtocol { public mutating func next() async throws -> (AVFoundation.AVMetricEvent, any AVFoundation.AVMetricEventStreamPublisher)? @available(iOS 18, tvOS 18, watchOS 11, visionOS 2, macOS 15, *) public typealias Element = (AVFoundation.AVMetricEvent, any AVFoundation.AVMetricEventStreamPublisher) @available(iOS 18, tvOS 18, watchOS 11, visionOS 2, macOS 15, *) @_implements(_Concurrency.AsyncIteratorProtocol, Failure) public typealias __AsyncIteratorProtocol_Failure = any Swift.Error } @available(iOS 18, tvOS 18, watchOS 11, visionOS 2, macOS 15, *) @_implements(_Concurrency.AsyncSequence, Failure) public typealias __AsyncSequence_Failure = any Swift.Error } @available(macOS 15, iOS 18, tvOS 18, watchOS 11, visionOS 2, *) extension AVFoundation.AVMetricPlayerItemLikelyToKeepUpEvent { @nonobjc public var loadedTimeRanges: [CoreMedia.CMTimeRange] { get } } @available(macOS 15, iOS 18, tvOS 18, watchOS 11, visionOS 2, *) extension AVFoundation.AVMetricPlayerItemVariantSwitchEvent { @nonobjc public var loadedTimeRanges: [CoreMedia.CMTimeRange] { get } } @available(macOS 15, iOS 18, tvOS 18, watchOS 11, visionOS 2, *) extension AVFoundation.AVMetricPlayerItemVariantSwitchStartEvent { @nonobjc public var loadedTimeRanges: [CoreMedia.CMTimeRange] { get } } @available(macOS 14, iOS 17, visionOS 1, *) @available(tvOS, unavailable) @available(watchOS, unavailable) extension AVFoundation.AVAssetWriterInputTaggedPixelBufferGroupAdaptor { public func appendTaggedBuffers(_ taggedBuffers: [CoreMedia.CMTaggedBuffer], withPresentationTime: CoreMedia.CMTime) -> Swift.Bool } @available(macOS 15.0, iOS 18.0, macCatalyst 18.0, tvOS 18.0, *) @available(visionOS, unavailable) @available(watchOS, unavailable) extension AVFoundation.AVCaptureSlider { @nonobjc public var prominentValues: [Swift.Float] { get set } @nonobjc convenience public init(_ localizedTitle: Swift.String, symbolName: Swift.String, in range: Swift.ClosedRange) @nonobjc convenience public init(_ localizedTitle: Swift.String, symbolName: Swift.String, in range: Swift.ClosedRange, step: Swift.Float) @nonobjc convenience public init(_ localizedTitle: Swift.String, symbolName: Swift.String, values: [Swift.Float]) @nonobjc public func setActionQueue(_ actionQueue: Dispatch.DispatchQueue, action: @escaping (Swift.Float) -> ()) } @available(macOS 12.0, iOS 15.0, tvOS 15.0, visionOS 1, *) @available(watchOS, unavailable) extension AVFoundation.AVAsynchronousVideoCompositionRequest { @nonobjc public var sourceSampleDataTrackIDs: [CoreMedia.CMPersistentTrackID] { get } } @available(macOS 12.0, iOS 15.0, tvOS 15.0, visionOS 1, *) @available(watchOS, unavailable) extension AVFoundation.AVVideoComposition { @objc(_sourceSampleDataTrackIDs) dynamic public var sourceSampleDataTrackIDs: [CoreMedia.CMPersistentTrackID] { @objc get } } @available(macOS 12.0, iOS 15.0, tvOS 15.0, visionOS 1, *) @available(watchOS, unavailable) extension AVFoundation.AVMutableVideoComposition { @objc(_sourceSampleDataTrackIDs) override dynamic public var sourceSampleDataTrackIDs: [CoreMedia.CMPersistentTrackID] { @objc get @objc set } } @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) extension AVFoundation.AVAssetVariant { @nonobjc public var peakBitRate: Swift.Double? { get } @nonobjc public var averageBitRate: Swift.Double? { get } } @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) extension AVFoundation.AVAssetVariant.VideoAttributes { @nonobjc public var nominalFrameRate: Swift.Double? { get } @nonobjc public var codecTypes: [CoreMedia.CMVideoCodecType] { get } } @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) extension AVFoundation.AVAssetVariant.AudioAttributes { @nonobjc public var formatIDs: [CoreAudioTypes.AudioFormatID] { get } } @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) extension AVFoundation.AVAssetVariant.AudioAttributes.RenditionSpecificAttributes { @nonobjc public var channelCount: Swift.Int? { get } } @available(macOS 13.0, iOS 16.0, tvOS 16.0, watchOS 9.0, visionOS 1.0, *) extension AVFoundation.AVAssetVariant.VideoAttributes : @unchecked Swift.Sendable { } @available(macOS 15, iOS 18, tvOS 18, watchOS 11, visionOS 2.0, *) extension AVFoundation.AVPlayerItemSegment { @available(macOS 15, iOS 18, tvOS 18, watchOS 11, visionOS 2.0, *) @nonobjc public var loadedTimeRanges: [CoreMedia.CMTimeRange] { get } } @available(macOS 15, iOS 18, tvOS 18, watchOS 11, visionOS 2.0, *) extension AVFoundation.AVPlayerItemIntegratedTimelineSnapshot { @available(macOS 15, iOS 18, tvOS 18, watchOS 11, visionOS 2.0, *) public func segmentAndOffsetIntoSegment(forTimelineTime: CoreMedia.CMTime) -> (AVFoundation.AVPlayerItemSegment, CoreMedia.CMTime) } @available(macOS 15, iOS 18, tvOS 18, watchOS 11, visionOS 2.0, *) extension AVFoundation.AVPlayerItemIntegratedTimeline { public struct PeriodicTimes : _Concurrency.AsyncSequence, Swift.Sendable { public typealias Element = CoreMedia.CMTime public func makeAsyncIterator() -> AVFoundation.AVPlayerItemIntegratedTimeline.PeriodicTimes.Iterator public struct Iterator : _Concurrency.AsyncIteratorProtocol { public mutating func next() async -> AVFoundation.AVPlayerItemIntegratedTimeline.PeriodicTimes.Element? @available(iOS 18, tvOS 18, watchOS 11, visionOS 2.0, macOS 15, *) public typealias Element = AVFoundation.AVPlayerItemIntegratedTimeline.PeriodicTimes.Element @available(iOS 18, tvOS 18, watchOS 11, visionOS 2.0, macOS 15, *) @_implements(_Concurrency.AsyncIteratorProtocol, Failure) public typealias __AsyncIteratorProtocol_Failure = Swift.Never } @available(iOS 18, tvOS 18, watchOS 11, visionOS 2.0, macOS 15, *) public typealias AsyncIterator = AVFoundation.AVPlayerItemIntegratedTimeline.PeriodicTimes.Iterator @available(iOS 18, tvOS 18, watchOS 11, visionOS 2.0, macOS 15, *) @_implements(_Concurrency.AsyncSequence, Failure) public typealias __AsyncSequence_Failure = Swift.Never } public struct BoundaryTimes : _Concurrency.AsyncSequence, Swift.Sendable { public typealias Element = CoreMedia.CMTime public func makeAsyncIterator() -> AVFoundation.AVPlayerItemIntegratedTimeline.BoundaryTimes.Iterator public struct Iterator : _Concurrency.AsyncIteratorProtocol { public mutating func next() async -> AVFoundation.AVPlayerItemIntegratedTimeline.BoundaryTimes.Element? @available(iOS 18, tvOS 18, watchOS 11, visionOS 2.0, macOS 15, *) public typealias Element = AVFoundation.AVPlayerItemIntegratedTimeline.BoundaryTimes.Element @available(iOS 18, tvOS 18, watchOS 11, visionOS 2.0, macOS 15, *) @_implements(_Concurrency.AsyncIteratorProtocol, Failure) public typealias __AsyncIteratorProtocol_Failure = Swift.Never } @available(iOS 18, tvOS 18, watchOS 11, visionOS 2.0, macOS 15, *) public typealias AsyncIterator = AVFoundation.AVPlayerItemIntegratedTimeline.BoundaryTimes.Iterator @available(iOS 18, tvOS 18, watchOS 11, visionOS 2.0, macOS 15, *) @_implements(_Concurrency.AsyncSequence, Failure) public typealias __AsyncSequence_Failure = Swift.Never } public func periodicTimes(forInterval: CoreMedia.CMTime) -> AVFoundation.AVPlayerItemIntegratedTimeline.PeriodicTimes public func boundaryTimes(for segment: AVFoundation.AVPlayerItemSegment, offsetsIntoSegment: [CoreMedia.CMTime]) -> AVFoundation.AVPlayerItemIntegratedTimeline.BoundaryTimes } @available(iOS 11.0, macCatalyst 18.0, tvOS 17.0, *) @available(macOS, unavailable) @available(visionOS, unavailable) @available(watchOS, unavailable) extension AVFoundation.AVCaptureSynchronizedDataCollection : Swift.Sequence { public func makeIterator() -> AVFoundation.AVCaptureSynchronizedDataCollection.Iterator public struct Iterator : Swift.IteratorProtocol { public mutating func next() -> AVFoundation.AVCaptureSynchronizedData? @available(iOS 11.0, tvOS 17.0, macCatalyst 18.0, *) @available(watchOS, unavailable) @available(visionOS, unavailable) @available(macOS, unavailable) public typealias Element = AVFoundation.AVCaptureSynchronizedData } @available(iOS 11.0, tvOS 17.0, macCatalyst 18.0, *) @available(watchOS, unavailable) @available(visionOS, unavailable) @available(macOS, unavailable) public typealias Element = AVFoundation.AVCaptureSynchronizedData } extension AVFoundation.AVPlayerItem { @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) @_Concurrency.MainActor @preconcurrency convenience public init(asset: AVFoundation.AVAsset, automaticallyLoadedAssetKeys: [AVFoundation.AVPartialAsyncProperty] = []) @available(macOS 10.7, iOS 4.0, tvOS 9.0, watchOS 1.0, visionOS 1.0, *) @_alwaysEmitIntoClient nonisolated convenience public init(asset: any AVFoundation.AVAsset & Swift.Sendable) { self.init(asset: asset as AVAsset) } @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) @_alwaysEmitIntoClient nonisolated convenience public init(asset: any AVFoundation.AVAsset & Swift.Sendable, automaticallyLoadedAssetKeys: [AVFoundation.AVPartialAsyncProperty]) { self.init(asset:asset as AVAsset, automaticallyLoadedAssetKeys:automaticallyLoadedAssetKeys) } @available(macOS 13, iOS 16, tvOS 16, watchOS 9, visionOS 1, *) nonisolated public func seek(to date: Foundation.Date) async -> Swift.Bool } extension Foundation.NSNotification.Name { @available(macOS, introduced: 10.7, deprecated: 100000, message: "Use AVPlayerItem.timeJumpedNotification instead.") @available(iOS, introduced: 5.0, deprecated: 100000, message: "Use AVPlayerItem.timeJumpedNotification instead.") @available(tvOS, introduced: 9.0, deprecated: 100000, message: "Use AVPlayerItem.timeJumpedNotification instead.") @available(watchOS, introduced: 1.0, deprecated: 100000, message: "Use AVPlayerItem.timeJumpedNotification instead.") @available(visionOS, introduced: 1.0, deprecated: 100000, message: "Use AVPlayerItem.timeJumpedNotification instead.") @_alwaysEmitIntoClient public static var AVPlayerItemTimeJumped: Foundation.NSNotification.Name { get { Self("AVPlayerItemTimeJumpedNotification") } } @available(macOS, introduced: 10.9, deprecated: 100000, message: "Use AVPlayerItem.playbackStalledNotification instead.") @available(iOS, introduced: 6.0, deprecated: 100000, message: "Use AVPlayerItem.playbackStalledNotification instead.") @available(tvOS, introduced: 9.0, deprecated: 100000, message: "Use AVPlayerItem.playbackStalledNotification instead.") @available(watchOS, introduced: 1.0, deprecated: 100000, message: "Use AVPlayerItem.playbackStalledNotification instead.") @available(visionOS, introduced: 1.0, deprecated: 100000, message: "Use AVPlayerItem.playbackStalledNotification instead.") @_alwaysEmitIntoClient public static var AVPlayerItemPlaybackStalled: Foundation.NSNotification.Name { get { Self("AVPlayerItemPlaybackStalledNotification") } } @available(macOS, introduced: 10.9, deprecated: 100000, message: "Use AVPlayerItem.newErrorLogEntryNotification instead.") @available(iOS, introduced: 6.0, deprecated: 100000, message: "Use AVPlayerItem.newErrorLogEntryNotification instead.") @available(tvOS, introduced: 9.0, deprecated: 100000, message: "Use AVPlayerItem.newErrorLogEntryNotification instead.") @available(watchOS, introduced: 1.0, deprecated: 100000, message: "Use AVPlayerItem.newErrorLogEntryNotification instead.") @available(visionOS, introduced: 1.0, deprecated: 100000, message: "Use AVPlayerItem.newErrorLogEntryNotification instead.") @_alwaysEmitIntoClient public static var AVPlayerItemNewErrorLogEntry: Foundation.NSNotification.Name { get { Self("AVPlayerItemNewErrorLogEntry") } } @available(macOS, introduced: 10.9, deprecated: 100000, message: "Use AVPlayerItem.newAccessLogEntryNotification instead.") @available(iOS, introduced: 6.0, deprecated: 100000, message: "Use AVPlayerItem.newAccessLogEntryNotification instead.") @available(tvOS, introduced: 9.0, deprecated: 100000, message: "Use AVPlayerItem.newAccessLogEntryNotification instead.") @available(watchOS, introduced: 1.0, deprecated: 100000, message: "Use AVPlayerItem.newAccessLogEntryNotification instead.") @available(visionOS, introduced: 1.0, deprecated: 100000, message: "Use AVPlayerItem.newAccessLogEntryNotification instead.") @_alwaysEmitIntoClient public static var AVPlayerItemNewAccessLogEntry: Foundation.NSNotification.Name { get { Self("AVPlayerItemNewAccessLogEntry") } } @available(macOS, introduced: 10.7, deprecated: 100000, message: "Use AVPlayerItem.didPlayToEndTimeNotification instead.") @available(iOS, introduced: 4.0, deprecated: 100000, message: "Use AVPlayerItem.didPlayToEndTimeNotification instead.") @available(tvOS, introduced: 9.0, deprecated: 100000, message: "Use AVPlayerItem.didPlayToEndTimeNotification instead.") @available(watchOS, introduced: 1.0, deprecated: 100000, message: "Use AVPlayerItem.didPlayToEndTimeNotification instead.") @available(visionOS, introduced: 1.0, deprecated: 100000, message: "Use AVPlayerItem.didPlayToEndTimeNotification instead.") @_alwaysEmitIntoClient public static var AVPlayerItemDidPlayToEndTime: Foundation.NSNotification.Name { get { Self("AVPlayerItemDidPlayToEndTimeNotification") } } @available(macOS, introduced: 10.7, deprecated: 100000, message: "Use AVPlayerItem.failedToPlayToEndTimeNotification instead.") @available(iOS, introduced: 4.3, deprecated: 100000, message: "Use AVPlayerItem.failedToPlayToEndTimeNotification instead.") @available(tvOS, introduced: 9.0, deprecated: 100000, message: "Use AVPlayerItem.failedToPlayToEndTimeNotification instead.") @available(watchOS, introduced: 1.0, deprecated: 100000, message: "Use AVPlayerItem.failedToPlayToEndTimeNotification instead.") @available(visionOS, introduced: 1.0, deprecated: 100000, message: "Use AVPlayerItem.failedToPlayToEndTimeNotification instead.") @_alwaysEmitIntoClient public static var AVPlayerItemFailedToPlayToEndTime: Foundation.NSNotification.Name { get { Self("AVPlayerItemFailedToPlayToEndTimeNotification") } } } @available(watchOS, unavailable) extension AVFoundation.AVAssetImageGenerator { @available(macOS 13, iOS 16, tvOS 16, visionOS 1, *) @available(watchOS, unavailable) public func image(at time: CoreMedia.CMTime) async throws -> (image: CoreGraphics.CGImage, actualTime: CoreMedia.CMTime) @available(macOS 13, iOS 16, tvOS 16, visionOS 1, *) @available(watchOS, unavailable) public func images(for times: [CoreMedia.CMTime]) -> AVFoundation.AVAssetImageGenerator.Images @available(macOS 13, iOS 16, tvOS 16, visionOS 1, *) @available(watchOS, unavailable) public struct Images : _Concurrency.AsyncSequence, _Concurrency.AsyncIteratorProtocol { @frozen public enum Element : Swift.Sendable { case success(requestedTime: CoreMedia.CMTime, image: CoreGraphics.CGImage, actualTime: CoreMedia.CMTime) case failure(requestedTime: CoreMedia.CMTime, error: any Swift.Error) } public func makeAsyncIterator() -> AVFoundation.AVAssetImageGenerator.Images public mutating func next() async -> AVFoundation.AVAssetImageGenerator.Images.Element? @available(iOS 16, tvOS 16, visionOS 1, macOS 13, *) @available(watchOS, unavailable) public typealias AsyncIterator = AVFoundation.AVAssetImageGenerator.Images @available(iOS 18.0, tvOS 18.0, visionOS 2.0, macOS 15.0, *) @available(watchOS, unavailable, introduced: 11.0) @_implements(_Concurrency.AsyncIteratorProtocol, Failure) public typealias __AsyncIteratorProtocol_Failure = Swift.Never @available(iOS 18.0, tvOS 18.0, visionOS 2.0, macOS 15.0, *) @available(watchOS, unavailable, introduced: 11.0) @_implements(_Concurrency.AsyncSequence, Failure) public typealias __AsyncSequence_Failure = Swift.Never } } @available(macOS 13, iOS 16, tvOS 16, visionOS 1, *) @available(watchOS, unavailable) extension AVFoundation.AVAssetImageGenerator.Images.Element { public var requestedTime: CoreMedia.CMTime { get } public var image: CoreGraphics.CGImage { get throws } public var actualTime: CoreMedia.CMTime { get throws } } @available(macOS 15, iOS 18, tvOS 18, visionOS 2.0, *) @available(watchOS, unavailable) extension AVFoundation.AVAssetExportSession { public func export(to url: Foundation.URL, as fileType: AVFoundation.AVFileType, isolation: isolated (any _Concurrency.Actor)? = #isolation) async throws @usableFromInline @_unsafeInheritExecutor internal func export(to url: Foundation.URL, as fileType: AVFoundation.AVFileType) async throws public enum State : Swift.Sendable { case pending case waiting case exporting(progress: Foundation.Progress) } public func states(updateInterval: Foundation.TimeInterval = .infinity) -> some Swift.Sendable & _Concurrency.AsyncSequence } @available(macOS 13.0, iOS 16.0, tvOS 16.0, visionOS 1.0, *) @available(watchOS, unavailable) extension AVFoundation.AVRouteDetector : @unchecked Swift.Sendable { } @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) extension AVFoundation.AVPartialAsyncProperty where Root : AVFoundation.AVMutableComposition { public static var tracks: AVFoundation.AVAsyncProperty { get } } @available(macOS 13, iOS 16, tvOS 16, watchOS 9, visionOS 1, *) extension AVFoundation.AVMutableComposition { @backDeployed(before: macOS 15, iOS 18, tvOS 18, watchOS 11, visionOS 2) final public func insertTimeRange(_ timeRange: CoreMedia.CMTimeRange, of asset: AVFoundation.AVAsset, at time: CoreMedia.CMTime, isolation: isolated (any _Concurrency.Actor)? = #isolation) async throws { let tracks = try await asset.load(.tracks) for track in tracks { let _ = try await track.load(.formatDescriptions) } try { try insertTimeRange(timeRange, of: asset, at: time) }() } } @available(macOS 11.0, iOS 10.0, macCatalyst 14.0, tvOS 17.0, *) @available(visionOS, unavailable) @available(watchOS, unavailable) extension AVFoundation.AVCapturePhotoOutput { @nonobjc public var supportedFlashModes: [AVFoundation.AVCaptureDevice.FlashMode] { get } @nonobjc public var availablePhotoPixelFormatTypes: [Darwin.OSType] { get } @nonobjc public var availableRawPhotoPixelFormatTypes: [Darwin.OSType] { get } } @available(macOS 10.15, iOS 11.0, macCatalyst 14.0, tvOS 17.0, *) @available(visionOS, unavailable) @available(watchOS, unavailable) extension AVFoundation.AVCapturePhotoOutput { @available(macOS 10.15, iOS 11.0, macCatalyst 14.0, tvOS 17.0, *) @available(visionOS, unavailable) @available(watchOS, unavailable) @nonobjc @_alwaysEmitIntoClient public func supportedPhotoPixelFormatTypes(for fileType: AVFoundation.AVFileType) -> [Darwin.OSType] { return __supportedPhotoPixelFormatTypes(forFileType: fileType).map { $0.uint32Value } as [OSType] } @available(*, unavailable, message: "Use 'supportedPhotoPixelFormatTypes(for:) -> [OSType]' instead") @nonobjc public func supportedPhotoPixelFormatTypes(for fileType: AVFoundation.AVFileType) -> [Foundation.NSNumber] @available(iOS 11.0, macCatalyst 14.0, tvOS 17.0, *) @available(macOS, unavailable) @available(visionOS, unavailable) @available(watchOS, unavailable) @nonobjc @_alwaysEmitIntoClient public func supportedRawPhotoPixelFormatTypes(for fileType: AVFoundation.AVFileType) -> [Darwin.OSType] { return __supportedRawPhotoPixelFormatTypes(forFileType: fileType).map { $0.uint32Value } as [OSType] } @available(*, unavailable, message: "Use 'supportedRawPhotoPixelFormatTypes(for:) -> [OSType]' instead") @nonobjc public func supportedRawPhotoPixelFormatTypes(for fileType: AVFoundation.AVFileType) -> [Foundation.NSNumber] } @available(macOS 11.0, iOS 10.0, macCatalyst 14.0, tvOS 17.0, *) @available(visionOS, unavailable) @available(watchOS, unavailable) extension AVFoundation.AVCapturePhotoSettings { @nonobjc public var availablePreviewPhotoPixelFormatTypes: [Darwin.OSType] { get } } @available(macOS 10.15, iOS 11.0, macCatalyst 14.0, tvOS 17.0, *) @available(visionOS, unavailable) @available(watchOS, unavailable) extension AVFoundation.AVCapturePhoto { @available(*, unavailable, message: "Use 'cgImageRepresentation() -> CGImage?' instead") @nonobjc public func cgImageRepresentation() -> Swift.Unmanaged? @available(*, unavailable, message: "Use 'previewCGImageRepresentation() -> CGImage?' instead") @nonobjc public func previewCGImageRepresentation() -> Swift.Unmanaged? } @available(macOS 14.4, iOS 17.4, tvOS 17.4, macCatalyst 17.4, visionOS 1.1, *) @available(watchOS, unavailable) extension AVFoundation.AVSampleBufferVideoRenderer { public enum PresentationTimeExpectation : Swift.Sendable { case none case monotonicallyIncreasing case minimumUpcoming(CoreMedia.CMTime) } public var presentationTimeExpectation: AVFoundation.AVSampleBufferVideoRenderer.PresentationTimeExpectation { @available(*, unavailable) get set } } @available(macOS 14.2, iOS 17.2, tvOS 17.2, watchOS 10.2, visionOS 1.1, *) extension AVFoundation.AVPlayerVideoOutput { @available(macOS 14.2, iOS 17.2, tvOS 17.2, watchOS 10.2, visionOS 1.1, *) public func taggedBuffers(forHostTime hostTime: CoreMedia.CMTime) -> (taggedBufferGroup: [CoreMedia.CMTaggedBuffer], presentationTime: CoreMedia.CMTime, activeConfiguration: AVFoundation.AVPlayerVideoOutput.Configuration)? } @available(macOS 14.2, iOS 17.2, tvOS 17.2, watchOS 10.2, visionOS 1.1, *) extension AVFoundation.AVVideoOutputSpecification { @available(macOS 14.2, iOS 17.2, tvOS 17.2, watchOS 10.2, visionOS 1.1, *) convenience public init(tagCollections: [[CoreMedia.CMTag]]) @available(macOS, introduced: 14.2, deprecated: 100000, message: "Use setOutputSettings instead") @available(iOS, introduced: 17.2, deprecated: 100000, message: "Use setOutputSettings instead") @available(tvOS, introduced: 17.2, deprecated: 100000, message: "Use setOutputSettings instead") @available(watchOS, introduced: 10.2, deprecated: 100000, message: "Use setOutputSettings instead") @available(visionOS, introduced: 1.1, deprecated: 100000, message: "Use setOutputSettings instead") public func setOutputPixelBufferAttributes(_ pixelBufferAttributes: [Swift.String : Any]?, for tagCollection: [CoreMedia.CMTag]) @available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) public func setOutputSettings(_ outputSettings: [Swift.String : any Swift.Sendable]?, for tagCollection: [CoreMedia.CMTag]) @available(macOS 14.2, iOS 17.2, tvOS 17.2, watchOS 10.2, visionOS 1.1, *) public var preferredTagCollections: [[CoreMedia.CMTag]] { get } } @available(macOS 14.2, iOS 17.2, tvOS 17.2, watchOS 10.2, visionOS 1.1, *) extension AVFoundation.AVPlayerVideoOutput.Configuration { public var dataChannelDescription: [[CoreMedia.CMTag]] { get } } @available(macOS 14.2, iOS 17.2, tvOS 17.2, watchOS 10.2, visionOS 1.1, *) extension Swift.Array where Element == CoreMedia.CMTag { public static func monoscopicForVideoOutput() -> [CoreMedia.CMTag] public static func stereoscopicForVideoOutput() -> [CoreMedia.CMTag] } extension Foundation.NSNotification.Name { @available(macOS, introduced: 10.7, deprecated: 15.0, renamed: "AVCaptureInput.Port.formatDescriptionDidChangeNotification") @available(iOS, introduced: 4.0, deprecated: 18.0, renamed: "AVCaptureInput.Port.formatDescriptionDidChangeNotification") @available(macCatalyst, introduced: 14.0, deprecated: 18.0, renamed: "AVCaptureInput.Port.formatDescriptionDidChangeNotification") @available(tvOS, introduced: 17.0, deprecated: 18.0, renamed: "AVCaptureInput.Port.formatDescriptionDidChangeNotification") @available(visionOS, unavailable) @available(watchOS, unavailable) @_alwaysEmitIntoClient public static var AVCaptureInputPortFormatDescriptionDidChange: Foundation.NSNotification.Name { get { AVCaptureInput.Port.formatDescriptionDidChangeNotification } } } @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) extension AVFoundation.AVPartialAsyncProperty where Root : AVFoundation.AVAssetTrack { public static var formatDescriptions: AVFoundation.AVAsyncProperty { get } public static var isPlayable: AVFoundation.AVAsyncProperty { get } public static var isDecodable: AVFoundation.AVAsyncProperty { get } public static var isEnabled: AVFoundation.AVAsyncProperty { get } public static var isSelfContained: AVFoundation.AVAsyncProperty { get } public static var totalSampleDataLength: AVFoundation.AVAsyncProperty { get } public static var mediaCharacteristics: AVFoundation.AVAsyncProperty { get } } @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) extension AVFoundation.AVPartialAsyncProperty where Root : AVFoundation.AVAssetTrack { public static var timeRange: AVFoundation.AVAsyncProperty { get } public static var naturalTimeScale: AVFoundation.AVAsyncProperty { get } public static var estimatedDataRate: AVFoundation.AVAsyncProperty { get } } @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) extension AVFoundation.AVPartialAsyncProperty where Root : AVFoundation.AVAssetTrack { public static var languageCode: AVFoundation.AVAsyncProperty { get } public static var extendedLanguageTag: AVFoundation.AVAsyncProperty { get } } @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) extension AVFoundation.AVPartialAsyncProperty where Root : AVFoundation.AVAssetTrack { public static var naturalSize: AVFoundation.AVAsyncProperty { get } public static var preferredTransform: AVFoundation.AVAsyncProperty { get } } @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) extension AVFoundation.AVPartialAsyncProperty where Root : AVFoundation.AVAssetTrack { public static var preferredVolume: AVFoundation.AVAsyncProperty { get } public static var hasAudioSampleDependencies: AVFoundation.AVAsyncProperty { get } } @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) extension AVFoundation.AVPartialAsyncProperty where Root : AVFoundation.AVAssetTrack { public static var nominalFrameRate: AVFoundation.AVAsyncProperty { get } public static var minFrameDuration: AVFoundation.AVAsyncProperty { get } public static var requiresFrameReordering: AVFoundation.AVAsyncProperty { get } } @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) extension AVFoundation.AVPartialAsyncProperty where Root : AVFoundation.AVAssetTrack { public static var segments: AVFoundation.AVAsyncProperty { get } } @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) extension AVFoundation.AVPartialAsyncProperty where Root : AVFoundation.AVAssetTrack { public static var commonMetadata: AVFoundation.AVAsyncProperty { get } public static var metadata: AVFoundation.AVAsyncProperty { get } public static var availableMetadataFormats: AVFoundation.AVAsyncProperty { get } } @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) extension AVFoundation.AVPartialAsyncProperty where Root : AVFoundation.AVAssetTrack { public static var availableTrackAssociationTypes: AVFoundation.AVAsyncProperty { get } } @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) extension AVFoundation.AVPartialAsyncProperty where Root : AVFoundation.AVAssetTrack { @available(macOS 12, iOS 16, tvOS 16, watchOS 9, visionOS 1, *) public static var canProvideSampleCursors: AVFoundation.AVAsyncProperty { get } } @available(macOS 15, iOS 18, visionOS 2, *) @available(watchOS, unavailable) @available(tvOS, unavailable) extension AVFoundation.AVAssetDownloadStorageManager : @unchecked Swift.Sendable { } @available(watchOS 6.0, *) extension CoreMedia.CMTime : Swift._ObjectiveCBridgeable { public func _bridgeToObjectiveC() -> Foundation.NSValue public static func _forceBridgeFromObjectiveC(_ source: Foundation.NSValue, result: inout CoreMedia.CMTime?) public static func _conditionallyBridgeFromObjectiveC(_ source: Foundation.NSValue, result: inout CoreMedia.CMTime?) -> Swift.Bool public static func _unconditionallyBridgeFromObjectiveC(_ source: Foundation.NSValue?) -> CoreMedia.CMTime @available(iOS 4.0, watchOS 6.0, macCatalyst 13.1, *) public typealias _ObjectiveCType = Foundation.NSValue } @available(watchOS 6.0, *) extension CoreMedia.CMTimeRange : Swift._ObjectiveCBridgeable { public func _bridgeToObjectiveC() -> Foundation.NSValue public static func _forceBridgeFromObjectiveC(_ source: Foundation.NSValue, result: inout CoreMedia.CMTimeRange?) public static func _conditionallyBridgeFromObjectiveC(_ source: Foundation.NSValue, result: inout CoreMedia.CMTimeRange?) -> Swift.Bool public static func _unconditionallyBridgeFromObjectiveC(_ source: Foundation.NSValue?) -> CoreMedia.CMTimeRange @available(iOS 4.0, watchOS 6.0, macCatalyst 13.1, *) public typealias _ObjectiveCType = Foundation.NSValue } @available(watchOS 6.0, *) extension CoreMedia.CMTimeMapping : Swift._ObjectiveCBridgeable { public func _bridgeToObjectiveC() -> Foundation.NSValue public static func _forceBridgeFromObjectiveC(_ source: Foundation.NSValue, result: inout CoreMedia.CMTimeMapping?) public static func _conditionallyBridgeFromObjectiveC(_ source: Foundation.NSValue, result: inout CoreMedia.CMTimeMapping?) -> Swift.Bool public static func _unconditionallyBridgeFromObjectiveC(_ source: Foundation.NSValue?) -> CoreMedia.CMTimeMapping @available(iOS 4.0, watchOS 6.0, macCatalyst 13.1, *) public typealias _ObjectiveCType = Foundation.NSValue } @available(macOS 12.3, iOS 15.4, tvOS 15.4, visionOS 1, *) @available(watchOS, unavailable) extension AVFoundation.AVCoordinatedPlaybackSuspension : @unchecked Swift.Sendable { } @available(macOS 15, iOS 18, tvOS 18, visionOS 2, *) @available(watchOS, unavailable) extension AVFoundation.AVPlaybackCoordinator : @unchecked Swift.Sendable { } @available(macOS 10.7, iOS 5.0, macCatalyst 14.0, tvOS 17.0, *) @available(visionOS, unavailable) @available(watchOS, unavailable) extension AVFoundation.AVCaptureVideoDataOutput { @nonobjc public var availableVideoPixelFormatTypes: [Darwin.OSType] { get } } @available(macOS 11.0, iOS 10.0, macCatalyst 14.0, tvOS 17.0, *) @available(visionOS, unavailable) @available(watchOS, unavailable) extension AVFoundation.AVCaptureDevice.Format { @nonobjc public var supportedColorSpaces: [AVFoundation.AVCaptureColorSpace] { get } } @available(macOS 13.0, iOS 16.0, macCatalyst 16.0, tvOS 17.0, *) @available(visionOS, unavailable) @available(watchOS, unavailable) extension AVFoundation.AVCaptureDevice.Format { @nonobjc public var supportedMaxPhotoDimensions: [CoreMedia.CMVideoDimensions] { get } } @available(macOS 13.0, iOS 16.0, macCatalyst 16.0, tvOS 17.0, *) @available(visionOS, unavailable) @available(watchOS, unavailable) extension AVFoundation.AVCaptureDevice.Format { @nonobjc public var secondaryNativeResolutionZoomFactors: [CoreFoundation.CGFloat] { get } } @available(iOS 16.0, macCatalyst 16.0, tvOS 17.0, *) @available(macOS, unavailable) @available(visionOS, unavailable) @available(watchOS, unavailable) extension AVFoundation.AVCaptureDevice.Format { @available(iOS, introduced: 16.0, deprecated: 17.2, message: "Use AVCaptureDevice.Format.supportedVideoZoomRangesForDepthDataDelivery instead") @available(macCatalyst, introduced: 16.0, deprecated: 17.2, message: "Use AVCaptureDevice.Format.supportedVideoZoomRangesForDepthDataDelivery instead") @available(tvOS, introduced: 17.0, deprecated: 17.2, message: "Use AVCaptureDevice.Format.supportedVideoZoomRangesForDepthDataDelivery instead") @available(macOS, unavailable) @available(visionOS, unavailable) @nonobjc public var supportedVideoZoomFactorsForDepthDataDelivery: [CoreFoundation.CGFloat] { get } } @available(macOS 14.2, iOS 17.2, macCatalyst 17.2, tvOS 17.2, *) @available(visionOS, unavailable) @available(watchOS, unavailable) extension AVFoundation.AVCaptureDevice.Format { @nonobjc public var supportedVideoZoomRangesForDepthDataDelivery: [Swift.ClosedRange] { get } } @available(macOS 15.0, iOS 18.0, macCatalyst 18.0, tvOS 18.0, *) @available(visionOS, unavailable) @available(watchOS, unavailable) extension AVFoundation.AVCaptureDevice.Format { @available(macOS 15.0, iOS 18.0, macCatalyst 18.0, tvOS 18.0, *) @available(visionOS, unavailable) @available(watchOS, unavailable) @nonobjc public var systemRecommendedVideoZoomRange: Swift.ClosedRange? { get } @available(macOS 15.0, iOS 18.0, macCatalyst 18.0, tvOS 18.0, *) @available(visionOS, unavailable) @available(watchOS, unavailable) @nonobjc public var systemRecommendedExposureBiasRange: Swift.ClosedRange? { get } } extension Foundation.NSNotification.Name { @available(macOS, introduced: 10.7, deprecated: 15.0, renamed: "AVCaptureDevice.wasConnectedNotification") @available(iOS, introduced: 4.0, deprecated: 18.0, renamed: "AVCaptureDevice.wasConnectedNotification") @available(macCatalyst, introduced: 14.0, deprecated: 18.0, renamed: "AVCaptureDevice.wasConnectedNotification") @available(tvOS, introduced: 17.0, deprecated: 18.0, renamed: "AVCaptureDevice.wasConnectedNotification") @available(visionOS, unavailable) @available(watchOS, unavailable) @_alwaysEmitIntoClient public static var AVCaptureDeviceWasConnected: Foundation.NSNotification.Name { get { AVCaptureDevice.wasConnectedNotification } } @available(macOS, introduced: 10.7, deprecated: 15.0, renamed: "AVCaptureDevice.wasDisconnectedNotification") @available(iOS, introduced: 4.0, deprecated: 18.0, renamed: "AVCaptureDevice.wasDisconnectedNotification") @available(macCatalyst, introduced: 14.0, deprecated: 18.0, renamed: "AVCaptureDevice.wasDisconnectedNotification") @available(tvOS, introduced: 17.0, deprecated: 18.0, renamed: "AVCaptureDevice.wasDisconnectedNotification") @available(visionOS, unavailable) @available(watchOS, unavailable) @_alwaysEmitIntoClient public static var AVCaptureDeviceWasDisconnected: Foundation.NSNotification.Name { get { AVCaptureDevice.wasDisconnectedNotification } } @available(iOS, introduced: 4.0, deprecated: 18.0, renamed: "AVCaptureDevice.subjectAreaDidChangeNotification") @available(macCatalyst, introduced: 14.0, deprecated: 18.0, renamed: "AVCaptureDevice.subjectAreaDidChangeNotification") @available(tvOS, introduced: 17.0, deprecated: 18.0, renamed: "AVCaptureDevice.subjectAreaDidChangeNotification") @available(macOS, unavailable) @available(visionOS, unavailable) @available(watchOS, unavailable) @_alwaysEmitIntoClient public static var AVCaptureDeviceSubjectAreaDidChange: Foundation.NSNotification.Name { get { AVCaptureDevice.subjectAreaDidChangeNotification } } } @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) extension AVFoundation.AVPartialAsyncProperty where Root : AVFoundation.AVFragmentedAsset { public static var tracks: AVFoundation.AVAsyncProperty { get } } extension AVFoundation.AVMovie { @available(macOS 10.10, iOS 13.0, watchOS 6.0, visionOS 1.0, *) @available(tvOS, unavailable) @_alwaysEmitIntoClient convenience public init(url: Foundation.URL) { self.init(url: url, options: nil) } } @available(macOS 12, iOS 15, watchOS 8, visionOS 1, *) @available(tvOS, unavailable) extension AVFoundation.AVPartialAsyncProperty where Root : AVFoundation.AVMovie { public static var tracks: AVFoundation.AVAsyncProperty { get } } extension AVFoundation.AVURLAsset { @available(macOS 10.7, iOS 4.0, tvOS 9.0, watchOS 1.0, visionOS 1.0, *) @_alwaysEmitIntoClient convenience public init(url: Foundation.URL) { self.init(url: url, options: nil) } } @available(macOS 12, iOS 15, tvOS 15, watchOS 8, visionOS 1, *) extension AVFoundation.AVPartialAsyncProperty where Root : AVFoundation.AVURLAsset { public static var tracks: AVFoundation.AVAsyncProperty { get } }