Struct google_androidmanagement1::PersistentPreferredActivity
[−]
[src]
pub struct PersistentPreferredActivity { pub receiver_activity: Option<String>, pub actions: Option<Vec<String>>, pub categories: Option<Vec<String>>, }
A default activity for handling intents that match a particular intent filter.
This type is not used in any activity, and only used as part of another schema.
Fields
receiver_activity: Option<String>
The activity that should be the default intent handler. This should be an Android component name, e.g. com.android.enterprise.app/.MainActivity. Alternatively, the value may be the package name of an app, which causes Android Device Policy to choose an appropriate activity from the app to handle the intent.
actions: Option<Vec<String>>
The intent actions to match in the filter. 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.
categories: Option<Vec<String>>
The intent categories to match in the filter. 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.
Trait Implementations
impl Default for PersistentPreferredActivity
[src]
fn default() -> PersistentPreferredActivity
[src]
Returns the "default value" for a type. Read more
impl Clone for PersistentPreferredActivity
[src]
fn clone(&self) -> PersistentPreferredActivity
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more