glasses(didReceiveCaptureEvent:data:)
Tells the delegate that the raw image data captured from the VIVE AI Glasses camera has been received.
func glasses(
didReceiveCaptureEvent event: CaptureEvent,
data: Data
)
Parameters
event
This notifies the system if the image capture attempt succeeded or failed.
data
This contains the raw byte stream of the capture image transmitted from VIVE AI Glasses.
See also
Image capture
func captureImage (quality: ImageQuality) async throws -> Int
Captures a single image with the specified quality settings.
Enumerations
enum ImageQuality
This defines the resolution and compression for images taken using the VIVE AI Glasses camera.
enum CaptureEvent
This indicates whether the image capture process succeeded or failed.