MNssPlayEventHandler Class Reference

class MNssPlayEventHandler

The MNssPlayEventHandler class provides the call back methods to handle the events during Play operation.

NssVASApi.lib
Since
2.0

Member Functions Documentation

HandlePlayComplete(TNssPlayResult)

voidHandlePlayComplete(TNssPlayResultaErrorCode)[pure virtual]
The HandlePlayComplete method is a virtual method implemented by the client and is called when play is completed
Since
2.0

Parameters

TNssPlayResult aErrorCodeEVasErrorNone if playing was successfull

HandlePlayStarted(TTimeIntervalMicroSeconds32)

voidHandlePlayStarted(TTimeIntervalMicroSeconds32aDuration)[pure virtual]
The HandlePlayStarted method is a virtual method implemented by the client and is called when play is started
Since
2.0

Parameters

TTimeIntervalMicroSeconds32 aDuration- the duration of the utterance data

Member Enumerations Documentation

Enum TNssPlayResult

TPlayResult will have all the enums to represent the result values from HandlePlayError method.

NOTE: The HandlePlayError() should handle the undefined error for TPlayResult.

Enumerators

EVasErrorNone
EVasPlayFailed
EVasPlayNoMemory
EVasPlayAccessDeny
EVasPlayUndefinedError10
EVasPlayUndefinedError9
EVasPlayUndefinedError8
EVasPlayUndefinedError7
EVasPlayUndefinedError6
EVasPlayUndefinedError5
EVasPlayUndefinedError4
EVasPlayUndefinedError3
EVasPlayUndefinedError2
EVasPlayUndefinedError1