SurfaceControlViewHost.TransferTouchGestureToHost 方法

定义

将当前正在进行的触摸手势转移到此 SurfaceControlViewHost 的父级(如果有)。

[Android.Runtime.Register("transferTouchGestureToHost", "()Z", "GetTransferTouchGestureToHostHandler", ApiSince=34)]
public virtual bool TransferTouchGestureToHost ();
[<Android.Runtime.Register("transferTouchGestureToHost", "()Z", "GetTransferTouchGestureToHostHandler", ApiSince=34)>]
abstract member TransferTouchGestureToHost : unit -> bool
override this.TransferTouchGestureToHost : unit -> bool

返回

是否传输了触摸流。

属性

注解

将当前正在进行的触摸手势转移到此 SurfaceControlViewHost 的父级(如果有)。 这要求使用关联的 hostInputToken 创建 SurfaceControlViewHost。

适用于 . 的 android.view.SurfaceControlViewHost.transferTouchGestureToHost()Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于