Return values:
audio
An audio MMO.
fax
A fax MMO.
text
A textual MMO.
unknown
The type is unknown. Until an MMO is assigned to after creation, its
type is unknown. You can reassign a new value to a writable MMO and
give it a different type.
*
mmo func
length
Description
This function returns the length of the MMO. The length value returned depends on the MMO type.
Return values:
seconds
For audio MMOs, the length returned is the number of seconds of audio.
pages
For fax MMOs, the length of the fax in pages.
characters
For textual MMOs, the length of the text in characters. For Unicode,
it is still the character length, which will be half the byte count since
Unicode uses 16-bit characters.
Error codes:
errorCode
Description
UNKNOWNTYPE
The MMO has not been assigned to yet so the type is unknown.
*
mmo func
audio length
Description
This function is just like the
length
member function, but it returns the length of an audio recording in
milliseconds rather than in seconds. The extra precision is sometimes needed in the TUI.
An MMO of a category other than audio will return 0 as the result of this function.
Error codes:
errorCode
Description
UNKNOWNTYPE
The MMO has not been assigned to yet so the type is unknown.
*
mmo func
format
Description
This function returns the format of the MMO. The format returned depends on the MMO type.
65