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
29 lines
917 B
//
|
|
// SCCaptureImageStateTransitionPayload.h
|
|
// Snapchat
|
|
//
|
|
// Created by Lin Jia on 1/9/18.
|
|
//
|
|
|
|
#import "SCCaptureCommon.h"
|
|
#import "SCStateTransitionPayload.h"
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@interface SCCaptureImageStateTransitionPayload : SCStateTransitionPayload
|
|
|
|
@property (nonatomic, readonly, strong) NSString *captureSessionID;
|
|
|
|
@property (nonatomic, readonly, copy) sc_managed_capturer_capture_still_image_completion_handler_t block;
|
|
|
|
@property (nonatomic, readonly, assign) CGFloat aspectRatio;
|
|
|
|
SC_INIT_AND_NEW_UNAVAILABLE
|
|
|
|
- (instancetype)initWithFromState:(SCCaptureStateMachineStateId)fromState
|
|
toState:(SCCaptureStateMachineStateId)toState
|
|
captureSessionId:(NSString *)captureSessionID
|
|
aspectRatio:(CGFloat)aspectRatio
|
|
completionHandler:(sc_managed_capturer_capture_still_image_completion_handler_t)block;
|
|
|
|
@end
|