FIRTransactionOptions
@interface FIRTransactionOptions : NSObject <NSCopying>Options to customize the behavior of Firestore.runTransactionWithOptions().
-
Creates and returns a new
TransactionOptionsobject with all properties initialized to their default values.Declaration
Objective-C
- (nonnull instancetype)init;Return Value
The created
TransactionOptionsobject. -
The maximum number of attempts to commit, after which transaction fails. Default is 5.
Declaration
Objective-C
@property (nonatomic) NSInteger maxAttempts;