Dela via


Accelerometer.MaxBatchSize Property

Definition

Gets the maximum number of events that can be batched by the sensor.

public:
 property unsigned int MaxBatchSize { unsigned int get(); };
uint32_t MaxBatchSize();
public uint MaxBatchSize { get; }
var uInt32 = accelerometer.maxBatchSize;
Public ReadOnly Property MaxBatchSize As UInteger

Property Value

UInt32

unsigned int

uint32_t

The maximum number of batched events.

Remarks

A sensor may not support batched data collection. In that case, this property will be 0. Otherwise, this determines the maximum number of events the sensor can gather before submitting them. This in turn will determine the maximum supported ReportLatency. The maximum latency equals the ReportInterval times the MaxBatchSize. For more information about sensor batching, see Sensors.

Applies to