Added in API level 34
Activity.ScreenCaptureCallback
public
static
interface
Activity.ScreenCaptureCallback
android.app.Activity.ScreenCaptureCallback |
Interface for observing screen captures of an Activity
.
Summary
Public methods | |
---|---|
abstract
void
|
onScreenCaptured()
Called when one of the monitored activities is captured. |
Public methods
onScreenCaptured
Added in API level 34
public abstract void onScreenCaptured ()
Called when one of the monitored activities is captured.
This is not invoked if the activity window
has WindowManager.LayoutParams.FLAG_SECURE
set.