Language

BufferReceivedEventArgs(Byte[]) Constructor

Definition

Initializes a new instance of the BufferReceivedEventArgs class with the supplied callback data.

public BufferReceivedEventArgs(byte[]? buffer);
new Android.Speech.BufferReceivedEventArgs : byte[] -> Android.Speech.BufferReceivedEventArgs

Parameters

buffer
Byte[]

The captured single-channel audio as big-endian 16-bit samples. The sample rate depends on the recognition service.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to