public class NSFWContentManagerAsyncWrapper extends java.lang.Object implements NSFWContentManager
Constructor and Description |
---|
NSFWContentManagerAsyncWrapper() |
Modifier and Type | Method and Description |
---|---|
void |
init(NSFWContentManager nsfwContentManager) |
java.lang.Runnable |
reportItem(Gfycat gfycat)
Report gfycat as not safe for work.
|
java.lang.Runnable |
reportUser(Gfycat gfycat,
long undoPossibilityTimeMs)
Report owner of gfycat.
|
public void init(NSFWContentManager nsfwContentManager)
public java.lang.Runnable reportItem(Gfycat gfycat)
NSFWContentManager
reportItem
in interface NSFWContentManager
gfycat
- considered as not safe for work.public java.lang.Runnable reportUser(Gfycat gfycat, long undoPossibilityTimeMs)
NSFWContentManager
Application user will not see any content from Gfycat owner anymore.
reportUser
in interface NSFWContentManager
gfycat
- owner of this Gfycat to be blocked.undoPossibilityTimeMs
- undo time in milliseconds.