AWSChimeSDKMessagingProcessor
Objective-C
@interface AWSChimeSDKMessagingProcessor
Swift
class AWSChimeSDKMessagingProcessor
The information about a processor in a channel flow.
Required parameters: [Name, Configuration, ExecutionOrder, FallbackAction]
-
The information about the type of processor and its identifier.
Declaration
Objective-C
@property (nonatomic, strong) AWSChimeSDKMessagingProcessorConfiguration *_Nullable configuration;
Swift
var configuration: AWSChimeSDKMessagingProcessorConfiguration? { get set }
-
The sequence in which processors run. If you have multiple processors in a channel flow, message processing goes through each processor in the sequence. The value determines the sequence. At this point, we support only 1 processor within a flow.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable executionOrder;
Swift
var executionOrder: NSNumber? { get set }
-
Determines whether to continue with message processing or stop it in cases where communication with a processor fails. If a processor has a fallback action of
ABORT
and communication with it fails, the processor sets the message status toFAILED
and does not send the message to any recipients. Note that if the last processor in the channel flow sequence has a fallback action ofCONTINUE
and communication with the processor fails, then the message is considered processed and sent to recipients of the channel.Declaration
Objective-C
@property (nonatomic) AWSChimeSDKMessagingFallbackAction fallbackAction;
Swift
var fallbackAction: AWSChimeSDKMessagingFallbackAction { get set }
-
The name of the channel flow.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable name;
Swift
var name: String? { get set }