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

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.

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.

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]

[src]

Returns the "default value" for a type. Read more

impl Clone for PersistentPreferredActivity
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for PersistentPreferredActivity
[src]

[src]

Formats the value using the given formatter.

impl Part for PersistentPreferredActivity
[src]