MBXLocationServiceFactory.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. @protocol MBXLocationService;
  4. /**
  5. * Location service factory.
  6. *
  7. * This class is used to instantiate a platform-specific implementation
  8. * of location service. In order to set a custom implementation,
  9. * the user must call `setUserDefined()` method before any actual
  10. * location service is requested.
  11. *
  12. */
  13. NS_SWIFT_NAME(LocationServiceFactory)
  14. __attribute__((visibility ("default")))
  15. @interface MBXLocationServiceFactory : NSObject
  16. // This class provides custom init which should be called
  17. - (nonnull instancetype)init NS_UNAVAILABLE;
  18. // This class provides custom init which should be called
  19. + (nonnull instancetype)new NS_UNAVAILABLE;
  20. /**
  21. * Releases the implementation of the Location service.
  22. *
  23. * The strong reference from the factory to a custom Location service implementation will be released. This can be
  24. * used to release the Location service implementation once it is no longer needed. It may otherwise be kept until
  25. * the end of the program.
  26. */
  27. + (void)reset;
  28. @end