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]
impl Default for PersistentPreferredActivity
fn default() -> PersistentPreferredActivity
[src]
fn default() -> PersistentPreferredActivity
Returns the "default value" for a type. Read more
impl Clone for PersistentPreferredActivity
[src]
impl Clone for PersistentPreferredActivity
fn clone(&self) -> PersistentPreferredActivity
[src]
fn clone(&self) -> PersistentPreferredActivity
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for PersistentPreferredActivity
[src]
impl Debug for PersistentPreferredActivity
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for PersistentPreferredActivity
[src]
impl Part for PersistentPreferredActivity
Auto Trait Implementations
impl Send for PersistentPreferredActivity
impl Send for PersistentPreferredActivity
impl Sync for PersistentPreferredActivity
impl Sync for PersistentPreferredActivity