TTtsSegment Class Reference
Class to store segment information
nssttscommon.lib
-
Since
-
2.8
Constructor & Destructor Documentation
TTtsSegment(const TTtsStyleID, const TDesC &, const TDesC8 &, const TTimeIntervalMicroSeconds32 &)
C++ default constructor.
-
Since
-
2.8
Member Functions Documentation
PhonemeSequencePtr()
IMPORT_C const
TDesC8
&
|
PhonemeSequencePtr
|
(
|
)
|
const
|
Returns phoneme sequence pointer of the segment.
-
Since
-
2.8
ResetStyle()
IMPORT_C void
|
ResetStyle
|
(
|
)
|
|
Resets previously set style and segment will use the style ID.
SetPhonemeSequencePtr(const TDesC8 &)
IMPORT_C void
|
SetPhonemeSequencePtr
|
(
|
const
TDesC8
&
|
aPhonemeSequence
|
)
|
|
Sets phoneme sequence pointer. The phoneme sequence cannot be deleted during the life time of this object.
-
Since
-
2.8
Parameters
const
TDesC8
& aPhonemeSequence
|
Phoneme sequence.
|
SetStyle(TTtsStyle &)
IMPORT_C void
|
SetStyle
|
(
|
TTtsStyle
&
|
aStyle
|
)
|
|
Sets style object for segment.
SetStyleID(TTtsStyleID)
Sets style for segment. The style cannot be deleted during this object life time.
-
Since
-
2.8
SetTextPtr(const TDesC &)
IMPORT_C void
|
SetTextPtr
|
(
|
const
TDesC
&
|
aText
|
)
|
|
Sets text pointer. The text cannot be deleted during the life time of this object.
-
Since
-
2.8
Parameters
const
TDesC
& aText
|
Text.
|
SetTrailingSilenceL(const TTimeIntervalMicroSeconds32 &)
Sets duration of trailing silence.
-
Since
-
2.8
StyleID()
Returns identifier of used style.
-
Since
-
2.8
TextPtr()
IMPORT_C const
TDesC
&
|
TextPtr
|
(
|
)
|
const
|
Returns text pointer of the segment.
-
Since
-
2.8
TrailingSilence()
Gets duration of trailing silence.
-
Since
-
2.8
Member Data Documentation
TBool
iIncludesStyle
TBool
|
iIncludesStyle
|
[private]
|
TPtrC8
iPhonemeSequence
TPtrC8
|
iPhonemeSequence
|
[private]
|
TTimeIntervalMicroSeconds32
iTrailingSilenceDuration
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.