25 lines
512 B
Objective-C
25 lines
512 B
Objective-C
//
|
|
// VROVideoDelegate.h
|
|
// ViroRenderer
|
|
//
|
|
// Created by Andy Chu on 10/7/16.
|
|
// Copyright © 2016 Viro Media. All rights reserved.
|
|
//
|
|
|
|
#ifndef VROVideoDelegate_h
|
|
#define VROVideoDelegate_h
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@protocol VROVideoDelegate <NSObject>
|
|
|
|
- (void)videoWillBuffer;
|
|
- (void)videoDidBuffer;
|
|
- (void)videoDidFinish;
|
|
- (void)videoDidUpdateTime:(float)currentTimeInSeconds totalTimeInSeconds:(float)seconds;
|
|
- (void)videoDidFail:(NSString *)error;
|
|
|
|
@end
|
|
|
|
#endif /* VROVideoDelegate_h */
|