Package org.robovm.apple.vision
Class VNRequest
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.vision.VNRequest
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
- Direct Known Subclasses:
VNImageBasedRequest
public class VNRequest extends NSObject
- Since:
- Available in iOS 11.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VNRequest.VNRequestPtr
-
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 VNRequest()
protected
VNRequest(NSObject.Handle h, long handle)
protected
VNRequest(NSObject.SkipInit skipInit)
VNRequest(org.robovm.objc.block.VoidBlock2<VNRequest,NSError> completionHandler)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.robovm.objc.block.VoidBlock2<VNRequest,NSError>
getCompletionHandler()
static long
getCurrentRevision()
static long
getDefaultRevision()
NSArray<?>
getResults()
long
getRevision()
static NSIndexSet
getSupportedRevisions()
protected long
init(org.robovm.objc.block.VoidBlock2<VNRequest,NSError> completionHandler)
boolean
isPreferBackgroundProcessing()
static long
RevisionUnspecified()
void
setPreferBackgroundProcessing(boolean v)
void
setRevision(long v)
void
setUsesCPUOnly(boolean v)
boolean
usesCPUOnly()
-
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
-
VNRequest
public VNRequest()
-
VNRequest
protected VNRequest(NSObject.Handle h, long handle)
-
VNRequest
protected VNRequest(NSObject.SkipInit skipInit)
-
-
Method Detail
-
isPreferBackgroundProcessing
public boolean isPreferBackgroundProcessing()
-
setPreferBackgroundProcessing
public void setPreferBackgroundProcessing(boolean v)
-
usesCPUOnly
public boolean usesCPUOnly()
-
setUsesCPUOnly
public void setUsesCPUOnly(boolean v)
-
getResults
public NSArray<?> getResults()
-
getCompletionHandler
public org.robovm.objc.block.VoidBlock2<VNRequest,NSError> getCompletionHandler()
-
getRevision
public long getRevision()
- Since:
- Available in iOS 12.0 and later.
-
setRevision
public void setRevision(long v)
- Since:
- Available in iOS 12.0 and later.
-
getSupportedRevisions
public static NSIndexSet getSupportedRevisions()
- Since:
- Available in iOS 12.0 and later.
-
getDefaultRevision
public static long getDefaultRevision()
- Since:
- Available in iOS 12.0 and later.
-
getCurrentRevision
public static long getCurrentRevision()
- Since:
- Available in iOS 12.0 and later.
-
RevisionUnspecified
public static long RevisionUnspecified()
- Since:
- Available in iOS 12.0 and later.
-
-