RGLLicense

Objective-C


@interface RGLLicense : NSObject

Swift

class License : NSObject

Interface contains properties to get the information about the license

  • Allows you to get an expiration date of your license.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSDate *expiryDate;

    Swift

    var expiryDate: Date? { get }
  • Allows you to get a list of country identifiers which are defined for processing in the license. If the array is empty, there are no restrictions for processing.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSArray<NSString *> *countryFilter;

    Swift

    var countryFilter: [String]? { get }
  • Allows you to verify that RFID chip reading capabilities are added to your license

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readonly,
              getter=isRfidAvailable) BOOL rfidAvailable;

    Swift

    var isRfidAvailable: Bool { get }
  • Undocumented

    Declaration

    Objective-C

    - (instancetype _Nonnull)initWithJSON:(NSDictionary *_Nonnull)json;

    Swift

    init(json: [AnyHashable : Any])
  • Undocumented

    Declaration

    Objective-C

    + (instancetype _Nonnull)initWithJSON:(NSDictionary *_Nonnull)json;

    Swift

    class func initWithJSON(_ json: [AnyHashable : Any]) -> Self