Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Speech Recognition Manager /
Chapter 1 - Speech Recognition Manager / Speech Recognition Manager Reference
Speech Recognition Manager Routines / Traversing Speech Objects


SRCountItems

You can use the SRCountItems function to determine the number of subitems in a container object.

pascal OSErr SRCountItems (SRSpeechObject container, long *count);
container
A speech object.
count
On exit, the number of subitems in the specified speech object.
DESCRIPTION
The SRCountItems function returns, in the count parameter, the number of subitems contained in the speech object specified by the container parameter. This function is useful only for speech objects that have distinguishable subitems, such as phrases (which contain words), paths (which contain words, phrases, and language models), and language models (which contain words, phrases, paths, and possibly other language models).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
22 JAN 1997