Modules | Files | Inheritance Tree | Inheritance Graph | Name Index
module GNOME::Speech::Recognition
interface SpeakerProfile
Files: GNOME_Speech.idl
GNOME-Speech-Recognition-SpeakerProfile-inheritance GNOME-Speech-SpeechObject.html Bonobo-Unknown.html
Operations Summary:
 booleanequals(in SpeakerProfile anObject)
 stringgetId()
 voidsetId(in string identifier) raises
 stringgetName()
 voidsetName(in string name)
 stringgetVariant()
 voidsetVariant(in string variant)
 booleanmatch(in SpeakerProfile require)

Operations Inherited from Bonobo::Unknown
ref, unref, queryInterface

Operation Details:
 boolean equals(in SpeakerProfile anObject)

True if and only if the input parameter is not null and is a SpeakerProfile with equal values of all properties.

Return:
true if and only if the input parameter is not null and is a SpeakerProfile with equal values of all properties.


 string getId()

Return the SpeakerProfile identifier.

Return:
the SpeakerProfile identifier.


 void setId(in string identifier) raises (IllegalArgumentException)

Set the SpeakerProfile identifier. The identifier should be a human-readable string. The identifier string must be unique for a recognizer. The identifier is sometimes the concatenation of the user name and variants strings.

If the SpeakerProfile object is one returned from a recognizer's SpeakerManager, setting the identifier changes the persistent speaker data of the recognizer.

Parameters:
identifier - the SpeakerProfile identifier.


 string getName()

Return the speaker name.

Return:
the speaker name.


 void setName(in string name)

Set the speaker name. The speaker name should be a human-readable string. The speaker name does not need to be unique for a recognizer. (A speaker with more than one profile must have a separate variant for each).

If the SpeakerProfile object is one returned from a recognizer's SpeakerManager, setting the name changes the persistent speaker data of the recognizer.

Parameters:
name - the speaker name.


 string getVariant()

Get the variant description.

Return:
the variant description.


 void setVariant(in string variant)

Set the variant description. The variant should be a human-readable string. A speaker with more than one SpeakerProfile should have a different variant description for each profile. If a speaker has only one profile, the variant description may be null.

If the SpeakerProfile object is one returned from a recognizer's SpeakerManager, setting the variant changes the persistent speaker data of the recognizer.

Parameters:
variant - the variant description.


 boolean match(in SpeakerProfile require)

Returns true if this object matches the @require object. A match requires that each non-null or non-zero-length string property of the required object be an exact string match to the properties of this object.

Parameters:
require - the SpeakerProfile to be matched against.
Return:
true if this object matches the @require object.