AccessibilityNodeInfo.SetSource AccessibilityNodeInfo.SetSource Method

Definition

Overloads

SetSource(View) SetSource(View)

Sets the source.

SetSource(View, Int32) SetSource(View, Int32)

Sets the source to be a virtual descendant of the given root.

SetSource(View) SetSource(View)

Sets the source.

[Android.Runtime.Register("setSource", "(Landroid/view/View;)V", "GetSetSource_Landroid_view_View_Handler")]
public virtual void SetSource (Android.Views.View source);
abstract member SetSource : Android.Views.View -> unit
override this.SetSource : Android.Views.View -> unit

Parameters

source
View View

The info source.

Remarks

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.

SetSource(View, Int32) SetSource(View, Int32)

Sets the source to be a virtual descendant of the given root.

[Android.Runtime.Register("setSource", "(Landroid/view/View;I)V", "GetSetSource_Landroid_view_View_IHandler", ApiSince=16)]
public virtual void SetSource (Android.Views.View root, int virtualDescendantId);
abstract member SetSource : Android.Views.View * int -> unit
override this.SetSource : Android.Views.View * int -> unit

Parameters

root
View View

The root of the virtual subtree.

virtualDescendantId
Int32 Int32

The id of the virtual descendant.

Remarks

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