Class SFTranscription

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol

public class SFTranscription
extends NSObject
implements NSSecureCoding
Since:
Available in iOS 10.0 and later.
  • Constructor Details

    • SFTranscription

      public SFTranscription()
    • SFTranscription

      protected SFTranscription​(NSObject.Handle h, long handle)
    • SFTranscription

      protected SFTranscription​(NSObject.SkipInit skipInit)
    • SFTranscription

      public SFTranscription​(NSCoder coder)
  • Method Details

    • getFormattedString

      public String getFormattedString()
    • getSegments

      public NSArray<SFTranscriptionSegment> getSegments()
    • getSpeakingRate

      @Deprecated public double getSpeakingRate()
      Deprecated.
      Deprecated in iOS 14.5. speakingRate is moved to SFSpeechRecognitionMetadata
      Since:
      Available in iOS 13.0 and later.
    • getAveragePauseDuration

      @Deprecated public double getAveragePauseDuration()
      Deprecated.
      Deprecated in iOS 14.5. averagePauseDuration is moved to SFSpeechRecognitionMetadata
      Since:
      Available in iOS 13.0 and later.
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • encode

      public void encode​(NSCoder coder)
      Specified by:
      encode in interface NSCoding
    • init

      protected long init​(NSCoder coder)