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.

29 lines
917 B

  1. //
  2. // SCCaptureImageStateTransitionPayload.h
  3. // Snapchat
  4. //
  5. // Created by Lin Jia on 1/9/18.
  6. //
  7. #import "SCCaptureCommon.h"
  8. #import "SCStateTransitionPayload.h"
  9. #import <Foundation/Foundation.h>
  10. @interface SCCaptureImageStateTransitionPayload : SCStateTransitionPayload
  11. @property (nonatomic, readonly, strong) NSString *captureSessionID;
  12. @property (nonatomic, readonly, copy) sc_managed_capturer_capture_still_image_completion_handler_t block;
  13. @property (nonatomic, readonly, assign) CGFloat aspectRatio;
  14. SC_INIT_AND_NEW_UNAVAILABLE
  15. - (instancetype)initWithFromState:(SCCaptureStateMachineStateId)fromState
  16. toState:(SCCaptureStateMachineStateId)toState
  17. captureSessionId:(NSString *)captureSessionID
  18. aspectRatio:(CGFloat)aspectRatio
  19. completionHandler:(sc_managed_capturer_capture_still_image_completion_handler_t)block;
  20. @end