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
751 B

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