Definition
- Namespace:
- Tizen.Applications
- Assembly:
- Tizen.Applications.PackageManager.dll
This class provides the methods and properties to get information about the packages.
- Inheritance
-
Properties
View Source
AllowedPackagesAndPrivileges
The allowed packages and required privileges information.
Declaration
public IReadOnlyDictionary<string, IEnumerable<string>> AllowedPackagesAndPrivileges { get; }
Property Value
| Type |
Description |
| System.Collections.Generic.IReadOnlyDictionary<TKey, TValue><string, System.Collections.Generic.IEnumerable<T><string>> |
|
Remarks
View Source
Certificates
Certificate information for the package.
Declaration
public IReadOnlyDictionary<CertificateType, PackageCertificate> Certificates { get; }
Property Value
View Source
DependencyFrom
Packages that require this package
Declaration
public IEnumerable<PackageDependencyInformation> DependencyFrom { get; }
Property Value
View Source
DependencyTo
Packages required by this package
Declaration
public IEnumerable<PackageDependencyInformation> DependencyTo { get; }
Property Value
Declaration
public string IconPath { get; }
Property Value
Declaration
public string Id { get; }
Property Value
View Source
InstalledStorageType
Installed storage type for the package.
Declaration
public StorageType InstalledStorageType { get; }
Property Value
View Source
InstalledTime
Installed time of the package.
Declaration
public int InstalledTime { get; }
Property Value
View Source
IsAccessible
Checks whether the current package is accessible.
Declaration
public bool IsAccessible { get; }
Property Value
View Source
IsPreloaded
Checks whether the package is preloaded.
Declaration
public bool IsPreloaded { get; }
Property Value
View Source
IsRemovable
Checks whether the package is removable.
Declaration
public bool IsRemovable { get; }
Property Value
View Source
IsSystemPackage
Checks whether the package is a system package.
Declaration
public bool IsSystemPackage { get; }
Property Value
Declaration
public string Label { get; }
Property Value
View Source
MainApplication
Main application info of the package.
Declaration
public ApplicationInfo MainApplication { get; }
Property Value
Declaration
public PackageType PackageType { get; }
Property Value
View Source
Privileges
Requested privilege for the package.
Declaration
public IEnumerable<string> Privileges { get; }
Property Value
| Type |
Description |
| System.Collections.Generic.IEnumerable<T><string> |
|
Declaration
public string RootPath { get; }
Property Value
View Source
TizenExpansionPackageName
Expansion package name for the package.
Declaration
public string TizenExpansionPackageName { get; }
Property Value
Declaration
public string Version { get; }
Property Value
Methods
View Source
CompareCertInfo(string)
Compares the certificate information with the given package ID.
Declaration
public CertCompareResultType CompareCertInfo(string packageId)
Parameters
| Type |
Name |
Description |
| string |
packageId |
ID of the package.
|
Returns
Exceptions
| Type |
Condition |
| System.ArgumentException |
Thrown when a failed input package ID is invalid.
|
| System.IO.IOException |
Thrown when the method failed due to an internal I/O error.
|
View Source
GetApplications()
Retrieves all the application IDs of this package.
Declaration
public IEnumerable<ApplicationInfo> GetApplications()
Returns
| Type |
Description |
| System.Collections.Generic.IEnumerable<T><ApplicationInfo> |
Returns a dictionary containing all the application information for a given application type.
|
View Source
GetApplications(ApplicationComponentType)
Retrieves all the application IDs of this package.
Declaration
public IEnumerable<ApplicationInfo> GetApplications(ApplicationComponentType componentType)
Parameters
Returns
| Type |
Description |
| System.Collections.Generic.IEnumerable<T><ApplicationInfo> |
Returns a dictionary containing all the application information for a given application type.
|
View Source
GetApplications(ApplicationType)
Retrieves all the application IDs of this package.
Declaration
public IEnumerable<ApplicationInfo> GetApplications(ApplicationType type)
Parameters
| Type |
Name |
Description |
| ApplicationType |
type |
Optional: AppType enumeration value.
|
Returns
| Type |
Description |
| System.Collections.Generic.IEnumerable<T><ApplicationInfo> |
Returns a dictionary containing all the application information for a given application type.
|
Declaration
public Task<PackageSizeInformation> GetSizeInformationAsync()
Returns