共用方式為


InlinePresentation.Slice 屬性

定義

代表內嵌建議的 UI 內容和動作。

public Android.App.Slices.Slice Slice { [Android.Runtime.Register("getSlice", "()Landroid/app/slice/Slice;", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getSlice", "()Landroid/app/slice/Slice;", "", ApiSince=30)>]
member this.Slice : Android.App.Slices.Slice

屬性值

屬性

備註

代表內嵌建議的 UI 內容和動作。

配量應該使用 androidx 自動填入連結庫中所提供的內容產生器來建構配量, androidx.autofill.inline.v1.InlineSuggestionUi.Content.Builder 例如,然後使用 轉換成 Slice androidx.autofill.inline.UiVersions.Content#getSlice()

android.service.autofill.InlinePresentation.getSlice()Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於