Type Definitions
The following type definitions are available globally.
-
@enum PoseDetectorMode Pose detector modes.
Declaration
Objective-C
typedef NSInteger MLKPoseDetectorMode
-
A block containing the pose detection results.
Declaration
Objective-C
typedef void (^MLKPoseDetectionCallback)(NSArray<MLKPose *> *_Nullable, NSError *_Nullable)
Parameters
poses
The array of poses detected in the given image or
nil
if there was an error. If no poses are detected, then an empty array will be returned.error
The error or
nil
. -
Defines a pose landmark type.
Declaration
Objective-C
typedef NSString *MLKPoseLandmarkType