MBMOfflineRegionError

Deprecated


@interface MBMOfflineRegionError : NSObject

Describes an offline request response error.

  • Unavailable

    Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)init NS_UNAVAILABLE;
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    + (nonnull instancetype)new NS_UNAVAILABLE;
  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)initWithType:(MBMOfflineRegionErrorType)type
                                 message:(nonnull NSString *)message
                                 isFatal:(BOOL)isFatal
                              retryAfter:(nullable NSDate *)retryAfter;

    Swift

    init(type: OfflineRegionErrorType, message: String, isFatal: Bool, retryAfter: Date?)
  • An error type.

    Declaration

    Objective-C

    @property (nonatomic, readonly) MBMOfflineRegionErrorType type;

    Swift

    var type: OfflineRegionErrorType { get }
  • An error message

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nonnull) NSString *message;

    Swift

    var message: String { get }
  • A flag indicating that the error is fatal i.e. the region cannot proceed downloading of any resources and it will be put to inactive state.

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL isFatal;

    Swift

    var isFatal: Bool { get }
  • Time after which to try again.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSDate *retryAfter;

    Swift

    var retryAfter: Date? { get }