ARTPushActivationStateMachine
Objective-C
@interface ARTPushActivationStateMachine : NSObject
@property (readonly, nonatomic) ARTPushActivationEvent *lastEvent;
@property (readonly, nonatomic) ARTPushActivationState *current;
@property (readonly, nonatomic) NSArray<ARTPushActivationEvent *> *pendingEvents;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
- (void)sendEvent:(ARTPushActivationEvent *)event;
@end
Swift
class ARTPushActivationStateMachine : NSObject
Undocumented
-
Undocumented
Declaration
Objective-C
@property (readonly, nonatomic) ARTPushActivationEvent *lastEventSwift
var lastEvent: ARTPushActivationEvent { get } -
Undocumented
Declaration
Objective-C
@property (readonly, nonatomic) ARTPushActivationState *currentSwift
var current: ARTPushActivationState { get } -
Undocumented
Declaration
Objective-C
@property (readonly, nonatomic) NSArray<ARTPushActivationEvent *> *pendingEventsSwift
var pendingEvents: [ARTPushActivationEvent] { get } -
Unavailable
Undocumented
Declaration
Objective-C
- (instancetype)init NS_UNAVAILABLE; -
Unavailable
Undocumented
Declaration
Objective-C
+ (instancetype)new NS_UNAVAILABLE; -
Undocumented
Declaration
Objective-C
- (void)sendEvent:(ARTPushActivationEvent *)event;Swift
func send(_ event: ARTPushActivationEvent) -
Undocumented
Declaration
Objective-C
@property (nonatomic) ARTRestInternal *restSwift
var rest: ARTRestInternal { get set } -
Undocumented
Declaration
Objective-C
- (instancetype)initWithRest:(ARTRestInternal *)rest delegate:(id<ARTPushRegistererDelegate, NSObject>)delegate logger:(ARTInternalLog *)logger NS_DESIGNATED_INITIALIZER;Swift
init(rest: ARTRestInternal, delegate: any ARTPushRegistererDelegate & NSObjectProtocol, logger: InternalLog) -
The delegate property should be written to only for internal testing purposes.
Declaration
Objective-C
@property (nonatomic, weak) id<ARTPushRegistererDelegate, NSObject> _Nullable delegate;Swift
weak var delegate: (any ARTPushRegistererDelegate & NSObjectProtocol)? { get set } -
Undocumented
Declaration
Objective-C
@property (nonatomic, copy, nullable) void (^transitionsSwift
var transitions: ((ARTPushActivationEvent, ARTPushActivationState, ARTPushActivationState) -> Void)? { get set } -
Undocumented
Declaration
Objective-C
@property (nonatomic, copy, nullable) void (^onEventSwift
var onEvent: ((ARTPushActivationEvent, ARTPushActivationState) -> Void)? { get set } -
Undocumented
Declaration
Objective-C
@property (readonly, nonatomic) ARTPushActivationEvent *lastEvent_nosyncSwift
var lastEvent_nosync: ARTPushActivationEvent { get } -
Undocumented
Declaration
Objective-C
@property (readonly, nonatomic) ARTPushActivationState *current_nosyncSwift
var current_nosync: ARTPushActivationState { get } -
Undocumented
Declaration
Objective-C
- (void)registerForAPNS;Swift
func registerForAPNS()
-
Undocumented
Declaration
Objective-C
- (void)deviceRegistration:(nullable ARTErrorInfo *)error;Swift
func deviceRegistration(_ error: ARTErrorInfo?) -
Undocumented
Declaration
Objective-C
- (void)syncDevice;Swift
func syncDevice() -
Undocumented
Declaration
Objective-C
- (void)deviceUpdateRegistration:(nullable ARTErrorInfo *)error;Swift
func deviceUpdateRegistration(_ error: ARTErrorInfo?) -
Undocumented
Declaration
Objective-C
- (void)deviceUnregistration:(nullable ARTErrorInfo *)error;Swift
func deviceUnregistration(_ error: ARTErrorInfo?) -
Undocumented
Declaration
Objective-C
- (void)callActivatedCallback:(nullable ARTErrorInfo *)error;Swift
func callActivatedCallback(_ error: ARTErrorInfo?) -
Undocumented
Declaration
Objective-C
- (void)callDeactivatedCallback:(nullable ARTErrorInfo *)error;Swift
func callDeactivatedCallback(_ error: ARTErrorInfo?) -
Undocumented
Declaration
Objective-C
- (void)callUpdatedCallback:(nullable ARTErrorInfo *)error;Swift
func callUpdatedCallback(_ error: ARTErrorInfo?)