getVersionMetadata

Returns package version metadata, or null when the package is unavailable, hidden, or unreadable. Package visibility rules are the same as for hasPackageVisible.