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:
NSCoding,NSObjectProtocol,NSSecureCoding,ObjCProtocol
public class MLFeatureValue extends NSObject implements NSSecureCoding
- Since:
- Available in iOS 11.0 and later.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMLFeatureValue.MLFeatureValuePtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description protected static longcreate(double value)protected static longcreate(long value)protected static longcreate(String value)protected static longcreate(CGImage cgImage, long pixelsWide, long pixelsHigh, int pixelFormatType, MLFeatureValueImageOption options, NSError.NSErrorPtr error)protected static longcreate(CGImage cgImage, MLImageConstraint constraint, MLFeatureValueImageOption options, NSError.NSErrorPtr error)protected static longcreate(CGImage cgImage, CGImagePropertyOrientation orientation, long pixelsWide, long pixelsHigh, int pixelFormatType, MLFeatureValueImageOption options, NSError.NSErrorPtr error)protected static longcreate(CGImage cgImage, CGImagePropertyOrientation orientation, MLImageConstraint constraint, MLFeatureValueImageOption options, NSError.NSErrorPtr error)protected static longcreate(MLFeatureType type)protected static longcreate(MLMultiArray value)protected static longcreate(MLSequence sequence)protected static longcreate(CVPixelBuffer value)protected static longcreate(NSDictionary<?,NSNumber> value, NSError.NSErrorPtr error)protected static longcreate(NSURL url, long pixelsWide, long pixelsHigh, int pixelFormatType, MLFeatureValueImageOption options, NSError.NSErrorPtr error)protected static longcreate(NSURL url, MLImageConstraint constraint, MLFeatureValueImageOption options, NSError.NSErrorPtr error)protected static longcreate(NSURL url, CGImagePropertyOrientation orientation, long pixelsWide, long pixelsHigh, int pixelFormatType, MLFeatureValueImageOption options, NSError.NSErrorPtr error)protected static longcreate(NSURL url, CGImagePropertyOrientation orientation, MLImageConstraint constraint, MLFeatureValueImageOption options, NSError.NSErrorPtr error)voidencode(NSCoder coder)NSDictionary<?,NSNumber>getDictionaryValue()doublegetDoubleValue()CVPixelBuffergetImageBufferValue()longgetInt64Value()MLMultiArraygetMultiArrayValue()MLSequencegetSequenceValue()StringgetStringValue()MLFeatureTypegetType()protected longinit(NSCoder coder)booleanisEqualToFeatureValue(MLFeatureValue value)booleanisUndefined()static booleansupportsSecureCoding()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, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Constructor Details
-
MLFeatureValue
public MLFeatureValue() -
MLFeatureValue
-
MLFeatureValue
-
MLFeatureValue
public MLFeatureValue(long value) -
MLFeatureValue
public MLFeatureValue(double value) -
MLFeatureValue
-
MLFeatureValue
-
MLFeatureValue
-
MLFeatureValue
- Since:
- Available in iOS 12.0 and later.
-
MLFeatureValue
-
MLFeatureValue
- Throws:
NSErrorException
-
MLFeatureValue
public MLFeatureValue(NSURL url, long pixelsWide, long pixelsHigh, int pixelFormatType, MLFeatureValueImageOption options) throws NSErrorException- Throws:
NSErrorException
-
MLFeatureValue
public MLFeatureValue(NSURL url, MLImageConstraint constraint, MLFeatureValueImageOption options) throws NSErrorException- Throws:
NSErrorException
-
MLFeatureValue
public MLFeatureValue(CGImage cgImage, long pixelsWide, long pixelsHigh, int pixelFormatType, MLFeatureValueImageOption options) throws NSErrorException- Throws:
NSErrorException
-
MLFeatureValue
public MLFeatureValue(CGImage cgImage, MLImageConstraint constraint, MLFeatureValueImageOption options) throws NSErrorException- Throws:
NSErrorException
-
MLFeatureValue
public MLFeatureValue(NSURL url, CGImagePropertyOrientation orientation, long pixelsWide, long pixelsHigh, int pixelFormatType, MLFeatureValueImageOption options) throws NSErrorException- Throws:
NSErrorException
-
MLFeatureValue
public MLFeatureValue(NSURL url, CGImagePropertyOrientation orientation, MLImageConstraint constraint, MLFeatureValueImageOption options) throws NSErrorException- Throws:
NSErrorException
-
MLFeatureValue
public MLFeatureValue(CGImage cgImage, CGImagePropertyOrientation orientation, long pixelsWide, long pixelsHigh, int pixelFormatType, MLFeatureValueImageOption options) throws NSErrorException- Throws:
NSErrorException
-
MLFeatureValue
public MLFeatureValue(CGImage cgImage, CGImagePropertyOrientation orientation, MLImageConstraint constraint, MLFeatureValueImageOption options) throws NSErrorException- Throws:
NSErrorException
-
MLFeatureValue
-
-
Method Details
-
getType
-
isUndefined
public boolean isUndefined() -
getInt64Value
public long getInt64Value() -
getDoubleValue
public double getDoubleValue() -
getStringValue
-
getMultiArrayValue
-
getDictionaryValue
-
getImageBufferValue
-
getSequenceValue
- Since:
- Available in iOS 12.0 and later.
-
supportsSecureCoding
public static boolean supportsSecureCoding() -
isEqualToFeatureValue
-
create
protected static long create(long value) -
create
protected static long create(double value) -
create
-
create
-
create
-
create
- Since:
- Available in iOS 12.0 and later.
-
create
-
create
-
create
protected static long create(NSURL url, long pixelsWide, long pixelsHigh, int pixelFormatType, MLFeatureValueImageOption options, NSError.NSErrorPtr error) -
create
protected static long create(NSURL url, MLImageConstraint constraint, MLFeatureValueImageOption options, NSError.NSErrorPtr error) -
create
protected static long create(CGImage cgImage, long pixelsWide, long pixelsHigh, int pixelFormatType, MLFeatureValueImageOption options, NSError.NSErrorPtr error) -
create
protected static long create(CGImage cgImage, MLImageConstraint constraint, MLFeatureValueImageOption options, NSError.NSErrorPtr error) -
create
protected static long create(NSURL url, CGImagePropertyOrientation orientation, long pixelsWide, long pixelsHigh, int pixelFormatType, MLFeatureValueImageOption options, NSError.NSErrorPtr error) -
create
protected static long create(NSURL url, CGImagePropertyOrientation orientation, MLImageConstraint constraint, MLFeatureValueImageOption options, NSError.NSErrorPtr error) -
create
protected static long create(CGImage cgImage, CGImagePropertyOrientation orientation, long pixelsWide, long pixelsHigh, int pixelFormatType, MLFeatureValueImageOption options, NSError.NSErrorPtr error) -
create
protected static long create(CGImage cgImage, CGImagePropertyOrientation orientation, MLImageConstraint constraint, MLFeatureValueImageOption options, NSError.NSErrorPtr error) -
encode
-
init
-