Package org.robovm.apple.naturallanguage
Class NLModelConfiguration
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.naturallanguage.NLModelConfiguration
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
public class NLModelConfiguration extends NSObject implements NSSecureCoding
- Since:
- Available in iOS 12.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NLModelConfiguration.NLModelConfigurationPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description NLModelConfiguration()
NLModelConfiguration(NSCoder decoder)
protected
NLModelConfiguration(NSObject.Handle h, long handle)
protected
NLModelConfiguration(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static long
currentRevisionForType(NLModelType type)
void
encode(NSCoder coder)
NLLanguage
getLanguage()
long
getRevision()
NLModelType
getType()
protected long
init(NSCoder decoder)
static NSIndexSet
supportedRevisionsForType(NLModelType type)
static boolean
supportsSecureCoding()
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
NLModelConfiguration
public NLModelConfiguration()
-
NLModelConfiguration
protected NLModelConfiguration(NSObject.Handle h, long handle)
-
NLModelConfiguration
protected NLModelConfiguration(NSObject.SkipInit skipInit)
-
NLModelConfiguration
public NLModelConfiguration(NSCoder decoder)
-
-
Method Detail
-
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.
-
init
protected long init(NSCoder decoder)
-
-