ARTDeviceIdentityTokenDetails
Objective-C
@interface ARTDeviceIdentityTokenDetails : NSObject <NSSecureCoding>
Swift
class ARTDeviceIdentityTokenDetails : NSObject, NSSecureCoding
An object representing a unique device identity token used to communicate with APNS.
-
Token string.
Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull token;Swift
var token: String { get } -
Contains the time the token was issued in milliseconds.
Declaration
Objective-C
@property (nonatomic, readonly) NSDate *_Nonnull issued;Swift
var issued: Date { get } -
Contains the expiry time in milliseconds.
Declaration
Objective-C
@property (nonatomic, readonly) NSDate *_Nonnull expires;Swift
var expires: Date { get } -
Contains the capability JSON stringified.
Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull capability;Swift
var capability: String { get } -
Contains the clientId assigned to the token if provided.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *clientId;Swift
var clientId: String? { get }