InlinePresentation(Slice, InlinePresentationSpec, Boolean) コンストラクター

定義

新しい 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

パラメーター

slice
Slice

インライン提案の UI コンテンツとアクションを表します。

          &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

インライン候補の UI 仕様を指定します。

pinned
Boolean

UI を固定する必要があるかどうかを示します。そのため、ホスト内でスクロール不可およびフィルター処理不可です。 ただし、UI がピン留めされているかどうかは、最終的にはホスト次第です。

          &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.
属性

注釈

新しい InlinePresentation を作成します。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象