#if !__has_include() /* File: AVAssetPlaybackAssistant.h Framework: AVFoundation Copyright 2021 Apple Inc. All rights reserved. */ #import #import @class AVAsset; NS_ASSUME_NONNULL_BEGIN typedef NSString *AVAssetPlaybackConfigurationOption NS_STRING_ENUM API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(9.0)); /*! @constant AVAssetPlaybackConfigurationOptionStereoVideo @abstract Indicates whether or not the asset can render stereo video. @discussion Clients may use this property to determine whether to configure stereo video rendering. */ AVF_EXPORT AVAssetPlaybackConfigurationOption const AVAssetPlaybackConfigurationOptionStereoVideo API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(9.0)); /*! @constant AVAssetPlaybackConfigurationOptionStereoMultiviewVideo @abstract Indicates whether or not the asset can render stereo video and is also in a multiview compression format. @discussion Clients may use this property to determine whether to configure stereo video rendering. */ AVF_EXPORT AVAssetPlaybackConfigurationOption const AVAssetPlaybackConfigurationOptionStereoMultiviewVideo API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(9.0)); /*! @class AVAssetPlaybackAssistant @abstract AVAssetPlaybackAssistant provides playback information for an asset. */ API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(9.0)) @interface AVAssetPlaybackAssistant : NSObject AV_INIT_UNAVAILABLE /*! @method assetPlaybackAssistantWithAsset: @abstract Returns an instance of AVAssetPlaybackAssistant for inspection of an AVAsset object. @param asset An instance of AVAsset. @result An instance of AVAssetPlaybackAssistant. */ + (instancetype)assetPlaybackAssistantWithAsset:(AVAsset *)asset; /*! @method loadPlaybackConfigurationOptionsWithCompletionHandler: @abstract Calls the completionHandler with information about the asset. @param completionHandler Called with an array of AVAssetPlaybackConfigurationOption values describing capabilities of the asset. @discussion completionHandler is called when all of the AVAssetPlaybackConfigurationOption values have been loaded. If AVAssetPlaybackAssistant encounters failures when inspecting the contents of the asset, it will return no AVAssetPlaybackConfigurationOptions associated with those contents. */ - (void)loadPlaybackConfigurationOptionsWithCompletionHandler:(void (^)(NSArray *playbackConfigurationOptions))completionHandler NS_SWIFT_ASYNC_NAME(getter:playbackConfigurationOptions()); @end NS_ASSUME_NONNULL_END #else #import #endif