Package ai.picovoice.falcon
Class FalconSegment
- java.lang.Object
-
- ai.picovoice.falcon.FalconSegment
-
public class FalconSegment extends java.lang.ObjectFalconSegment class.
-
-
Constructor Summary
Constructors Constructor Description FalconSegment(float startSec, float endSec, int speakerTag)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetEndSec()Getter for the end of segment in seconds.intgetSpeakerTag()Getter for the speaker tag.floatgetStartSec()Getter for the start of segment in seconds.
-
-
-
Method Detail
-
getStartSec
public float getStartSec()
Getter for the start of segment in seconds.- Returns:
- Start of segment in seconds.
-
getEndSec
public float getEndSec()
Getter for the end of segment in seconds.- Returns:
- End of segment in seconds.
-
getSpeakerTag
public int getSpeakerTag()
Getter for the speaker tag.- Returns:
- Speaker tag.
-
-