DataStatBandwidth.addData Method

Module: DataStatBandwidth

Definition

Adds a data entry to the bandwidth calculation, including the size of the data and the timestamp when it was received or processed.

This information is used to compute the current bandwidth and data transfer rates.

int id3DevicesDataStatBandwidth_AddData (
    ID3_DEVICES_DATA_STAT_BANDWIDTH hDataStatBandwidth,
    int dataSize,
    long long timestampUs)

Parameters

in Handle to the DataStatBandwidth object.

dataSize int
in The size of the data added in bytes.

timestampUs long long
in The timestamp at which the data was received or processed, specified in microseconds (µs).

Returns

int
An error code.
See id3DevicesError file for the list of possible error codes.