Class PackageFilter
Definition
- Namespace:
- Tizen.Applications
- Assembly:
- Tizen.Applications.PackageManager.dll
This class is a parameter of the PackageManager::GetPackages method.
public class PackageFilter
- Inheritance
-
objectPackageFilter
Constructors
View SourcePackageFilter()
The default constructor with an empty filter list. All the installed applications will satisfy this filter unless updated with more specific filters.
Declaration
public PackageFilter()
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
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. |
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
public PackageFilter(IDictionary<string, bool> filter)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IDictionary<TKey, TValue><string, bool> | filter | Package filters. |
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
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 SourceFilters
Filters to be used in the GetPackages method.
Declaration
public IDictionary<string, bool> Filters { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<TKey, TValue><string, bool> |
StringFilters
String filters to be used in the GetPackages method.
Declaration
public IDictionary<string, string> StringFilters { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<TKey, TValue><string, string> |