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.
 
 
 

27 lines
835 B

//
// SCCaptureImageWhileRecordingStateTransitionPayload.m
// Snapchat
//
// Created by Sun Lei on 22/02/2018.
//
#import "SCCaptureImageWhileRecordingStateTransitionPayload.h"
@implementation SCCaptureImageWhileRecordingStateTransitionPayload
- (instancetype)initWithFromState:(SCCaptureStateMachineStateId)fromState
toState:(SCCaptureStateMachineStateId)toState
captureSessionId:(NSString *)captureSessionID
aspectRatio:(CGFloat)aspectRatio
completionHandler:(sc_managed_capturer_capture_still_image_completion_handler_t)block
{
self = [super initWithFromState:fromState toState:toState];
if (self) {
_captureSessionID = captureSessionID;
_aspectRatio = aspectRatio;
_block = block;
}
return self;
}
@end