Skip to main content
←API Reference ←NSDK

PlaybackSessionDataSource


Declaration​

final class PlaybackSessionDataSource

Constructors​

init(session: PlaybackSession)

Properties​

NameTypeSummary
var isReadyBool
Indicates whether the data source is currently able to provide
meaningful sensor data.

Methods​

NameTypeSummary
latestCameraSample(image: CVPixelBuffer, intrinsics: NSDKCameraIntrinsics, pose: NSDKCameraExtrinsics, orientation: NSDKScreenOrientation, timestamp: UInt64)?
Returns the most recent camera sample, if available.
latestCompassSampleNSDKFrameData.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.
latestGpsSampleNSDKFrameData.GpsData?
Returns the most recent GPS sample, if available.
latestTrackingStateSampleNsdkTrackingState
Returns the most recent VIO tracking state report

Relationships​

conforms to: NSDKSessionDataSource
conforms to: Swift.Copyable