Class BatchSensor<TData>
Definition
- Namespace:
- Tizen.Sensor
- Assembly:
- Tizen.Sensor.dll
- API Level:
- 8
Abstract sensor for series of sensor data
C#Copypublic abstract class BatchSensor<TData> : Sensor, IDisposable where TData : BatchData
- Inheritance
- Derived
- Implements
-
System.IDisposable
Constructors
Declaration
C#Copypublic BatchSensor(uint index = 0U)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | index |
API Level: 8
Properties
Declaration
C#Copypublic IReadOnlyList<TData> Data { get; protected set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<TData> |
API Level: 8
Methods
Declaration
C#Copyprotected abstract IReadOnlyList<TData> ConvertBatchData()
Returns
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<TData> | List of converted specific batch data |
API Level: 8
Declaration
C#Copyprotected void UpdateBatchData(IntPtr eventsPtr, uint eventsCount)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | eventsPtr | General batch data's raw pointer |
System.UInt32 | eventsCount | Number of general batch events |
Implements
System.IDisposable