Class VNRequest

    • Constructor Detail

      • VNRequest

        public VNRequest()
      • VNRequest

        public VNRequest​(org.robovm.objc.block.VoidBlock2<VNRequest,​NSError> completionHandler)
    • 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.
      • init

        protected long init​(org.robovm.objc.block.VoidBlock2<VNRequest,​NSError> completionHandler)