RRCaptureSessionPoseDetectionEvent

Objective-C

@interface RRCaptureSessionPoseDetectionEvent : RRCaptureSessionEvent

Swift

class RRCaptureSessionPoseDetectionEvent : RRCaptureSessionEvent

Capture event that signals a new pose detection result

  • Represents pose state on current video preview

    Declaration

    Objective-C

    @property (nonatomic) RRPoseState poseState;

    Swift

    var poseState: RRPoseState { get set }
  • Initializes RRCaptureSessionPoseDetectionEvent of PoseDetection type

    Declaration

    Objective-C

    + (RRCaptureSessionPoseDetectionEvent *)poseDetectionEventWithState:
        (RRPoseState)poseState;

    Swift

    /*not inherited*/ init!(state poseState: RRPoseState)

    Parameters

    poseState

    calculated with use of PoseDetection delegate reference

    Return Value

    pose detection event