MBXConfigurationService_Internal.h 997 B

123456789101112131415161718192021222324
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. #import <MapboxCommon/MBXConfigurationServiceGetConfigCallback_Internal.h>
  4. @class MBXEventsServerOptions;
  5. @protocol MBXConfigurationServiceObserver;
  6. NS_SWIFT_NAME(ConfigurationService)
  7. __attribute__((visibility ("default")))
  8. @interface MBXConfigurationService : NSObject
  9. // This class provides custom init which should be called
  10. - (nonnull instancetype)init NS_UNAVAILABLE;
  11. // This class provides custom init which should be called
  12. + (nonnull instancetype)new NS_UNAVAILABLE;
  13. + (nonnull MBXConfigurationService *)getOrCreateForOptions:(nonnull MBXEventsServerOptions *)options __attribute((ns_returns_retained));
  14. - (void)registerObserverForObserver:(nonnull id<MBXConfigurationServiceObserver>)observer;
  15. - (void)unregisterObserverForObserver:(nonnull id<MBXConfigurationServiceObserver>)observer;
  16. - (void)getConfigForCallback:(nonnull MBXConfigurationServiceGetConfigCallback)callback;
  17. @end