FlagsApi
@interface FlagsApi : NodeDependant
Provides access to Textile flags related APIs
-
Flag any data by block
Declaration
Objective-C
- (nonnull NSString *)add:(nonnull NSString *)blockId error:(NSError *_Nullable *_Nullable)error;
Swift
func add(_ blockId: String, error: NSErrorPointer) -> String
Parameters
blockId
The id of the Block to flag
error
A reference to an error pointer that will be set in the case of an error
Return Value
The hash of the new flag block