Learn-iOS-Swift-by-Examples/AVFoundationQueuePlayer/Objective-C/AVFoundationQueuePlayer-iOS/AAPLPlayerViewController.h

33 lines
627 B
Objective-C
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
Copyright (C) 2016 Apple Inc. All Rights Reserved.
See LICENSE.txt for this samples licensing information
Abstract:
View controller containing a player view and basic playback controls.
*/
@import UIKit;
@class AAPLPlayerView;
@interface AAPLPlayerViewController : UIViewController
@property (readonly) AVQueuePlayer *player;
/*
@{
NSURL(asset URL) : @{
NSString(title) : NSString,
NSString(thumbnail) : UIImage
}
}
*/
@property NSMutableDictionary *loadedAssets;
@property CMTime currentTime;
@property (readonly) CMTime duration;
@property float rate;
@end