Class CommunicationCaptionsReceivedEvent


  • public final class CommunicationCaptionsReceivedEvent
    extends Object
    Describes an CaptionsReceived event for when new captions data comes in
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void finalize()
      Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
      CaptionsResultType getResultType()
      CaptionsResultType is Partial if text contains partially spoken sentence.
      CallerInfo getSpeaker()
      Information about the speaker in this caption.
      String getSpokenLanguage()
      language identifier for the speaker.
      String getSpokenText()
      Gets the transcribed text.
      Date getTimestamp()
      Timestamp denoting the time when the corresponding speech was made.
      • Methods inherited from class Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • finalize

        protected void finalize()
        Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
        Overrides:
        finalize in class Object
      • getSpeaker

        public CallerInfo getSpeaker()
        Information about the speaker in this caption.
      • getResultType

        public CaptionsResultType getResultType()
        CaptionsResultType is Partial if text contains partially spoken sentence. It is set to Final once the sentence has been completely transcribed.
      • getTimestamp

        public Date getTimestamp()
        Timestamp denoting the time when the corresponding speech was made. timestamp is received from call recorder in C# ticks since 1/1/1900 (NTP Epoch) timestamp is converted to ms since 1/1/1970 (UNIX Epoch) 10000 C# ticks / 1 ms
      • getSpokenText

        public String getSpokenText()
        Gets the transcribed text.
      • getSpokenLanguage

        public String getSpokenLanguage()
        language identifier for the speaker. Ex: en-US.