MBNNPollingConfig.h 1.2 KB

1234567891011121314151617181920212223242526272829
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. NS_SWIFT_NAME(PollingConfig)
  4. __attribute__((visibility ("default")))
  5. @interface MBNNPollingConfig : NSObject
  6. // This class provides custom init which should be called
  7. - (nonnull instancetype)init NS_UNAVAILABLE;
  8. // This class provides custom init which should be called
  9. + (nonnull instancetype)new NS_UNAVAILABLE;
  10. - (nonnull instancetype)initWithLookAhead:(nullable NSNumber *)lookAhead
  11. unconditionalPatience:(nullable NSNumber *)unconditionalPatience
  12. unconditionalInterval:(nullable NSNumber *)unconditionalInterval;
  13. /** How much time in seconds we should look ahead in case of `getStatus` polling. Default is 1.0. */
  14. @property (nonatomic, readwrite, nullable) NSNumber *lookAhead;
  15. /** If we didn't receive any new location for `unconditionalStatusPollingPatienceSeconds` seconds we will start poll `getStatus` unconditionally. Default is 2.0. */
  16. @property (nonatomic, readwrite, nullable) NSNumber *unconditionalPatience;
  17. /** Interval of unconditional status polling in seconds. Default is 1.0. */
  18. @property (nonatomic, readwrite, nullable) NSNumber *unconditionalInterval;
  19. @end