KZVideoViewController.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //
  2. // KZVideoViewController.h
  3. // KZWeChatSmallVideo_OC
  4. //
  5. // Created by HouKangzhu on 16/7/18.
  6. // Copyright © 2016年 侯康柱. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "KZVideoConfig.h"
  10. @protocol KZVideoViewControllerDelegate;
  11. // 主类 更多自定义..修改KZVideoConfig.h里面的define
  12. @interface KZVideoViewController : NSObject
  13. @property (nonatomic, strong, readonly) UIView *view;
  14. @property (nonatomic, strong, readonly) UIView *actionView;
  15. //保存到相册
  16. @property (nonatomic, assign) BOOL savePhotoAlbum;
  17. @property (nonatomic, assign) id<KZVideoViewControllerDelegate> delegate;
  18. - (void)startAnimationWithType:(KZVideoViewShowType)showType selectExist:(BOOL)selectExist;
  19. //- (void)endAniamtion;
  20. @end
  21. @protocol KZVideoViewControllerDelegate <NSObject>
  22. @required
  23. - (void)videoViewController:(KZVideoViewController *)videoController didCaptureImage:(UIImage *)image;
  24. - (void)videoViewController:(KZVideoViewController *)videoController didRecordVideo:(KZVideoModel *)videoModel;
  25. @optional
  26. - (void)videoViewControllerDidCancel:(KZVideoViewController *)videoController;
  27. @end