pub struct DeviceSelector {
pub device_ram: Option<DeviceRam>,
pub excluded_device_ids: Option<Vec<DeviceId>>,
pub forbidden_system_features: Option<Vec<SystemFeature>>,
pub included_device_ids: Option<Vec<DeviceId>>,
pub required_system_features: Option<Vec<SystemFeature>>,
pub system_on_chips: Option<Vec<SystemOnChip>>,
}Expand description
Selector for a device group. A selector consists of a set of conditions on the device that should all match (logical AND) to determine a device group eligibility. For instance, if a selector specifies RAM conditions, device model inclusion and device model exclusion, a device is considered to match if: device matches RAM conditions AND device matches one of the included device models AND device doesn’t match excluded device models
This type is not used in any activity, and only used as part of another schema.
Fields§
§device_ram: Option<DeviceRam>Conditions on the device’s RAM.
excluded_device_ids: Option<Vec<DeviceId>>Device models excluded by this selector, even if they match all other conditions.
forbidden_system_features: Option<Vec<SystemFeature>>A device that has any of these system features is excluded by this selector, even if it matches all other conditions.
included_device_ids: Option<Vec<DeviceId>>Device models included by this selector.
required_system_features: Option<Vec<SystemFeature>>A device needs to have all these system features to be included by the selector.
system_on_chips: Option<Vec<SystemOnChip>>Optional. The SoCs included by this selector. Only works for Android S+ devices.
Trait Implementations§
Source§impl Clone for DeviceSelector
impl Clone for DeviceSelector
Source§fn clone(&self) -> DeviceSelector
fn clone(&self) -> DeviceSelector
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more