Class BatchSensor<TData>
Definition
- Assembly:
- Tizen.Sensor.dll
Abstract class for sensor for series of sensor data. Inherit the class 'Sensor' which is an abstract class.
C#Copypublic abstract class BatchSensor<TData> : Sensor, IDisposable where TData : BatchData
- Inheritance
- Derived
- Implements
-
System.IDisposable
Remarks
A class which inherits this abstract class should provide TData as an class that inherits BatchData class.
Constructors
Declaration
C#Copypublic BatchSensor(uint index = 0)
Parameters
Type | Name | Description |
---|---|---|
uint | index |
Remarks
A class which inherits this abstract class should provide TData as an class that inherits BatchData class.
Properties
Declaration
C#Copypublic IReadOnlyList<TData> Data { get; protected set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<T><TData> |
Remarks
A class which inherits this abstract class should provide TData as an class that inherits BatchData class.
Methods
Declaration
C#Copyprotected abstract IReadOnlyList<TData> ConvertBatchData()
Returns
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<T><TData> | List of converted specific batch data |
Remarks
A class which inherits this abstract class should provide TData as an class that inherits BatchData class.
Declaration
C#Copyprotected void UpdateBatchData(IntPtr eventsPtr, uint eventsCount)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | eventsPtr | |
uint | eventsCount |
Remarks
A class which inherits this abstract class should provide TData as an class that inherits BatchData class.
Implements
System.IDisposable