Share via


SurfaceControlViewHost.TransferTouchGestureToHost Method

Definition

Transfer the currently in progress touch gesture to the parent (if any) of this 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

Returns

Whether the touch stream was transferred.

Attributes

Remarks

Transfer the currently in progress touch gesture to the parent (if any) of this SurfaceControlViewHost. This requires that the SurfaceControlViewHost was created with an associated hostInputToken.

Java documentation for android.view.SurfaceControlViewHost.transferTouchGestureToHost().

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