SensorIntent
public struct SensorIntent
Declares the sensors and sample periods that will be used during the lifetime of the session.
-
The sensors that will be used.
Declaration
Swift
public var sensors: Set<SensorType>
-
The sample periods that will be used.
Declaration
Swift
public var samplePeriods: Set<SamplePeriod>
-
Creates a new sensor intent with the specified sensors and sample periods.
Declaration
Swift
public init(sensors: Set<SensorType>, samplePeriods: Set<SamplePeriod>)