语言

InlinePresentation.CreateTooltipPresentation 方法

定义

为内联建议工具提示创建演示文稿

[Android.Runtime.Register("createTooltipPresentation", "(Landroid/app/slice/Slice;Landroid/widget/inline/InlinePresentationSpec;)Landroid/service/autofill/InlinePresentation;", "", ApiSince=31)]
public static Android.Service.Autofill.InlinePresentation CreateTooltipPresentation(Android.App.Slices.Slice slice, Android.Widget.Inline.InlinePresentationSpec spec);
[<Android.Runtime.Register("createTooltipPresentation", "(Landroid/app/slice/Slice;Landroid/widget/inline/InlinePresentationSpec;)Landroid/service/autofill/InlinePresentation;", "", ApiSince=31)>]
static member CreateTooltipPresentation : Android.App.Slices.Slice * Android.Widget.Inline.InlinePresentationSpec -> Android.Service.Autofill.InlinePresentation

参数

slice
Slice

表示内联建议工具提示的 UI 内容和操作。

spec
InlinePresentationSpec

指定内联建议工具提示的 UI 规范。

返回

内联建议工具提示的一个InlinePresentation

特性

注解

为内联建议工具提示创建演示文稿

Java文档android.service.autofill.InlinePresentation.createTooltipPresentation(android.app.slice.Slice, android.widget.inline.InlinePresentationSpec)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于