Partager via


MediaStore.Images.Media.InterfaceConsts.OwnerPackageName Field

Definition

Package name that contributed this media.

[Android.Runtime.Register("OWNER_PACKAGE_NAME", ApiSince=29)]
public const string OwnerPackageName;
[<Android.Runtime.Register("OWNER_PACKAGE_NAME", ApiSince=29)>]
val mutable OwnerPackageName : string

Field Value

Attributes

Remarks

Package name that contributed this media. The value may be NULL if ownership cannot be reliably determined.

From Android Build.VERSION_CODES#UPSIDE_DOWN_CAKE onwards, visibility and query of this field will depend on package visibility. For ContentResolver#query operation, result set will be restricted to visible packages only.

Java documentation for android.provider.MediaStore.MediaColumns.OWNER_PACKAGE_NAME.

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