Share via


IAttachedSurfaceControl.InputTransferToken Property

Definition

Gets the token used for associating this AttachedSurfaceControl with an embedded SurfaceControlViewHost or SurfaceControl

public virtual Android.Window.InputTransferToken InputTransferToken { [Android.Runtime.Register("getInputTransferToken", "()Landroid/window/InputTransferToken;", "GetGetInputTransferTokenHandler:Android.Views.IAttachedSurfaceControl, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)] get; }
[<get: Android.Runtime.Register("getInputTransferToken", "()Landroid/window/InputTransferToken;", "GetGetInputTransferTokenHandler:Android.Views.IAttachedSurfaceControl, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)>]
member this.InputTransferToken : Android.Window.InputTransferToken

Property Value

The InputTransferToken for the AttachedSurfaceControl

Attributes

Remarks

Gets the token used for associating this AttachedSurfaceControl with an embedded SurfaceControlViewHost or SurfaceControl

This token should be passed to SurfaceControlViewHost#SurfaceControlViewHost(Context, Display, InputTransferToken) or WindowManager#registerBatchedSurfaceControlInputReceiver(int, InputTransferToken, SurfaceControl, Choreographer, SurfaceControlInputReceiver) or WindowManager#registerUnbatchedSurfaceControlInputReceiver(int, InputTransferToken, SurfaceControl, Looper, SurfaceControlInputReceiver)

Java documentation for android.view.AttachedSurfaceControl.getInputTransferToken().

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