MediaStoreMatchBehavior Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Controls whether rows matching a media-store condition are included, excluded, or selected alone.
public enum MediaStoreMatchBehavior
type MediaStoreMatchBehavior =
- Inheritance
-
MediaStoreMatchBehavior
Fields
| Name | Value | Description |
|---|---|---|
| Default | 0 | Value indicating that the default matching behavior should be used, as defined by the key documentation. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Include | 1 | Value indicating that operations should include items matching the criteria defined by this key. Note that items not matching the criteria may also be included depending on the default behavior documented by the key. If you want to operate exclusively on matching items, use MATCH_ONLY. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Exclude | 2 | Value indicating that operations should exclude items matching the criteria defined by this key. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Only | 3 | Value indicating that operations should only operate on items explicitly matching the criteria defined by this key. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
Remarks
The default choice follows the rule for the query key. Including matching rows does not necessarily remove other rows; selecting only matching rows does.