Share via


MediaStore.Images.ImageColumns.OwnerPackageName Field

Definition

Caution

Use 'Android.Provider.MediaStore.IMediaColumns.OwnerPackageName'. This class will be removed in a future release.

Package name that contributed this media.

[Android.Runtime.Register("OWNER_PACKAGE_NAME", ApiSince=29)]
[System.Obsolete("Use 'Android.Provider.MediaStore.IMediaColumns.OwnerPackageName'. This class will be removed in a future release.")]
public const string OwnerPackageName;
[<Android.Runtime.Register("OWNER_PACKAGE_NAME", ApiSince=29)>]
[<System.Obsolete("Use 'Android.Provider.MediaStore.IMediaColumns.OwnerPackageName'. This class will be removed in a future release.")>]
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