IScrollCaptureCallback.OnScrollCaptureEnd(IRunnable) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Signals that capture has ended.
[Android.Runtime.Register("onScrollCaptureEnd", "(Ljava/lang/Runnable;)V", "GetOnScrollCaptureEnd_Ljava_lang_Runnable_Handler:Android.Views.IScrollCaptureCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)]
public void OnScrollCaptureEnd (Java.Lang.IRunnable onReady);
[<Android.Runtime.Register("onScrollCaptureEnd", "(Ljava/lang/Runnable;)V", "GetOnScrollCaptureEnd_Ljava_lang_Runnable_Handler:Android.Views.IScrollCaptureCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)>]
abstract member OnScrollCaptureEnd : Java.Lang.IRunnable -> unit
Parameters
- onReady
- IRunnable
a callback to inform the system that the application has completed any cleanup and is ready to become visible
- Attributes
Remarks
Signals that capture has ended. Implementations should release any temporary resources or references to objects in use during the capture. Any resources obtained from the session are now invalid and attempts to use them after this point may throw an exception.
The window should be returned to its original state when capture started. At a minimum, the content should be scrolled to its original position.
Runnable#run onReady.run
should be called as soon as possible after the window is ready for normal interactive use. After the callback (or after a timeout, if not called) the screenshot tool will be dismissed and the window may become visible to the user at any time.
Java documentation for android.view.ScrollCaptureCallback.onScrollCaptureEnd(java.lang.Runnable)
.
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.