# from Source: https://www.nianticspatial.com/docs/api/kotlin/com.nianticspatial.nsdk.playback.PlaybackFrame.from/ from Builds a [PlaybackFrame] from metadata and optional image/depth. [camera] is created from metadata. --- ## Declaration @Deprecated( "Capture.json schema type, to be removed in a future release. Frames come from " + "PlaybackDataset.getPlaybackFrameAtIndex().", level = DeprecationLevel.WARNING ) @Suppress("DEPRECATION") @JvmStatic @JvmOverloads fun from( metadata: FrameMetadata, image: Bitmap? = null, depthData: ByteArray? = null, depthConfidence: ByteArray? = null, compassTimestampBase: ClockBase = ClockBase.EPOCH ): PlaybackFrame #### Summary Builds a PlaybackFrame from metadata and optional image/depth. camera is created from metadata. ### Parameters | Name | Type | Summary | | --- | --- | --- | | metadata | FrameMetadata | - | | image | Bitmap? | - | | depthData | ByteArray? | - | | depthConfidence | ByteArray? | - | | compassTimestampBase | ClockBase | - | ---