screenshotDetection
Module Contents
alltypes
Module Contents
class
ScreenshotDetectionDelegate
Module Contents
ScreenshotDetectionDelegate
(
activity
:
Activity
,
listener
:
ScreenshotDetectionListener
)
ScreenshotDetectionDelegate
(
activity
:
Activity
,
onScreenCaptured
:
(
path
:
String
)
->
Unit
,
onScreenCapturedWithDeniedPermission
:
(
)
->
Unit
)
ScreenshotDetectionDelegate
(
activityReference
:
WeakReference
<
Activity
>
,
listener
:
ScreenshotDetectionListener
)
interface
ScreenshotDetectionListener
Module Contents
abstract
fun
onScreenCaptured
(
path
:
String
)
:
Unit
abstract
fun
onScreenCapturedWithDeniedPermission
(
)
:
Unit
@ExperimentalCoroutinesApi
fun
createContentObserverFlow
(
)
:
<ERROR CLASS>
var
job
:
Job
?
@FlowPreview
@ExperimentalCoroutinesApi
fun
startScreenshotDetection
(
)
:
Unit
fun
stopScreenshotDetection
(
)
:
Unit
package
com.akexorcist.screenshotdetection
Module Contents
class
ScreenshotDetectionDelegate
Module Contents
ScreenshotDetectionDelegate
(
activity
:
Activity
,
listener
:
ScreenshotDetectionListener
)
ScreenshotDetectionDelegate
(
activity
:
Activity
,
onScreenCaptured
:
(
path
:
String
)
->
Unit
,
onScreenCapturedWithDeniedPermission
:
(
)
->
Unit
)
ScreenshotDetectionDelegate
(
activityReference
:
WeakReference
<
Activity
>
,
listener
:
ScreenshotDetectionListener
)
interface
ScreenshotDetectionListener
Module Contents
abstract
fun
onScreenCaptured
(
path
:
String
)
:
Unit
abstract
fun
onScreenCapturedWithDeniedPermission
(
)
:
Unit
@ExperimentalCoroutinesApi
fun
createContentObserverFlow
(
)
:
<ERROR CLASS>
var
job
:
Job
?
@FlowPreview
@ExperimentalCoroutinesApi
fun
startScreenshotDetection
(
)
:
Unit
fun
stopScreenshotDetection
(
)
:
Unit