Sdílet prostřednictvím


SchemaVisibilityConfig.PubliclyVisibleTargetPackage Property

Definition

Returns the PackageIdentifier of the package that will be used as the target package in a call to android.content.pm.PackageManager#canPackageQuery to determine which packages can access this publicly visible schema.

public Android.App.AppSearch.PackageIdentifier? PubliclyVisibleTargetPackage { [Android.Runtime.Register("getPubliclyVisibleTargetPackage", "()Landroid/app/appsearch/PackageIdentifier;", "", ApiSince=35)] get; }
[<get: Android.Runtime.Register("getPubliclyVisibleTargetPackage", "()Landroid/app/appsearch/PackageIdentifier;", "", ApiSince=35)>]
member this.PubliclyVisibleTargetPackage : Android.App.AppSearch.PackageIdentifier

Property Value

Attributes

Remarks

Returns the PackageIdentifier of the package that will be used as the target package in a call to android.content.pm.PackageManager#canPackageQuery to determine which packages can access this publicly visible schema. Returns null if the schema is not publicly visible.

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

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