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)
NSFWContentManagerreportItem in interface NSFWContentManagergfycat - considered as not safe for work.public java.lang.Runnable reportUser(Gfycat gfycat, long undoPossibilityTimeMs)
NSFWContentManagerApplication user will not see any content from Gfycat owner anymore.
reportUser in interface NSFWContentManagergfycat - owner of this Gfycat to be blocked.undoPossibilityTimeMs - undo time in milliseconds.