Class BatchSensor<TData>
Definition
- Namespace:
- Tizen.Sensor
- Assembly:
- Tizen.Sensor.dll
- API Level:
- 8
Abstract sensor for series of sensor data
public abstract class BatchSensor<TData> : Sensor, IDisposable where TData : BatchData
- Inheritance
- Derived
- Implements
Constructors
View SourceBatchSensor(UInt32)
Create BatchSensor
Declaration
public BatchSensor(uint index = 0U)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | index |
API Level: 8
Properties
View SourceData
Get general batch data
Declaration
public IReadOnlyList<TData> Data { get; protected set; }
Property Value
Type | Description |
---|---|
IReadOnlyList<TData> |
API Level: 8
Methods
View SourceConvertBatchData()
Convert general batch data to specific batch data
Declaration
protected abstract IReadOnlyList<TData> ConvertBatchData()
Returns
Type | Description |
---|---|
IReadOnlyList<TData> | List of converted specific batch data |
API Level: 8
View SourceUpdateBatchData(IntPtr, UInt32)
Update the internal batch data using the latest events
Declaration
protected void UpdateBatchData(IntPtr eventsPtr, uint eventsCount)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | eventsPtr | General batch data's raw pointer |
UInt32 | eventsCount | Number of general batch events |