2014 snapchat source code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
758 B

  1. //
  2. // SCFeatureHandsFree.h
  3. // SCCamera
  4. //
  5. // Created by Kristian Bauer on 2/26/18.
  6. //
  7. #import "SCFeature.h"
  8. #import <SCCamera/AVCameraViewEnums.h>
  9. @class SCLongPressGestureRecognizer, SCPreviewPresenter;
  10. @protocol SCFeatureHandsFree <SCFeature>
  11. @property (nonatomic, weak) SCPreviewPresenter *previewPresenter;
  12. @property (nonatomic, strong, readonly) SCLongPressGestureRecognizer *longPressGestureRecognizer;
  13. /**
  14. * Whether the feature is enabled or not.
  15. */
  16. @property (nonatomic) BOOL enabled;
  17. - (void)setupRecordLifecycleEventsWithMethod:(SCCameraRecordingMethod)method;
  18. - (BOOL)shouldDisplayMultiSnapTooltip;
  19. /**
  20. * Block called when user cancels hands-free recording via X button.
  21. */
  22. - (void)setCancelBlock:(dispatch_block_t)cancelBlock;
  23. @end