Android.Speech.Tts.ISynthesisCallback.AudioAvailable Method
The service should call this method when synthesized audio is ready for consumption.

Syntax

[Android.Runtime.Register("audioAvailable", "([BII)I", "GetAudioAvailable_arrayBIIHandler:Android.Speech.Tts.ISynthesisCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
[return:Android.Runtime.GeneratedEnum]
public OperationResult AudioAvailable (byte[] buffer, int offset, int length)

Parameters

buffer
The generated audio data. This method will not hold on to buffer, so the caller is free to modify it after this method returns.
offset
The offset into buffer where the audio data starts.
length
The number of bytes of audio data in buffer. This must be less than or equal to the return value of ISynthesisCallback.MaxBufferSize.

Returns

Documentation for this section has not yet been entered.

Remarks

The service should call this method when synthesized audio is ready for consumption. This method should only be called on the synthesis thread, while in TextToSpeechService.OnSynthesizeText(SynthesisRequest, Android.Speech.Tts.ISynthesisCallback).

[Android Documentation]

Requirements

Namespace: Android.Speech.Tts
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 14