API reference

PhotoData Struct

Extends Sendable
A photo captured from a Meta Wearables device.

Signature

struct PhotoData: Sendable

Constructors

init ( data , format )
Signature
public init( data: Data,  format: PhotoCaptureFormat)
Parameters
data: Data

Properties

data : Data
The photo data in the specified format.
The format of the captured photo data.