| 1234567891011121314151617181920 |
- // This file is generated and will be overwritten automatically.
- #import <Foundation/Foundation.h>
- NS_SWIFT_NAME(FallbackVersionsObserver)
- @protocol MBNNFallbackVersionsObserver
- /**
- * This callback is raised only if there are not enough tiles of current version.
- * This callback is called to notify that the specified `versions` can be used for switching into Fallback mode.
- * This means there are tiles downloaded (available offline) of the specified `versions` covering current location
- * so MapMatching should work (even offline) after switching to the one of the specified `versions`.
- */
- - (void)onFallbackVersionsFoundForVersions:(nonnull NSArray<NSString *> *)versions;
- /**
- * Notifies a caller that it's OK to switch back to the latest version.
- * In order to use the latest version, it's sufficient to set "" in version configuration
- * @param version the tiles version we were checking against (just for information / logging purposes)
- */
- - (void)onCanReturnToLatestForVersion:(nonnull NSString *)version;
- @end
|