pub trait AndroidAutoSensorTrait {
// Required methods
fn get_supported_sensors(&self) -> &SensorInformation;
fn start_sensor<'life0, 'async_trait>(
&'life0 self,
stype: Enum,
) -> Pin<Box<dyn Future<Output = Result<(), ()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
This trait is implemented by users that support navigation indicators
Required Methods§
Sourcefn get_supported_sensors(&self) -> &SensorInformation
fn get_supported_sensors(&self) -> &SensorInformation
Returns the types of sensors supported