Conforms: NSCoding
Extends: NSObject
Declared in: VPNUAccountStatus.h
@property (copy, readonly) NSString *city;
City.
@property (nonatomic, readonly, assign) CLLocationCoordinate2D coordinates;
A structure that contains a user's geographical coordinate.
@property (copy, readonly) NSString *country;
Country.
@property (strong, readonly) NSDate *creationDate;
A date on which the account was created.
@property (copy, readonly) NSString *currentRegion;
User's current VPN region.
@property (assign, readonly) VPNUProtocol defaultProtocol;
Default protocol based on contents of `preferredProtocols` field.
@property (assign, readonly) BOOL show32bitVersion DEPRECATED_ATTRIBUTE;
Try show 32-bit version per as it appears in system.
@property (strong, readonly) NSArray *preferedProtocols DEPRECATED_ATTRIBUTE;
@property (strong, readonly) NSArray *preferedProtocols DEPRECATED_ATTRIBUTE;
@property (strong, readonly) NSArray *prefferedProtocol DEPRECATED_ATTRIBUTE;
@property (strong, readonly) NSArray *prefferedProtocol DEPRECATED_ATTRIBUTE;
@property (assign, readonly, getter=isExpired) BOOL expired;
A boolean value which indicates if the account is expired.
@property (strong, readonly) NSDate *expiredDate;
A date of current account expiration.
@property (copy, readonly) NSString *flagHDURI;
URL of country's flag bigger image.
@property (copy, readonly) NSString *flagURI;
URL of country's flag image.
@property (copy, readonly) NSString *flatFlagURI;
URL of country's flat flag image.
@property (assign, readonly, getter=isLifetime) BOOL lifetime;
A boolean value which indicates if account has lifetime subscription.
@property (strong, readonly) NSArray *preferredProtocols;
Array of strings describing user's preferred VPN protocols.
@property (copy, readonly) NSString *realIP;
returns real IP address even if connected to VPN.
@property (assign, readonly) long long secondsLeft;
Number of seconds left till account expiration.
@property (copy, readonly) NSString *serverIP;
Returns current IP address.
@property (copy, readonly) NSString *timeLeftString;
A human-readable string which describes the time left till account expiration.
@property (assign, readonly) long long trafficUsed;
Total traffic for account (in bytes).
@property (assign, readonly) BOOL tryPersonalServer;
Try personal server per as it appears in system.
@property (assign, readonly, getter=isVpnActive) BOOL vpnActive;
A boolean value which indicates if VPN connection is active.
@property (copy, readonly) NSString *vpnUsername;
User's name as it appears in system.