hp.telephony.media
Interface PlayerEvent

All Superinterfaces:
CoderConstants, MediaEvent, PlayerConstants, ResourceConstants, ResourceEvent
All Known Subinterfaces:
FaxEvent, SMSPlayerEvent, TTSPlayerEvent

public interface PlayerEvent
extends ResourceEvent, PlayerConstants

Defines the methods used by Player Events.

Since:
OCMP 2.0

Field Summary
 
Fields inherited from interface hp.telephony.media.MediaEvent
ev_Disconnected, ev_TerminalIdle
 
Fields inherited from interface hp.telephony.media.ResourceConstants
e_Disconnected, e_OK, FOREVER, q_Duration, q_RTC, q_Standard, q_Stop, rtcc_Disconnected, rtcc_TriggerRTC, v_Forever
 
Fields inherited from interface hp.telephony.media.PlayerConstants
a_AutomaticGainControl, a_Coder, a_Jump, a_Pause, a_Speed, a_Volume, ev_Pause, ev_Play, ev_Resume, ev_Speed, ev_Volume, p_CoderTypes, p_DisplayName, p_EnabledEvents, p_FileFormat, p_IfBusy, p_JumpMSCIncrement, p_JumpTime, p_MaxDuration, p_SpeedChange, p_StartPaused, p_VolumeChange, q_Duration, q_EndOfData, rtca_JumpBackward, rtca_JumpBackwardMSCs, rtca_JumpEndMSC, rtca_JumpEndMSCList, rtca_JumpForward, rtca_JumpForwardMSCs, rtca_JumpStartMSC, rtca_JumpStartMSCList, rtca_NormalSpeed, rtca_NormalVolume, rtca_Pause, rtca_Resume, rtca_SpeedDown, rtca_SpeedUp, rtca_Stop, rtca_StopAll, rtca_ToggleSpeed, rtca_ToggleVolume, rtca_VolumeDown, rtca_VolumeUp, rtcc_PlayComplete, rtcc_PlayStarted, v_Fail, v_GSMFormat, v_Queue, v_RawFormat, v_Stop, v_WavFormat
 
Fields inherited from interface hp.telephony.media.CoderConstants
p_AMR_SDPelement, p_channels, p_crc, p_G723_annexa, p_G723_bitrate, p_G729_annexb, p_interleaving, p_maxptime, p_modechangeneighbor, p_modechangeperiod, p_modeset, p_octetalign, p_ptime, p_robustsorting, v_ADPCM_16kG726, v_ADPCM_24k, v_ADPCM_32k, v_ADPCM_32kG726, v_ADPCM_32kOKI, v_ADPCM_44k, v_ALawPCM_48k, v_ALawPCM_64k, v_ALawPCM_88k, v_AMR, v_AMR_WB, v_G723_1b, v_G723_53, v_G723_63, v_G723_no_vad, v_G723_yes, v_G729_no_vad, v_G729_yes, v_G729a, v_GSM, v_Linear16Bit_64k, v_Linear8Bit_48k, v_Linear8Bit_64k, v_Linear8Bit_88k, v_MuLawPCM_48k, v_MuLawPCM_64k, v_MuLawPCM_88k
 
Method Summary
 Symbol getChangeType()
          Return Symbol that identifies the type of Speed or Volume adjustment.
 int getIndex()
          Return index in to MSC List, indicating which MSC was stopped.
 int getOffset()
          Return index into a MSC where play stopped.
 
Methods inherited from interface hp.telephony.media.ResourceEvent
getError, getQualifier, getRTCTrigger
 
Methods inherited from interface hp.telephony.media.MediaEvent
getEventID
 

Method Detail

getIndex

public int getIndex()
Return index in to MSC List, indicating which MSC was stopped.

Returns:
the int index into the MSC List, indicating which MSC was stopped, paused, etc.
Since:
OCMP 2.2

getOffset

public int getOffset()
Return index into a MSC where play stopped. Typically this is milliseconds into an audio MSC.

Returns:
the int index into a MSC phrase where play stopped, paused, etc.
Since:
OCMP2.2

getChangeType

public Symbol getChangeType()
Return Symbol that identifies the type of Speed or Volume adjustment.

Returns:
one of the Symbols: rtca_SpeedUp, rtca_SpeedDown, rtca_ToggleSpeed, rtca_NormalSpeed rtca_VolumeUp, rtca_VolumeDown, rtca_ToggleVolume, rtca_NormalVolume
Since:
OCMP 2.2
See Also:
PlayerConstants.rtca_SpeedDown