語言

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 的父手勢(如果有的話)。 這需要 SurfaceControlViewHost 是與 Hosted 的 所建立 InputTransferToken。

此會員已被棄用。 請改用 WindowManager#transferTouchGesture(InputTransferToken, InputTransferToken)。

Java 文件 android.view.SurfaceControlViewHost.transferTouchGestureToHost()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於