MBDocumentExpirationCheckResult

@protocol MBDocumentExpirationCheckResult

@required

/**
 * Checks whether the document has expired or not by comparing the current
 * time on the device with the date of expiry.
 *
 * @return YES if the document has expired, NO in following cases:
 * document does not expire (date of expiry is permanent)
 * date of expiry has passed
 * date of expiry is unknown and it is not permanent
*/
@property (nonatomic, readonly) BOOL expired NS_SWIFT_NAME(isExpired);

@end

Undocumented

  • Checks whether the document has expired or not by comparing the current time on the device with the date of expiry.

    Declaration

    Objective-C

    @required
    @property (nonatomic, readonly) BOOL expired;

    Swift

    var expired: Int32 { get }

    Return Value

    YES if the document has expired, NO in following cases: document does not expire (date of expiry is permanent) date of expiry has passed date of expiry is unknown and it is not permanent