ARTDevicePushDetails

Objective-C

@interface ARTDevicePushDetails : NSObject

Swift

class ARTDevicePushDetails : NSObject

Contains the details of the push registration of a device.

  • A JSON object of key-value pairs that contains of the push transport and address.

    Declaration

    Objective-C

    @property (nonatomic) NSMutableDictionary<NSString *, NSObject *> *_Nonnull recipient;

    Swift

    var recipient: NSMutableDictionary { get set }
  • The current state of the push registration.

    Declaration

    Objective-C

    @property (nonatomic, nullable) NSString *state;

    Swift

    var state: String? { get set }
  • An ARTErrorInfo object describing the most recent error when the state is Failing or Failed.

    Declaration

    Objective-C

    @property (nonatomic, nullable) ARTErrorInfo *errorReason;

    Swift

    var errorReason: ARTErrorInfo? { get set }