Class NLModelConfiguration

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol

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

    • NLModelConfiguration

      public NLModelConfiguration()
    • NLModelConfiguration

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

      protected NLModelConfiguration​(NSObject.SkipInit skipInit)
    • NLModelConfiguration

      public NLModelConfiguration​(NSCoder coder)
  • Method Details

    • getType

      public NLModelType getType()
      Since:
      Available in iOS 12.0 and later.
    • getLanguage

      public NLLanguage getLanguage()
      Since:
      Available in iOS 12.0 and later.
    • getRevision

      public long getRevision()
      Since:
      Available in iOS 12.0 and later.
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • supportedRevisionsForType

      public static NSIndexSet supportedRevisionsForType​(NLModelType type)
      Since:
      Available in iOS 12.0 and later.
    • currentRevisionForType

      public static long currentRevisionForType​(NLModelType type)
      Since:
      Available in iOS 12.0 and later.
    • encode

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

      protected long init​(NSCoder coder)