Package org.robovm.apple.vision
Class VNFaceObservation
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.vision.VNObservation
org.robovm.apple.vision.VNDetectedObjectObservation
org.robovm.apple.vision.VNFaceObservation
- All Implemented Interfaces:
NSCoding,NSObjectProtocol,NSSecureCoding,VNRequestRevisionProviding,ObjCProtocol
public class VNFaceObservation extends VNDetectedObjectObservation
- Since:
- Available in iOS 11.0 and later.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVNFaceObservation.VNFaceObservationPtrNested classes/interfaces inherited from class org.robovm.apple.vision.VNDetectedObjectObservation
VNDetectedObjectObservation.VNDetectedObjectObservationPtrNested classes/interfaces inherited from class org.robovm.apple.vision.VNObservation
VNObservation.VNObservationPtrNested 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
Constructors Modifier Constructor Description VNFaceObservation()VNFaceObservation(long requestRevision, CGRect boundingBox, NSNumber roll, NSNumber yaw)Deprecated.Deprecated in iOS 15.0.VNFaceObservation(long requestRevision, CGRect boundingBox, NSNumber roll, NSNumber yaw, NSNumber pitch)protectedVNFaceObservation(NSObject.Handle h, long handle)protectedVNFaceObservation(NSObject.SkipInit skipInit) -
Method Summary
Modifier and Type Method Description protected static longcreate(long requestRevision, CGRect boundingBox, NSNumber roll, NSNumber yaw)Deprecated.Deprecated in iOS 15.0.protected static longcreate(long requestRevision, CGRect boundingBox, NSNumber roll, NSNumber yaw, NSNumber pitch)NSNumbergetFaceCaptureQuality()VNFaceLandmarks2DgetLandmarks()NSNumbergetPitch()NSNumbergetRoll()NSNumbergetYaw()static booleansupportsSecureCoding()Methods inherited from class org.robovm.apple.vision.VNDetectedObjectObservation
create, create, getBoundingBox, getGlobalSegmentationMaskMethods inherited from class org.robovm.apple.vision.VNObservation
encode, getConfidence, getRequestRevision, getTimeRange, getUuid, initMethods 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
-
VNFaceObservation
public VNFaceObservation() -
VNFaceObservation
-
VNFaceObservation
-
VNFaceObservation
@Deprecated public VNFaceObservation(long requestRevision, CGRect boundingBox, NSNumber roll, NSNumber yaw)Deprecated.Deprecated in iOS 15.0. Use -faceObservationWithRequestRevision:boundingBox:roll:yaw:- Since:
- Available in iOS 12.0 and later.
-
VNFaceObservation
public VNFaceObservation(long requestRevision, CGRect boundingBox, NSNumber roll, NSNumber yaw, NSNumber pitch)- Since:
- Available in iOS 15.0 and later.
-
-
Method Details
-
getLandmarks
-
getFaceCaptureQuality
- Since:
- Available in iOS 13.0 and later.
-
getRoll
- Since:
- Available in iOS 12.0 and later.
-
getYaw
- Since:
- Available in iOS 12.0 and later.
-
getPitch
- Since:
- Available in iOS 15.0 and later.
-
supportsSecureCoding
public static boolean supportsSecureCoding() -
create
@Deprecated protected static long create(long requestRevision, CGRect boundingBox, NSNumber roll, NSNumber yaw)Deprecated.Deprecated in iOS 15.0. Use -faceObservationWithRequestRevision:boundingBox:roll:yaw:- Since:
- Available in iOS 12.0 and later.
-
create
protected static long create(long requestRevision, CGRect boundingBox, NSNumber roll, NSNumber yaw, NSNumber pitch)- Since:
- Available in iOS 15.0 and later.
-