EkoUserFlagger
@interface EkoUserFlagger : NSObject
A editor encapsulates methods for managing messages
-
Flags user, this is reported to the admin panel for the moderators to see
Declaration
Objective-C
- (void)flagWithCompletion:(EkoRequestCompletion _Nullable)completion;
Swift
func flag(completion: EkoRequestCompletion? = nil)
-
Unflags the user
Declaration
Objective-C
- (void)unflagWithCompletion:(EkoRequestCompletion _Nullable)completion;
Swift
func unflag(completion: EkoRequestCompletion? = nil)
-
The callback returns whether the logged-in user has flagged this user
Declaration
Objective-C
- (void)isFlagByMeWithCompletion:(void (^_Nonnull)(BOOL))completion;
Swift
func isFlagByMe(completion: @escaping (Bool) -> Void)
-
Unavailable
Block call of
init
andnew
because this object cannot be created directlyDeclaration
Objective-C
- (nonnull instancetype)init;