1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
#[cfg(feature = "objc2-core-foundation")]
use objc2_core_foundation::*;
use objc2_foundation::*;
use crate::*;
extern "C" {
/// 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().
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/avfoundation/avcoreanimationbegintimeatzero?language=objc)
#[cfg(feature = "objc2-core-foundation")]
pub static AVCoreAnimationBeginTimeAtZero: CFTimeInterval;
}
/// [Apple's documentation](https://developer.apple.com/documentation/avfoundation/avlayervideogravity?language=objc)
// NS_TYPED_ENUM
pub type AVLayerVideoGravity = NSString;
extern "C" {
/// Preserve aspect ratio; fit within layer bounds.
///
/// AVLayerVideoGravityResizeAspect may be used when setting the videoGravity
/// property of an AVPlayerLayer or AVCaptureVideoPreviewLayer instance.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/avfoundation/avlayervideogravityresizeaspect?language=objc)
pub static AVLayerVideoGravityResizeAspect: Option<&'static AVLayerVideoGravity>;
}
extern "C" {
/// Preserve aspect ratio; fill layer bounds.
///
/// AVLayerVideoGravityResizeAspectFill may be used when setting the videoGravity
/// property of an AVPlayerLayer or AVCaptureVideoPreviewLayer instance.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/avfoundation/avlayervideogravityresizeaspectfill?language=objc)
pub static AVLayerVideoGravityResizeAspectFill: Option<&'static AVLayerVideoGravity>;
}
extern "C" {
/// Stretch to fill layer bounds.
///
/// AVLayerVideoGravityResize may be used when setting the videoGravity
/// property of an AVPlayerLayer or AVCaptureVideoPreviewLayer instance.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/avfoundation/avlayervideogravityresize?language=objc)
pub static AVLayerVideoGravityResize: Option<&'static AVLayerVideoGravity>;
}