Class PackageFilter

Definition

Namespace:
Tizen.Applications
Assembly:
Tizen.Applications.PackageManager.dll

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

C#
Copy
public class PackageFilter
Inheritance
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()
View Source

PackageFilter(IDictionary<string, bool>, 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
System.Collections.Generic.IDictionary<TKey, TValue><string, bool> filter

Package filters.

System.Collections.Generic.IDictionary<TKey, TValue><string, string> stringFilter

Package filters using string values.

View Source

PackageFilter(IDictionary<string, bool>)

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
System.Collections.Generic.IDictionary<TKey, TValue><string, bool> filter

Package filters.

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
System.Collections.Generic.IDictionary<TKey, TValue><string, string> stringFilter

Package filters using string values.

Remarks

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

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
System.Collections.Generic.IDictionary<TKey, TValue><string, bool>
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
System.Collections.Generic.IDictionary<TKey, TValue><string, string>