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)

void HandlePlayComplete ( TNssPlayResult aErrorCode ) [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 aErrorCode EVasErrorNone if playing was successfull

HandlePlayStarted(TTimeIntervalMicroSeconds32)

void HandlePlayStarted ( TTimeIntervalMicroSeconds32 aDuration ) [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