Sdílet prostřednictvím


SchemaVisibilityConfig.RequiredPermissions Property

Definition

Returns an array of Integers representing Android Permissions as defined in SetSchemaRequest.AppSearchSupportedPermission that the caller must hold to access the schema this SchemaVisibilityConfig represents.

public System.Collections.Generic.ICollection<System.Collections.Generic.ICollection<Java.Lang.Integer>> RequiredPermissions { [Android.Runtime.Register("getRequiredPermissions", "()Ljava/util/Set;", "", ApiSince=35)] get; }
[<get: Android.Runtime.Register("getRequiredPermissions", "()Ljava/util/Set;", "", ApiSince=35)>]
member this.RequiredPermissions : System.Collections.Generic.ICollection<System.Collections.Generic.ICollection<Java.Lang.Integer>>

Property Value

Attributes

Remarks

Returns an array of Integers representing Android Permissions as defined in SetSchemaRequest.AppSearchSupportedPermission that the caller must hold to access the schema this SchemaVisibilityConfig represents.

Java documentation for android.app.appsearch.SchemaVisibilityConfig.getRequiredPermissions().

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.

Applies to