Compass.MaxBatchSize プロパティ

定義

センサーによってバッチ処理できるイベントの最大数を取得します。

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

プロパティ値

UInt32

unsigned int

uint32_t

バッチ処理されたイベントの最大数。

Windows の要件

デバイス ファミリ
Windows 10 Fall Creators Update (10.0.16299.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v5.0 で導入)

注釈

センサーは、バッチデータ収集をサポートしていない場合があります。 その場合、このプロパティは 0 になります。 それ以外の場合、センサーが送信する前に収集できるイベントの最大数が決まります。 これにより、サポートされる ReportLatency の最大数が決まります。 最大待機時間は、 ReportIntervalMaxBatchSize の時間と同じです。 センサーのバッチ処理の詳細については、「 センサー」を参照してください。

適用対象