Skip to content
Void Monster Docs

Type to search guides and API reference.

    libCamera/Developer docs

    Interface: LocalConsumer

    Public 1.14.3API 1.14.3

    @faeyumbrea/lib-camera-api-types


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

    Defined in: controller.d.ts:21

    acquire: () => SessionResult

    Defined in: controller.d.ts:32

    SessionResult


    follow: (source, interval?) => { follow: CameraFollow; ok: true; } | { ok: false; reason: RejectionReason | "unavailable"; }

    Defined in: controller.d.ts:23

    () => MoveOptions | undefined

    number

    { follow: CameraFollow; ok: true; } | { ok: false; reason: RejectionReason | "unavailable"; }


    readonly id: string

    Defined in: controller.d.ts:22


    move: (options, signal?) => Promise<MovementResult | { reason: RejectionReason; status: "rejected"; }>

    Defined in: controller.d.ts:34

    Acquire, move, and release, including when movement fails.

    MoveOptions

    AbortSignal

    Promise<MovementResult | { reason: RejectionReason; status: "rejected"; }>


    set3D: (view) => CameraResult3D

    Defined in: controller.d.ts:31

    Acquire, set the 3D view immediately, and release.

    CameraView3D

    CameraResult3D


    unregister: () => void

    Defined in: controller.d.ts:38

    void