Share via


AccessibilityRequestPreparer.OnPrepareExtraData Method

Definition

Callback to allow preparation for filling extra data.

[Android.Runtime.Register("onPrepareExtraData", "(ILjava/lang/String;Landroid/os/Bundle;Landroid/os/Message;)V", "GetOnPrepareExtraData_ILjava_lang_String_Landroid_os_Bundle_Landroid_os_Message_Handler", ApiSince=27)]
public abstract void OnPrepareExtraData (int virtualViewId, string? extraDataKey, Android.OS.Bundle? args, Android.OS.Message? preparationFinishedMessage);
[<Android.Runtime.Register("onPrepareExtraData", "(ILjava/lang/String;Landroid/os/Bundle;Landroid/os/Message;)V", "GetOnPrepareExtraData_ILjava_lang_String_Landroid_os_Bundle_Landroid_os_Message_Handler", ApiSince=27)>]
abstract member OnPrepareExtraData : int * string * Android.OS.Bundle * Android.OS.Message -> unit

Parameters

virtualViewId
Int32

The ID of a virtual child node, if the View for this preparer supports virtual descendents, or AccessibilityNodeProvider#HOST_VIEW_ID if the request is for the view itself.

extraDataKey
String

The extra data key for the request

args
Bundle

The arguments for the request

preparationFinishedMessage
Message

A message that must be sent to its target when preparations are complete.

Attributes

Remarks

Callback to allow preparation for filling extra data. Only called back if REQUEST_TYPE_EXTRA_DATA is requested.

Java documentation for android.view.accessibility.AccessibilityRequestPreparer.onPrepareExtraData(int, java.lang.String, android.os.Bundle, android.os.Message).

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