/// A special meaning type to represent the Tizen application package which is installed using the RPM spec.
/// Only some preloaded packages can have this type.
/// </summary>
- RPM
+ RPM,
+ /// <summary>
+ /// Tizen Resource Package (RPK) for sharing read-only resources with access control and version management.
+ /// </summary>
+ /// <since_tizen> 13 </since_tizen>
+ RPK
}
internal static class PackageTypeMethods
{
return PackageType.RPM;
}
+ else if (lowerType == "rpk")
+ {
+ return PackageType.RPK;
+ }
else
{
throw PackageManagerErrorFactory.GetException(Interop.PackageManager.ErrorCode.InvalidParameter, "type should be tpk or wgt");