次の方法で共有


View.OnProvideVirtualStructure(ViewStructure) Method

Definition

Called when assist structure is being retrieved from a view as part of android.app.Activity#onProvideAssistData Activity.onProvideAssistData to generate additional virtual structure under this view.

[Android.Runtime.Register("onProvideVirtualStructure", "(Landroid/view/ViewStructure;)V", "GetOnProvideVirtualStructure_Landroid_view_ViewStructure_Handler", ApiSince=23)]
public virtual void OnProvideVirtualStructure (Android.Views.ViewStructure? structure);
[<Android.Runtime.Register("onProvideVirtualStructure", "(Landroid/view/ViewStructure;)V", "GetOnProvideVirtualStructure_Landroid_view_ViewStructure_Handler", ApiSince=23)>]
abstract member OnProvideVirtualStructure : Android.Views.ViewStructure -> unit
override this.OnProvideVirtualStructure : Android.Views.ViewStructure -> unit

Parameters

structure
ViewStructure
Attributes

Remarks

Called when assist structure is being retrieved from a view as part of android.app.Activity#onProvideAssistData Activity.onProvideAssistData to generate additional virtual structure under this view. The default implementation uses #getAccessibilityNodeProvider() to try to generate this from the view's virtual accessibility nodes, if any. You can override this for a more optimal implementation providing this data.

Java documentation for android.view.View.onProvideVirtualStructure(android.view.ViewStructure).

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