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.
 
 
 

46 lines
1.3 KiB

//
// SCCaptureConfiguration_Private.h
// Snapchat
//
// Created by Lin Jia on 10/3/17.
//
//
#import "SCCaptureConfiguration_Private.h"
typedef NSNumber SCCaptureConfigurationDirtyKey;
/*
The key values to identify dirty keys in SCCaptureConfiguration.
Dirty key is defined as the key customer changes.
e.g. if customer toggle device position. Dirty keys will have SCCaptureConfigurationKeyDevicePosition.
It is not complete, and it is only a draft now. It
will be gradually tuned while we work on the APIs.
*/
typedef NS_ENUM(NSUInteger, SCCaptureConfigurationKey) {
SCCaptureConfigurationKeyIsRunning,
SCCaptureConfigurationKeyIsNightModeActive,
SCCaptureConfigurationKeyLowLightCondition,
SCCaptureConfigurationKeyDevicePosition,
SCCaptureConfigurationKeyZoomFactor,
SCCaptureConfigurationKeyFlashActive,
SCCaptureConfigurationKeyTorchActive,
SCCaptureConfigurationKeyARSessionActive,
SCCaptureConfigurationKeyLensesActive,
SCCaptureConfigurationKeyVideoRecording,
};
@interface SCCaptureConfiguration (internalMethods)
// Return dirtyKeys, which identify the parameters customer want to set.
- (NSArray *)dirtyKeys;
// Called by SCCaptureConfigurator to seal a configuration, so future changes are ignored.
- (void)seal;
- (BOOL)_configurationSealed;
@end