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
Parameters
| Name | Type | Summary |
|---|---|---|
| metadata | FrameMetadata | - |
| image | Bitmap? | - |
| depthData | ByteArray? | - |
| depthConfidence | ByteArray? | - |
| compassTimestampBase | ClockBase | - |
Builds a
PlaybackFramefrom metadata and optional image/depth.camerais created from metadata.