Activity.IScreenCaptureCallback.OnScreenCaptured Method

Definition

Called when one of the monitored activities is captured.

[Android.Runtime.Register("onScreenCaptured", "()V", "GetOnScreenCapturedHandler:Android.App.Activity/IScreenCaptureCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)]
public void OnScreenCaptured ();
[<Android.Runtime.Register("onScreenCaptured", "()V", "GetOnScreenCapturedHandler:Android.App.Activity/IScreenCaptureCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)>]
abstract member OnScreenCaptured : unit -> unit
Attributes

Remarks

Called when one of the monitored activities is captured. This is not invoked if the activity window has WindowManager.LayoutParams#FLAG_SECURE set.

Java documentation for android.app.Activity.ScreenCaptureCallback.onScreenCaptured().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to