次の方法で共有


IScrollCaptureCallback.OnScrollCaptureStart Method

Definition

Scroll Capture has selected this callback to provide the scrolling image content.

[Android.Runtime.Register("onScrollCaptureStart", "(Landroid/view/ScrollCaptureSession;Landroid/os/CancellationSignal;Ljava/lang/Runnable;)V", "GetOnScrollCaptureStart_Landroid_view_ScrollCaptureSession_Landroid_os_CancellationSignal_Ljava_lang_Runnable_Handler:Android.Views.IScrollCaptureCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)]
public void OnScrollCaptureStart (Android.Views.ScrollCaptureSession session, Android.OS.CancellationSignal signal, Java.Lang.IRunnable onReady);
[<Android.Runtime.Register("onScrollCaptureStart", "(Landroid/view/ScrollCaptureSession;Landroid/os/CancellationSignal;Ljava/lang/Runnable;)V", "GetOnScrollCaptureStart_Landroid_view_ScrollCaptureSession_Landroid_os_CancellationSignal_Ljava_lang_Runnable_Handler:Android.Views.IScrollCaptureCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)>]
abstract member OnScrollCaptureStart : Android.Views.ScrollCaptureSession * Android.OS.CancellationSignal * Java.Lang.IRunnable -> unit

Parameters

session
ScrollCaptureSession

the current session, resources provided by it are valid for use until the #onScrollCaptureEnd(Runnable) session ends

signal
CancellationSignal

signal to cancel the operation in progress

onReady
IRunnable

signal used to report completion of the request

Attributes

Remarks

Scroll Capture has selected this callback to provide the scrolling image content.

Runnable#run onReady.run should be called when ready to begin handling image requests.

This request may be cancelled via the provided CancellationSignal. When this happens, any future call to Runnable#run onReady.run will have no effect and provided session will not be activated.

Java documentation for android.view.ScrollCaptureCallback.onScrollCaptureStart(android.view.ScrollCaptureSession, android.os.CancellationSignal, 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.

Applies to