Inherits from NSObject
Declared in UAActionArguments.h

Overview

Contains the arguments passed into an action during execution.

Properties

metadata

The argument’s metadata. Metadata provides more information about the environment that the action was triggered from.

@property (nonatomic, copy, readonly, nullable) NSDictionary *metadata

Declared In

UAActionArguments.h

situation

Situation of the action

@property (nonatomic, assign, readonly) UASituation situation

Declared In

UAActionArguments.h

value

The value associated with the action

@property (nonatomic, strong, readonly, nullable) id value

Declared In

UAActionArguments.h

Class Methods

argumentsWithValue:withSituation:

UAActionArguments factory method.

+ (instancetype)argumentsWithValue:(nullable id)value withSituation:(UASituation)situation

Parameters

value

The value associated with the arguments.

situation

The situation of the action.

Declared In

UAActionArguments.h

argumentsWithValue:withSituation:metadata:

UAActionArguments factory method.

+ (instancetype)argumentsWithValue:(nullable id)value withSituation:(UASituation)situation metadata:(nullable NSDictionary *)metadata

Parameters

value

The value associated with the arguments.

situation

The situation of the action.

metadata

for the action - e.g. webview, payload, etc.

Declared In

UAActionArguments.h