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.
41 lines
1.4 KiB
41 lines
1.4 KiB
//
|
|
// SCCaptureRecordingStateTransitionPayload.h
|
|
// Snapchat
|
|
//
|
|
// Created by Jingtian Yang on 12/01/2018.
|
|
//
|
|
|
|
#import "SCCaptureCommon.h"
|
|
#import "SCManagedVideoCapturerOutputSettings.h"
|
|
#import "SCStateTransitionPayload.h"
|
|
|
|
#import <SCAudio/SCAudioConfiguration.h>
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@interface SCCaptureRecordingStateTransitionPayload : SCStateTransitionPayload
|
|
|
|
@property (nonatomic, readonly, strong) SCManagedVideoCapturerOutputSettings *outputSettings;
|
|
|
|
@property (nonatomic, readonly, strong) SCAudioConfiguration *configuration;
|
|
|
|
@property (nonatomic, readonly, assign) NSTimeInterval maxDuration;
|
|
|
|
@property (nonatomic, readonly, strong) NSURL *fileURL;
|
|
|
|
@property (nonatomic, readonly, strong) NSString *captureSessionID;
|
|
|
|
@property (nonatomic, readonly, copy) sc_managed_capturer_start_recording_completion_handler_t block;
|
|
|
|
SC_INIT_AND_NEW_UNAVAILABLE
|
|
|
|
- (instancetype)initWithFromState:(SCCaptureStateMachineStateId)fromState
|
|
toState:(SCCaptureStateMachineStateId)toState
|
|
outputSettings:(SCManagedVideoCapturerOutputSettings *)outputSettings
|
|
audioConfiguration:(SCAudioConfiguration *)configuration
|
|
maxDuration:(NSTimeInterval)maxDuration
|
|
fileURL:(NSURL *)fileURL
|
|
captureSessionID:(NSString *)captureSessionID
|
|
completionHandler:(sc_managed_capturer_start_recording_completion_handler_t)block;
|
|
|
|
@end
|