API reference

PhotoData Interface

Represents photo data captured from a Meta Wearables device. Can be in different formats depending on the capture configuration.

See Also

    Signature

    interface PhotoData

    Inner Classes

    HEIC Class

    Implements PhotoData
    Modifiers: final
    Photo data in HEIC format.

    Signature

    data class HEIC(val data: ByteBuffer) : PhotoData

    Constructors

    HEIC ( data )
    Signature
    constructor(data: ByteBuffer)
    Parameters
    data: ByteBuffer  The ByteBuffer containing the HEIC-encoded photo data
    Returns
    PhotoData.HEIC

    Properties

    data : ByteBuffer
    [Get]
    The ByteBuffer containing the HEIC-encoded photo data
    Signature
    val data: ByteBuffer

    Bitmap Class

    Implements PhotoData
    Modifiers: final
    Photo data as an Android Bitmap.

    Constructors

    Bitmap ( bitmap )
    Signature
    constructor(bitmap: android.graphics.Bitmap)
    Parameters
    bitmap: android.graphics.Bitmap  The Android Bitmap containing the decoded photo data
    Returns
    PhotoData.Bitmap

    Properties

    bitmap : android.graphics.Bitmap
    [Get]
    The Android Bitmap containing the decoded photo data
    Signature
    val bitmap: android.graphics.Bitmap