InlinePresentation(Slice, InlinePresentationSpec, Boolean) コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
新しい 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 コンテンツとアクションを表します。
<p>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>.</p>
- inlinePresentationSpec
- InlinePresentationSpec
インライン候補の UI 仕様を指定します。
- pinned
- Boolean
UI を固定する必要があるかどうかを示します。そのため、ホスト内でスクロール不可およびフィルター処理不可です。 ただし、UI がピン留めされているかどうかは、最終的にはホスト次第です。
<p> 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 を作成します。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。