blob: 32d128ea1b2c3a5ca129825bc8df615a9bdd9e0d (
plain)
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
|
{ Parsed from AVKit.framework AVCaptureView.h }
{ Types from AVCaptureView }
{$ifdef TYPES}
type
AVCaptureViewControlsStyle = NSInteger;
type
AVCaptureViewControlsStylePtr = ^AVCaptureViewControlsStyle;
const
AVCaptureViewControlsStyleInline = 0;
AVCaptureViewControlsStyleFloating = 1;
AVCaptureViewControlsStyleInlineDeviceSelection = 2;
AVCaptureViewControlsStyleDefault = AVCaptureViewControlsStyleInline;
{$endif}
{$ifdef TYPES}
type
AVCaptureViewPtr = ^AVCaptureView;
AVCaptureViewDelegateProtocolPtr = ^AVCaptureViewDelegateProtocol;
{$endif}
{$ifdef CLASSES}
type
AVCaptureView = objcclass external (NSView)
public
function session: AVCaptureSession; message 'session';
procedure setSession_showVideoPreview_showAudioPreview (session_: AVCaptureSession; showVideoPreview: ObjCBOOL; showAudioPreview: ObjCBOOL); message 'setSession:showVideoPreview:showAudioPreview:';
function fileOutput: AVCaptureFileOutput; message 'fileOutput';
procedure setDelegate(newValue: AVCaptureViewDelegateProtocol); message 'setDelegate:';
function delegate: AVCaptureViewDelegateProtocol; message 'delegate';
procedure setControlsStyle(newValue: AVCaptureViewControlsStyle); message 'setControlsStyle:';
function controlsStyle: AVCaptureViewControlsStyle; message 'controlsStyle';
procedure setVideoGravity(newValue: NSString); message 'setVideoGravity:';
function videoGravity: NSString; message 'videoGravity';
end;
{$endif}
{$ifdef PROTOCOLS}
type
AVCaptureViewDelegateProtocol = objcprotocol external name 'AVCaptureViewDelegate' (NSObjectProtocol)
procedure captureView_startRecordingToFileOutput (captureView: AVCaptureView; fileOutput: AVCaptureFileOutput); message 'captureView:startRecordingToFileOutput:';
end;
{$endif}
|