JSR-043: JTAPI-1.4

javax.telephony.media.async
Interface Async_TTSPlayer

All Superinterfaces:
Async_Player, CoderConstants, MediaConstants, PlayerConstants, ResourceConstants
All Known Implementing Classes:
BasicMediaService

public interface Async_TTSPlayer
extends Async_Player

Non-blocking methods for the TTS Player resource. When complete, these Async_PlayerEvents are delivered to Async_TTSPlayerListener.onTTSDictionaryDone().

Since:
JTAPI-1.4

Fields inherited from interface javax.telephony.media.PlayerConstants
a_Coder, a_DictionaryList, a_Jump, a_LoadedDictionary, a_Pause, a_SapiOptions, a_Speed, a_Volume, e_Busy, ev_ActivateDictionary, ev_AdjustSpeed, ev_AdjustVolume, ev_Jump, ev_LoadDictionary, ev_Marker, ev_Pause, ev_Play, ev_Resume, ev_Speed, ev_Stop, ev_UnloadDictionary, ev_Volume, p_CoderTypes, p_EnabledEvents, p_IfBusy, p_JumpMDO, p_JumpMDOIncrement, p_JumpMSCIncrement, p_JumpSentence, p_JumpTime, p_JumpWord, p_MaxDuration, p_SpeedChange, p_StartPaused, p_VolumeChange, q_Duration, q_EndOfData, rtca_JumpBackwardMDOs, rtca_JumpBackwardMSCs, rtca_JumpBackwardSentences, rtca_JumpBackwardTime, rtca_JumpBackwardWords, rtca_JumpEndMDO, rtca_JumpEndMDOList, rtca_JumpEndMSC, rtca_JumpEndMSCList, rtca_JumpEndSentence, rtca_JumpForwardMDOs, rtca_JumpForwardMSCs, rtca_JumpForwardSentences, rtca_JumpForwardTime, rtca_JumpForwardWords, rtca_JumpStartMDO, rtca_JumpStartMDOList, rtca_JumpStartMSC, rtca_JumpStartMSCList, rtca_JumpStartSentence, rtca_NormalSpeed, rtca_NormalVolume, rtca_Pause, rtca_Resume, rtca_SpeedDown, rtca_SpeedUp, rtca_Stop, rtca_ToggleSpeed, rtca_ToggleVolume, rtca_VolumeDown, rtca_VolumeUp, rtcc_PlayComplete, rtcc_PlayStarted, v_Class, v_Fail, v_Queue, v_Stop
 
Fields inherited from interface javax.telephony.media.ResourceConstants
e_Disconnected, FOREVER, q_Disconnected, q_RTC, rtcc_Disconnected, rtcc_TriggerRTC, v_Forever
 
Fields inherited from interface javax.telephony.media.MediaConstants
e_OK, q_Standard, q_Stop
 
Fields inherited from interface javax.telephony.media.CoderConstants
v_24kADPCM, v_32kADPCM, v_44kADPCM, v_48k8BitLinear, v_48kALawPCM, v_48kMuLawPCM, v_64k8BitLinear, v_64kALawPCM, v_64kMuLawPCM, v_88k8BitLinear, v_88kALawPCM, v_88kMuLawPCM, v_ADPCM_24k, v_ADPCM_32k, v_ADPCM_44k, v_ADSI, v_ALawPCM_48k, v_ALawPCM_64k, v_ALawPCM_88k, v_ASCII, v_Linear8Bit_48k, v_Linear8Bit_64k, v_Linear8Bit_88k, v_MuLawPCM_48k, v_MuLawPCM_64k, v_MuLawPCM_88k, v_TDD
 
Method Summary
 Async_PlayerEvent async_activateTTSDictionary(java.lang.String[] dictNames, java.util.Dictionary optargs)
          Non-blocking version of activateTTSDictionary();
 Async_PlayerEvent async_deactivateTTSDictionary(java.lang.String[] dictNames, java.util.Dictionary optargs)
          Non-blocking version of deactivateTTSDictionary();
 Async_PlayerEvent async_loadTTSDictionary(java.lang.String[] dictNames, java.util.Dictionary optargs)
          Non-blocking version of loadTTSDictionary();
 Async_PlayerEvent async_unloadTTSDictionary(java.lang.String[] dictNames, java.util.Dictionary optargs)
          Non-blocking version of unloadTTSDictionary();
 
Methods inherited from interface javax.telephony.media.async.Async_Player
async_adjustPlayerSpeed, async_adjustPlayerVolume, async_jumpPlayer, async_pausePlayer, async_play, async_play, async_resumePlayer, async_stopPlayer
 

Method Detail

async_loadTTSDictionary

public Async_PlayerEvent async_loadTTSDictionary(java.lang.String[] dictNames,
                                                 java.util.Dictionary optargs)
Non-blocking version of loadTTSDictionary();

Load a collection of TTS dictionaries into a Player. The dictionary is placed at the top of the dictionary stack, and is deactivated.

Parameters:
dictNames - a String[] of DataObject fullNames.
optargs - a Dictionary of optional args.
Returns:
a Async_PlayerEvent

async_activateTTSDictionary

public Async_PlayerEvent async_activateTTSDictionary(java.lang.String[] dictNames,
                                                     java.util.Dictionary optargs)
Non-blocking version of activateTTSDictionary();

Activates a collection of TTS dictionaries. The dictionaries must already be loaded.

Parameters:
dictNames - a String[] of DataObject fullNames.
optargs - a Dictionary of optional args.
Returns:
a Async_PlayerEvent

async_deactivateTTSDictionary

public Async_PlayerEvent async_deactivateTTSDictionary(java.lang.String[] dictNames,
                                                       java.util.Dictionary optargs)
Non-blocking version of deactivateTTSDictionary();

Deactivates a collection of loaded TTS dictionaries.

Parameters:
dictNames - a String[] of DataObject fullNames.
optargs - a Dictionary of optional args.
Returns:
a Async_PlayerEvent

async_unloadTTSDictionary

public Async_PlayerEvent async_unloadTTSDictionary(java.lang.String[] dictNames,
                                                   java.util.Dictionary optargs)
Non-blocking version of unloadTTSDictionary();

Unloads a collection of TTS dictionaries from a Player.

Parameters:
dictNames - a String[] of DataObject fullNames.
optargs - a Dictionary of optional args.
Returns:
a Async_PlayerEvent

JSR-043: JTAPI-1.4

Send comments to: JSR-43@ectf.org