Search Results for

    Show / Hide Table of Contents

    Class BatchSensor<TData>

    Definition

    Namespace:
    Tizen.Sensor
    Assembly:
    Tizen.Sensor.dll

    Abstract class for sensor for series of sensor data. Inherit the class 'Sensor' which is an abstract class.

    public abstract class BatchSensor<TData> : Sensor, IDisposable where TData : BatchData
    Inheritance
    object
    Sensor
    BatchSensor<TData>
    Derived
    HeartRateMonitorBatch
    HeartRateMonitorBatch
    HeartRateMonitorLEDGreenBatch
    HeartRateMonitorLEDGreenBatch
    Implements
    IDisposable
    Remarks

    A class which inherits this abstract class should provide TData as an class that inherits BatchData class.

    Constructors

    View Source

    BatchSensor(uint)

    Create BatchSensor

    Declaration
    public BatchSensor(uint index = 0)
    Parameters
    Type Name Description
    uint index

    Properties

    View Source

    Data

    Get general batch data

    Declaration
    public IReadOnlyList<TData> Data { get; protected set; }
    Property Value
    Type Description
    IReadOnlyList<TData>

    Methods

    View Source

    ConvertBatchData()

    Convert general batch data to specific batch data type "TData".

    Declaration
    protected abstract IReadOnlyList<TData> ConvertBatchData()
    Returns
    Type Description
    IReadOnlyList<TData>

    List of converted specific batch data

    View Source

    UpdateBatchData(nint, uint)

    Declaration
    protected void UpdateBatchData(nint eventsPtr, uint eventsCount)
    Parameters
    Type Name Description
    nint eventsPtr
    uint eventsCount

    Implements

    IDisposable
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX