public final class NSAttributes extends NBiometricAttributes
| Constructor and Description |
|---|
NSAttributes()
Creates new instance of NSAttributes.
|
NSAttributes(int phraseId)
Creates new instance of NSAttributes.
|
| Modifier and Type | Method and Description |
|---|---|
NVoice |
getOwner()
Gets owner object.
|
int |
getPhraseId()
Gets sound phrase Id.
|
double |
getSoundLevel()
Gets the sound level of the NSAttributes.
|
NSRecord |
getTemplate()
Gets voice template.
|
NSRecord |
getTemplate(boolean cache) |
long |
getVoiceDuration()
Gets the duration of the voice.
|
long |
getVoiceStart()
Gets the moment at which the voice starts.
|
boolean |
isVoiceDetected()
Checks whether the voice is detected.
|
static com.neurotec.lang.NType |
nativeTypeOf()
Retrieves the native type for the enclosing class.
|
void |
setIsVoiceDetected(boolean value)
Checks whether the voice is detected.
|
void |
setPhraseId(int value)
Sets sound phrase Id.
|
void |
setSoundLevel(double value)
Sets the sound level of the NSAttributes.
|
void |
setTemplate(NSRecord record) |
void |
setVoiceDuration(long value)
Sets the duration of the voice.
|
void |
setVoiceStart(long value)
Sets the moment at which the voice starts.
|
getBiometricType, getChild, getChildSubject, getQuality, getStatus, setQuality, setStatusaddListener, addPropertyChangeListener, captureProperties, claimHandle, clone, compareTo, copyProperties, dispose, disposeArray, equals, fromHandle, fromHandle, fromObject, getFlags, getHandle, getNativeType, getProperty, getProperty, getSize, getSize, getSizeMany, getSizeMany, hashCode, invoke, invoke, invoke, isDisposed, nObjectCallbackNativeTypeOf, nObjectPropertyChangedCallbackNativeTypeOf, ref, removeListener, removePropertyChangeListener, reset, resetProperty, save, save, save, save, save, save, save, save, save, save, save, save, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, setFlags, setProperty, setProperty, toHandle, toObject, toString, toString, unref, unrefArray, unrefElementspublic NSAttributes(int phraseId)
public NSAttributes()
public static com.neurotec.lang.NType nativeTypeOf()
public NVoice getOwner()
getOwner in class com.neurotec.lang.NObjectpublic int getPhraseId()
public void setPhraseId(int value)
value - Sound phrase Id.public NSRecord getTemplate()
public NSRecord getTemplate(boolean cache)
public void setTemplate(NSRecord record)
public long getVoiceStart()
public void setVoiceStart(long value)
value - The moment at which the voice starts.public long getVoiceDuration()
public void setVoiceDuration(long value)
value - The duration of the voice.public boolean isVoiceDetected()
public void setIsVoiceDetected(boolean value)
value - true if the voice is detected; else false.public double getSoundLevel()
public void setSoundLevel(double value)
value - The sound level value.Copyright © 2016 Neurotechnology. All rights reserved.