SchemaVisibilityConfig.Builder.AddAllowedPackage(PackageIdentifier) 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 package identity to this configuration's allowed-package list.
[Android.Runtime.Register("addAllowedPackage", "(Landroid/app/appsearch/PackageIdentifier;)Landroid/app/appsearch/SchemaVisibilityConfig$Builder;", "", ApiSince=35)]
public Android.App.AppSearch.SchemaVisibilityConfig.Builder AddAllowedPackage(Android.App.AppSearch.PackageIdentifier packageIdentifier);
[<Android.Runtime.Register("addAllowedPackage", "(Landroid/app/appsearch/PackageIdentifier;)Landroid/app/appsearch/SchemaVisibilityConfig$Builder;", "", ApiSince=35)>]
member this.AddAllowedPackage : Android.App.AppSearch.PackageIdentifier -> Android.App.AppSearch.SchemaVisibilityConfig.Builder
Parameters
- packageIdentifier
- PackageIdentifier
The package and signing-certificate identity to add to the allowed-package list.
Returns
This builder instance.
- Attributes
Remarks
Adds a package identity to this configuration's allowed-package list. A caller may also need to satisfy other visibility requirements.
Android reference for android.app.appsearch.SchemaVisibilityConfig.Builder.addAllowedPackage.
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.