TextClassifierEvent.Builder.SetExtras(Bundle) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets a bundle containing non-structured extra information about the event.
[Android.Runtime.Register("setExtras", "(Landroid/os/Bundle;)Landroid/view/textclassifier/TextClassifierEvent$Builder;", "GetSetExtras_Landroid_os_Bundle_Handler", ApiSince=29)]
public virtual Java.Lang.Object SetExtras(Android.OS.Bundle extras);
[<Android.Runtime.Register("setExtras", "(Landroid/os/Bundle;)Landroid/view/textclassifier/TextClassifierEvent$Builder;", "GetSetExtras_Landroid_os_Bundle_Handler", ApiSince=29)>]
abstract member SetExtras : Android.OS.Bundle -> Java.Lang.Object
override this.SetExtras : Android.OS.Bundle -> Java.Lang.Object
Parameters
- extras
- Bundle
Bundle: This value cannot be null.
Returns
This value cannot be null.
- Attributes
Remarks
Sets a bundle containing non-structured extra information about the event. NOTE: Prefer to set only immutable values on the bundle otherwise, avoid updating the internals of this bundle as it may have unexpected consequences on the clients of the built event object. For similar reasons, avoid depending on mutable objects in this bundle.
Android reference for android.view.textclassifier.TextClassifierEvent.Builder.setExtras.
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.