语言

AppInteractionSession.CreateParams.Builder.SetTargetPackages 方法

定义

设置应用交互会话将与之交互的目标包。

[Android.Runtime.Register("setTargetPackages", "(Ljava/util/List;)Landroid/app/AppInteractionSession$CreateParams$Builder;", "", ApiSince=37)]
public Android.App.AppInteractionSession.CreateParams.Builder SetTargetPackages(System.Collections.Generic.IList<string> targetPackages);
[<Android.Runtime.Register("setTargetPackages", "(Ljava/util/List;)Landroid/app/AppInteractionSession$CreateParams$Builder;", "", ApiSince=37)>]
member this.SetTargetPackages : System.Collections.Generic.IList<string> -> Android.App.AppInteractionSession.CreateParams.Builder

参数

targetPackages
IList<String>

应用交互会话将与之交互的目标包列表。 此值不能为 null。

返回

特性

注解

设置应用交互会话将与之交互的目标包。

Android 参考。android.app.AppInteractionSession.CreateParams.Builder.setTargetPackages

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于