Add a new Intent action to match against.
Add a new Intent action to match against. If any actions are included in the filter, then an Intent's action must be one of those values for it to match. If no actions are included, the Intent action is ignored.
name of the action to match, i.e. Intent.ActionMain
Add a new Intent category to match against.
Add a new Intent category to match against. The semantics of categories is the opposite of actions -- an Intent includes the categories that it requires, all of which must be included in the filter in order to match. In other words, adding a category to the filter has no impact on matching unless that category is specified in the intent.
name of category to match, i.e. Intent.CategoryHome
Category set that matched for corresponding activity.
Category set that matched for corresponding activity.
Test whether this filter matches the given intent.
Test whether this filter matches the given intent.
an intent that we match
true if intent was found or if this filter is used for default activities (actions are empty)
Structured description of Intent values to be matched. An IntentFilter can match against actions, categories.
Filter Rules
A match is based on the following rules. Note that for an IntentFilter to match an Intent, two conditions must hold: the action and category must match. Action matches if any of the given values match the Intent action, or if no actions were specified in the filter. Categories match if all of the categories in the Intent match categories given in the filter. Note that unlike the action, an IntentFilter with no categories will only match an Intent that does not have any categories.