screenshotDetection / com.akexorcist.screenshotdetection / ScreenshotDetectionDelegate

ScreenshotDetectionDelegate

class ScreenshotDetectionDelegate

Types

ScreenshotDetectionListener

interface ScreenshotDetectionListener

Constructors

<init>

ScreenshotDetectionDelegate(activity: Activity, listener: ScreenshotDetectionListener)
ScreenshotDetectionDelegate(activity: Activity, onScreenCaptured: (path: String) -> Unit, onScreenCapturedWithDeniedPermission: () -> Unit)
ScreenshotDetectionDelegate(activityReference: WeakReference<Activity>, listener: ScreenshotDetectionListener)

Properties

job

var job: Job?

Functions

createContentObserverFlow

fun createContentObserverFlow(): <ERROR CLASS>

startScreenshotDetection

fun startScreenshotDetection(): Unit

stopScreenshotDetection

fun stopScreenshotDetection(): Unit