#if !__has_include() /* File: AVAnimation.h Framework: AVFoundation Copyright 2010-2017 Apple Inc. All rights reserved. */ #import #import #import /*! @constant AVCoreAnimationBeginTimeAtZero @discussion Use this constant to set the CoreAnimation's animation beginTime property to be time 0. The constant is a small, non-zero, positive value which avoids CoreAnimation from replacing 0.0 with CACurrentMediaTime(). */ AVF_EXPORT const CFTimeInterval AVCoreAnimationBeginTimeAtZero API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0)) API_UNAVAILABLE(watchos); typedef NSString * AVLayerVideoGravity NS_STRING_ENUM; /*! @constant AVLayerVideoGravityResizeAspect @abstract Preserve aspect ratio; fit within layer bounds. @discussion AVLayerVideoGravityResizeAspect may be used when setting the videoGravity property of an AVPlayerLayer or AVCaptureVideoPreviewLayer instance. */ AVF_EXPORT AVLayerVideoGravity const AVLayerVideoGravityResizeAspect API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0)) API_UNAVAILABLE(watchos); /*! @constant AVLayerVideoGravityResizeAspectFill @abstract Preserve aspect ratio; fill layer bounds. @discussion AVLayerVideoGravityResizeAspectFill may be used when setting the videoGravity property of an AVPlayerLayer or AVCaptureVideoPreviewLayer instance. */ AVF_EXPORT AVLayerVideoGravity const AVLayerVideoGravityResizeAspectFill API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0)) API_UNAVAILABLE(watchos); /*! @constant AVLayerVideoGravityResize @abstract Stretch to fill layer bounds. @discussion AVLayerVideoGravityResize may be used when setting the videoGravity property of an AVPlayerLayer or AVCaptureVideoPreviewLayer instance. */ AVF_EXPORT AVLayerVideoGravity const AVLayerVideoGravityResize API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0)) API_UNAVAILABLE(watchos); #else #import #endif