Android.Speech.Tts.TextToSpeech.AddEarcon Method
Adds a mapping between a string of text and a sound file.

Syntax

[Android.Runtime.Register("addEarcon", "(Ljava/lang/String;Ljava/io/File;)I", "GetAddEarcon_Ljava_lang_String_Ljava_io_File_Handler")]
[return:Android.Runtime.GeneratedEnum]
public virtual OperationResult AddEarcon (string earcon, Java.IO.File file)

Parameters

earcon
The name of the earcon. Example: "[tick]"
file
File object pointing to the sound file.

Returns

Documentation for this section has not yet been entered.

Remarks

Adds a mapping between a string of text and a sound file. Use this to add custom earcons.

[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 4