InlinePresentation(Slice, InlinePresentationSpec, Boolean) Konstruktor

Definition

Erstellt eine neue InlinePresentation.

[Android.Runtime.Register(".ctor", "(Landroid/app/slice/Slice;Landroid/widget/inline/InlinePresentationSpec;Z)V", "", ApiSince=30)]
public InlinePresentation(Android.App.Slices.Slice slice, Android.Widget.Inline.InlinePresentationSpec inlinePresentationSpec, bool pinned);
[<Android.Runtime.Register(".ctor", "(Landroid/app/slice/Slice;Landroid/widget/inline/InlinePresentationSpec;Z)V", "", ApiSince=30)>]
new Android.Service.Autofill.InlinePresentation : Android.App.Slices.Slice * Android.Widget.Inline.InlinePresentationSpec * bool -> Android.Service.Autofill.InlinePresentation

Parameter

slice
Slice

Stellt den Ui-Inhalt und die Aktion für den Inlinevorschlag dar.

          &lt;p&gt;The Slice should be constructed using the Content builder provided in the androidx
          autofill library e.g. <code data-dev-comment-type="c">androidx.autofill.inline.v1.InlineSuggestionUi.Content.Builder</code>
          and then converted to a Slice with
          <code data-dev-comment-type="c">androidx.autofill.inline.UiVersions.Content#getSlice()</code>.&lt;/p&gt;
inlinePresentationSpec
InlinePresentationSpec

Gibt die UI-Spezifikation für den Inlinevorschlag an.

pinned
Boolean

Gibt an, ob die Benutzeroberfläche angeheftet werden soll, daher nicht bildlauffähig und nicht filterbar, im Host. Es liegt jedoch letztendlich an dem Host, ob die Benutzeroberfläche angeheftet ist oder nicht.

          &lt;p&gt; Also a <code data-dev-comment-type="c">Dataset</code> with a pinned inline presentation will not be replaced by the
          new data set returned from authentication intent. See
          <code data-dev-comment-type="c">Dataset.Builder#setAuthentication(android.content.IntentSender)</code> for more information.
Attribute

Hinweise

Erstellt eine neue InlinePresentation.

Java Dokumentation für android.service.autofill.InlinePresentation.InlinePresentation(android.app.slice.Slice, android.widget.inline.InlinePresentationSpec, boolean).

Teile dieser Seite sind Änderungen auf der Grundlage von Arbeiten, die von der Android Open Source Project erstellt und gemeinsam verwendet und gemäß den in der 2.5 Attribution License beschriebenen Begriffen verwendet werden.

Gilt für: