PlaybackSessionDataSource
Declaration
final class PlaybackSessionDataSourceConstructors
init(session: PlaybackSession)
Properties
| Name | Type | Summary |
|---|---|---|
| var isReady | Bool |
Methods
| Name | Type | Summary |
|---|---|---|
| latestCameraSample | (image: CVPixelBuffer, intrinsics: NSDKCameraIntrinsics, pose: NSDKCameraExtrinsics, orientation: NSDKScreenOrientation, timestamp: UInt64)? | Returns the most recent camera sample, if available. - Returns: A tuple containing: - image: A retained CVPixelBuffer representing the captured image.- intrinsics: Camera intrinsic parameters for the image. - pose: The pose (extrinsics) of the camera associated with the image. - orientation: The device orientation of the camera associated with the image. - timestamp: Camera timestamp in milliseconds. |
| latestCompassSample | NSDKFrameData.CompassData? | Returns the most recent compass (heading) sample, if available. |
| latestDepthMapSample | (image: CVPixelBuffer, confidence: CVPixelBuffer?, intrinsics: NSDKCameraIntrinsics, pose: NSDKCameraExtrinsics, orientation: NSDKScreenOrientation, timestamp: UInt64)? | Returns the most recent platform depth sample, if available. - Returns: A tuple containing: - image: A retained CVPixelBuffer representing the captured image.- confidence: A pixel buffer containing the confidence level for each depth value in the image.- intrinsics: Camera intrinsic parameters for the image. - pose: The pose (extrinsics) of the camera associated with the image. - orientation: The device orientation of the camera associated with the image. - timestamp: Camera timestamp in milliseconds. |
| latestGpsSample | NSDKFrameData.GpsData? | Returns the most recent GPS sample, if available. |
| latestTrackingStateSample | NsdkTrackingState | Returns the most recent VIO tracking state report |
Relationships
conforms to: Swift.Copyable
conforms to: NSDKSessionDataSource
meaningful sensor data.