Skip to content
Void Monster Docs

Type to search guides and API reference.

    libCamera/Developer docs

    Interface: CameraSession

    Public 1.13.0API 1.13.0

    @faeyumbrea/lib-camera-api-types


    @faeyumbrea/lib-camera-api-types / CameraSession

    Defined in: controller.d.ts:6

    readonly active: boolean

    Defined in: ownership.d.ts:18

    CameraClaim.active


    readonly consumerId: string

    Defined in: ownership.d.ts:16

    CameraClaim.consumerId


    move: (options, signal?) => Promise<MovementResult>

    Defined in: controller.d.ts:10

    MoveOptions

    AbortSignal

    Promise<MovementResult>


    release: () => void

    Defined in: ownership.d.ts:22

    A stale claim cannot release a newer claim.

    void

    CameraClaim.release


    retarget: (options, signal?) => Promise<MovementResult>

    Defined in: controller.d.ts:8

    Replace this claim’s current movement, continuing from the actual view.

    MoveOptions

    AbortSignal

    Promise<MovementResult>


    set3D: (view) => CameraResult3D

    Defined in: controller.d.ts:9

    CameraView3D

    CameraResult3D


    readonly signal: AbortSignal

    Defined in: ownership.d.ts:20

    Aborted exactly once. signal.reason is a ReleaseReason.

    CameraClaim.signal


    readonly userId: string

    Defined in: ownership.d.ts:17

    CameraClaim.userId