KudanAR - iOS  1.6.0
<ARCameraStreamEvent> Protocol Reference

#import <ARCameraStream.h>

Inherits <NSObject>.

Inherited by ARCameraView.

Instance Methods

(void) - didReceiveNewFrame:timeStamp:
 
(void) - didReceiveNewFrameWithLuma:chroma:timeStamp:
 

Detailed Description

The ARCameraStreamEvents are a set of events that fire when the ARCamera receives a new frame.

Method Documentation

◆ didReceiveNewFrame:timeStamp:

- (void) didReceiveNewFrame: (NSData *)  data
timeStamp: (NSTimeInterval)  timeStamp 
optional

Event fired when the camera receives a new frame.

Parameters
dataContains the camera image data buffer in the format defined by cameraDataFormat.
timeStampThe time the frame was captured.

Reimplemented in ARCameraView.

◆ didReceiveNewFrameWithLuma:chroma:timeStamp:

- (void) didReceiveNewFrameWithLuma: (NSData *)  lumaData
chroma: (NSData *)  chromaData
timeStamp: (NSTimeInterval)  timeStamp 
optional

Event fired when the camera received a new colour frame.

Parameters
lumaDataContains the camera image data buffer containing the luma component channel.
chromaDataContains the camera image data buffer containing the blue-difference and red-difference chroma component interleaved channels in a biplanar buffer.
timeStampThe time the frame was captured.

The documentation for this protocol was generated from the following file: