Package org.robovm.apple.coreml
Class MLFeatureValue
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.coreml.MLFeatureValue
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class MLFeatureValue extends NSObject
- Since:
- Available in iOS 11.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MLFeatureValue.MLFeatureValuePtr
-
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 MLFeatureValue()
MLFeatureValue(double value)
MLFeatureValue(long value)
MLFeatureValue(java.lang.String value)
MLFeatureValue(MLFeatureType type)
MLFeatureValue(MLMultiArray value)
MLFeatureValue(MLSequence sequence)
MLFeatureValue(CVPixelBuffer value)
MLFeatureValue(NSDictionary<?,NSNumber> value)
protected
MLFeatureValue(NSObject.Handle h, long handle)
protected
MLFeatureValue(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static long
create(double value)
protected static long
create(long value)
protected static long
create(java.lang.String value)
protected static long
create(MLFeatureType type)
protected static long
create(MLMultiArray value)
protected static long
create(MLSequence sequence)
protected static long
create(CVPixelBuffer value)
protected static long
create(NSDictionary<?,NSNumber> value, NSError.NSErrorPtr error)
NSDictionary<?,NSNumber>
getDictionaryValue()
double
getDoubleValue()
CVPixelBuffer
getImageBufferValue()
long
getInt64Value()
MLMultiArray
getMultiArrayValue()
MLSequence
getSequenceValue()
java.lang.String
getStringValue()
MLFeatureType
getType()
boolean
isEqualToFeatureValue(MLFeatureValue value)
boolean
isUndefined()
-
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
-
MLFeatureValue
public MLFeatureValue()
-
MLFeatureValue
protected MLFeatureValue(NSObject.Handle h, long handle)
-
MLFeatureValue
protected MLFeatureValue(NSObject.SkipInit skipInit)
-
MLFeatureValue
public MLFeatureValue(long value)
-
MLFeatureValue
public MLFeatureValue(double value)
-
MLFeatureValue
public MLFeatureValue(java.lang.String value)
-
MLFeatureValue
public MLFeatureValue(MLMultiArray value)
-
MLFeatureValue
public MLFeatureValue(CVPixelBuffer value)
-
MLFeatureValue
public MLFeatureValue(MLSequence sequence)
- Since:
- Available in iOS 12.0 and later.
-
MLFeatureValue
public MLFeatureValue(MLFeatureType type)
-
MLFeatureValue
public MLFeatureValue(NSDictionary<?,NSNumber> value) throws NSErrorException
- Throws:
NSErrorException
-
-
Method Detail
-
getType
public MLFeatureType getType()
-
isUndefined
public boolean isUndefined()
-
getInt64Value
public long getInt64Value()
-
getDoubleValue
public double getDoubleValue()
-
getStringValue
public java.lang.String getStringValue()
-
getMultiArrayValue
public MLMultiArray getMultiArrayValue()
-
getDictionaryValue
public NSDictionary<?,NSNumber> getDictionaryValue()
-
getImageBufferValue
public CVPixelBuffer getImageBufferValue()
-
getSequenceValue
public MLSequence getSequenceValue()
- Since:
- Available in iOS 12.0 and later.
-
isEqualToFeatureValue
public boolean isEqualToFeatureValue(MLFeatureValue value)
-
create
protected static long create(long value)
-
create
protected static long create(double value)
-
create
protected static long create(java.lang.String value)
-
create
protected static long create(MLMultiArray value)
-
create
protected static long create(CVPixelBuffer value)
-
create
protected static long create(MLSequence sequence)
- Since:
- Available in iOS 12.0 and later.
-
create
protected static long create(MLFeatureType type)
-
create
protected static long create(NSDictionary<?,NSNumber> value, NSError.NSErrorPtr error)
-
-