语言

AppFunctionSearchSpec.Builder.SetScopes(ICollection<Integer>) 方法

定义

设置要筛选的范围类型,或设置 null 以跳过此筛选器。

[Android.Runtime.Register("setScopes", "(Ljava/util/Set;)Landroid/app/appfunctions/AppFunctionSearchSpec$Builder;", "", ApiSince=37)]
public Android.App.AppFunctions.AppFunctionSearchSpec.Builder SetScopes(System.Collections.Generic.ICollection<Java.Lang.Integer>? scopes);
[<Android.Runtime.Register("setScopes", "(Ljava/util/Set;)Landroid/app/appfunctions/AppFunctionSearchSpec$Builder;", "", ApiSince=37)>]
member this.SetScopes : System.Collections.Generic.ICollection<Java.Lang.Integer> -> Android.App.AppFunctions.AppFunctionSearchSpec.Builder

参数

scopes
ICollection<Integer>

要筛选的作用域类型集。 此值可能为 null。

返回

特性

注解

设置要筛选的范围类型,或设置 null 以跳过此筛选器。

Android 参考。android.app.appfunctions.AppFunctionSearchSpec.Builder.setScopes

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

适用于