Gallery.OnFling(MotionEvent, MotionEvent, Single, Single) 메서드

정의

주의

deprecated

초기가 다운 MotionEvent 되고 일치하는 경우 fling 이벤트가 발생하면 알림을 받습니다 MotionEvent.

[Android.Runtime.Register("onFling", "(Landroid/view/MotionEvent;Landroid/view/MotionEvent;FF)Z", "GetOnFling_Landroid_view_MotionEvent_Landroid_view_MotionEvent_FFHandler")]
[System.Obsolete("deprecated")]
public virtual bool OnFling(Android.Views.MotionEvent? e1, Android.Views.MotionEvent? e2, float velocityX, float velocityY);
[<Android.Runtime.Register("onFling", "(Landroid/view/MotionEvent;Landroid/view/MotionEvent;FF)Z", "GetOnFling_Landroid_view_MotionEvent_Landroid_view_MotionEvent_FFHandler")>]
[<System.Obsolete("deprecated")>]
abstract member OnFling : Android.Views.MotionEvent * Android.Views.MotionEvent * single * single -> bool
override this.OnFling : Android.Views.MotionEvent * Android.Views.MotionEvent * single * single -> bool

매개 변수

e1
MotionEvent

날뛰기를 시작한 첫 번째 다운 모션 이벤트입니다.

e2
MotionEvent

현재 onFling을 트리거한 이동 동작 이벤트입니다.

velocityX
Single

이 날뛰기의 속도는 x축을 따라 초당 픽셀 단위로 측정됩니다.

velocityY
Single

이 날뛰기의 속도는 y 축을 따라 초당 픽셀 단위로 측정됩니다.

반품

true날뛰기를 사용한 경우; 그렇지 않으면 . false

구현

특성

설명

이 페이지의 일부는 만들고 공유한 작업을 기반으로 하며 에 설명된 조건에 따라 사용됩니다.

적용 대상