// // CXAction.h // CallKit // // Copyright © 2016 Apple. All rights reserved. // #import #import NS_ASSUME_NONNULL_BEGIN CX_EXTERN API_AVAILABLE(ios(10.0), macCatalyst(13.0), watchos(9.0)) API_UNAVAILABLE(macos, tvos) @interface CXAction : NSObject /// Unique ID @property (nonatomic, readonly, copy) NSUUID *UUID; /// Whether all actions are either fulfilled or failed @property (nonatomic, readonly, assign, getter=isComplete) BOOL complete; @property (nonatomic, readonly, strong) NSDate *timeoutDate; - (instancetype)init NS_DESIGNATED_INITIALIZER; - (nullable instancetype)initWithCoder:(NSCoder *)aDecoder NS_DESIGNATED_INITIALIZER; /// Report successful execution of the receiver. - (void)fulfill; /// Report failed execution of the receiver. - (void)fail; @end NS_ASSUME_NONNULL_END