Langue

InlinePresentation(Slice, InlinePresentationSpec, Boolean) Constructeur

Définition

Crée une nouvelle 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

Paramètres

slice
Slice

Représente le contenu de l’interface utilisateur et l’action de la suggestion inline.

          &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

Spécifie la spécification de l’interface utilisateur pour la suggestion inline.

pinned
Boolean

Indique si l’interface utilisateur doit être épinglée, donc non filtrable et non filtrable, dans l’hôte. Toutefois, elle est éventuellement à l’hôte si l’interface utilisateur est épinglée ou non.

          &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.
Attributs

Remarques

Crée une nouvelle inlinePresentation.

Java documentation pour android.service.autofill.InlinePresentation.InlinePresentation(android.app.slice.Slice, android.widget.inline.InlinePresentationSpec, boolean).

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à