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) -> StringParameters
blockIdThe id of the Block to flag
errorA reference to an error pointer that will be set in the case of an error
Return Value
The hash of the new flag block
View on GitHub
FlagsApi Class Reference