SchemaVisibilityConfig.Builder.AddRequiredPermissions Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a permission combination to this visibility configuration.
[Android.Runtime.Register("addRequiredPermissions", "(Ljava/util/Set;)Landroid/app/appsearch/SchemaVisibilityConfig$Builder;", "", ApiSince=35)]
public Android.App.AppSearch.SchemaVisibilityConfig.Builder AddRequiredPermissions(System.Collections.Generic.ICollection<Java.Lang.Integer> visibleToPermissions);
[<Android.Runtime.Register("addRequiredPermissions", "(Ljava/util/Set;)Landroid/app/appsearch/SchemaVisibilityConfig$Builder;", "", ApiSince=35)>]
member this.AddRequiredPermissions : System.Collections.Generic.ICollection<Java.Lang.Integer> -> Android.App.AppSearch.SchemaVisibilityConfig.Builder
Parameters
- visibleToPermissions
- ICollection<Integer>
A set of permissions that forms one access condition in this configuration.
Returns
This builder instance.
- Attributes
Remarks
Adds a permission combination to this visibility configuration. A caller satisfies the permission requirement by meeting every condition in any one of the combinations added by this method. Other visibility requirements may also apply. The combinations are available from SchemaVisibilityConfig.getRequiredPermissions().
Android reference for android.app.appsearch.SchemaVisibilityConfig.Builder.addRequiredPermissions.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.