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/lang/String;)I", "GetAddEarcon_Ljava_lang_String_Ljava_lang_String_Handler")]
[System.Obsolete("deprecated")]
[return:Android.Runtime.GeneratedEnum]
public virtual OperationResult AddEarcon (string earcon, string filename)

Parameters

earcon
The name of the earcon. Example: "[tick]"
filename
The full path to the sound file (for example: "/sdcard/mysounds/tick.wav")

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