1
0
This repository has been archived on 2025-03-31. You can view files and clone it, but cannot push or open issues or pull requests.
2018-08-08 02:23:44 +03:00

28 lines
751 B
Objective-C

//
// SCCaptureConfigurationAnnouncer.h
// Snapchat
//
// Created by Lin Jia on 10/2/17.
//
//
#import "SCCaptureConfigurationListener.h"
#import <Foundation/Foundation.h>
/*
All APIs are thread safe. Announcer will not retain your object. So even if customer forgets to call remove listener,
it will not create zombie objects.
*/
@interface SCCaptureConfigurationAnnouncer : NSObject
/*
When customer adds an object to be a listener, that object will receive an update of current truth. That is the chance
for the object to do adjustment according to the current configuration of the camera.
*/
- (void)addListener:(id<SCCaptureConfigurationListener>)listener;
- (void)removeListener:(id<SCCaptureConfigurationListener>)listener;
@end