InlinePresentationSpec.Builder.SetStyle(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 the extras encoding the UI style information.
[Android.Runtime.Register("setStyle", "(Landroid/os/Bundle;)Landroid/widget/inline/InlinePresentationSpec$Builder;", "", ApiSince=30)]
public Android.Widget.Inline.InlinePresentationSpec.Builder SetStyle(Android.OS.Bundle value);
[<Android.Runtime.Register("setStyle", "(Landroid/os/Bundle;)Landroid/widget/inline/InlinePresentationSpec$Builder;", "", ApiSince=30)>]
member this.SetStyle : Android.OS.Bundle -> Android.Widget.Inline.InlinePresentationSpec.Builder
Parameters
- value
- Bundle
The extras encoding the UI style information.
Returns
This builder.
- Attributes
Remarks
The style bundles can be created using the relevant Style classes and their builders in the androidx autofill library, for example androidx.autofill.inline.UiVersions.StylesBuilder.
The style must be set for the suggestion to render properly.
There should be no remote objects in the bundle; remote objects are removed before transmission.
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.