MLKitPoseDetectionCommon Framework Reference

Type Definitions

The following type definitions are available globally.

  • @enum PoseDetectorMode Pose detector modes.

    Declaration

    Swift

    struct PoseDetectorMode : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
  • A block containing the pose detection results.

    Declaration

    Swift

    typealias PoseDetectionCallback = ([MLKPose]?, Error?) -> Void

    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

    Swift

    struct PoseLandmarkType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable