Class PackageFilter

Definition

Namespace:
Tizen.Applications
Assembly:
Tizen.Applications.PackageManager.dll
API Level:
3

This class is a parameter of the PackageManager::GetPackages method.

C#
Copy
public class PackageFilter
Inheritance
System.Object
PackageFilter

Constructors

View Source

PackageFilter()

The default constructor with an empty filter list. All the installed applications will satisfy this filter unless updated with more specific filters.

Declaration
C#
Copy
public PackageFilter()
API Level: 3
View Source

PackageFilter(IDictionary<String, Boolean>)

The constructor with specific filters. Using this will filter out the installed packages which do not meet the filter criteria.

Declaration
C#
Copy
public PackageFilter(IDictionary<string, bool> filter)
Parameters
Type Name Description
IDictionary<System.String, Boolean> filter

Package filters.

API Level: 3
View Source

PackageFilter(IDictionary<String, Boolean>, IDictionary<String, String>)

The constructor with specific filters. Using this will filter out the installed packages which do not meet the filter criteria.

Declaration
C#
Copy
public PackageFilter(IDictionary<string, bool> filter, IDictionary<string, string> stringFilter)
Parameters
Type Name Description
IDictionary<System.String, Boolean> filter

Package filters.

IDictionary<System.String, System.String> stringFilter

Package filters using string values.

API Level: 9
View Source

PackageFilter(IDictionary<String, String>)

The constructor with specific filters. Using this will filter out the installed packages which do not meet the filter criteria.

Declaration
C#
Copy
public PackageFilter(IDictionary<string, string> stringFilter)
Parameters
Type Name Description
IDictionary<System.String, System.String> stringFilter

Package filters using string values.

Remarks

The dictionary contains filter keys as the keys, and filter values as the value.

API Level: 9

Properties

View Source

Filters

Filters to be used in the GetPackages method.

Declaration
C#
Copy
public IDictionary<string, bool> Filters { get; }
Property Value
Type Description
IDictionary<System.String, Boolean>
API Level: 3
View Source

StringFilters

String filters to be used in the GetPackages method.

Declaration
C#
Copy
public IDictionary<string, string> StringFilters { get; }
Property Value
Type Description
IDictionary<System.String, System.String>
API Level: 9