react-native-video/RCTVideo.h

14 lines
367 B
C
Raw Normal View History

#import "RCTView.h"
2015-12-22 16:39:04 -07:00
#import <AVFoundation/AVFoundation.h>
#import "AVKit/AVKit.h"
@class RCTEventDispatcher;
2015-03-30 23:07:55 -06:00
@interface RCTVideo : UIView
- (instancetype)initWithEventDispatcher:(RCTEventDispatcher *)eventDispatcher NS_DESIGNATED_INITIALIZER;
2015-12-22 16:39:04 -07:00
- (AVPlayerViewController*)createPlayerViewController:(AVPlayer*)player withPlayerItem:(AVPlayerItem*)playerItem;
2015-03-30 23:07:55 -06:00
@end