blob: a24f1512358ba57b6442fc408f8720c66aa96d86 (
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
{ Parsed from AVKit.framework AVPlayerView.h }
{ Types from AVPlayerView }
{$ifdef TYPES}
type
AVPlayerViewControlsStyle = NSInteger;
type
AVPlayerViewControlsStylePtr = ^AVPlayerViewControlsStyle;
const
AVPlayerViewControlsStyleNone = 0;
AVPlayerViewControlsStyleInline = 1;
AVPlayerViewControlsStyleFloating = 2;
AVPlayerViewControlsStyleMinimal = 3;
AVPlayerViewControlsStyleDefault = AVPlayerViewControlsStyleInline;
{$endif}
{ Types from AVPlayerViewTrimming }
{$ifdef TYPES}
type
AVPlayerViewTrimResult = NSInteger;
type
AVPlayerViewTrimResultPtr = ^AVPlayerViewTrimResult;
const
AVPlayerViewTrimOKButton = 0;
AVPlayerViewTrimCancelButton = 1;
{$endif}
{$ifdef TYPES}
type
AVPlayerViewPtr = ^AVPlayerView;
{$endif}
{$ifdef CLASSES}
type
AVPlayerView = objcclass external (NSView)
public
procedure setPlayer(newValue: AVPlayer); message 'setPlayer:';
function player: AVPlayer; message 'player';
procedure setControlsStyle(newValue: AVPlayerViewControlsStyle); message 'setControlsStyle:';
function controlsStyle: AVPlayerViewControlsStyle; message 'controlsStyle';
procedure setVideoGravity(newValue: NSString); message 'setVideoGravity:';
function videoGravity: NSString; message 'videoGravity';
function isReadyForDisplay: ObjCBOOL; message 'isReadyForDisplay';
function videoBounds: NSRect; message 'videoBounds';
function contentOverlayView: NSView; message 'contentOverlayView';
end;
type
AVPlayerViewCustomization = objccategory external (AVPlayerView)
procedure setShowsFrameSteppingButtons(newValue: ObjCBOOL); message 'setShowsFrameSteppingButtons:';
function showsFrameSteppingButtons: ObjCBOOL; message 'showsFrameSteppingButtons';
procedure setShowsSharingServiceButton(newValue: ObjCBOOL); message 'setShowsSharingServiceButton:';
function showsSharingServiceButton: ObjCBOOL; message 'showsSharingServiceButton';
procedure setActionPopUpButtonMenu(newValue: NSMenu); message 'setActionPopUpButtonMenu:';
function actionPopUpButtonMenu: NSMenu; message 'actionPopUpButtonMenu';
procedure setShowsFullScreenToggleButton(newValue: ObjCBOOL); message 'setShowsFullScreenToggleButton:';
function showsFullScreenToggleButton: ObjCBOOL; message 'showsFullScreenToggleButton';
end;
type
AVPlayerViewTrimming = objccategory external (AVPlayerView)
function canBeginTrimming: ObjCBOOL; message 'canBeginTrimming';
procedure beginTrimmingWithCompletionHandler (handler: OpaqueCBlock); message 'beginTrimmingWithCompletionHandler:';
end;
type
AVPlayerViewChapterIndicator = objccategory external (AVPlayerView)
procedure flashChapterNumber_chapterTitle (chapterNumber: NSUInteger; chapterTitle: NSString); message 'flashChapterNumber:chapterTitle:';
end;
{$endif}
|