Skip to content
Void Monster Docs

Type to search guides and API reference.

    libCamera/Developer docs

    Interface: LocalConsumer

    Public 1.14.0API 1.14.0

    @faeyumbrea/lib-camera-api-types


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

    Defined in: controller.d.ts:19

    acquire: () => SessionResult

    Defined in: controller.d.ts:30

    SessionResult


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

    Defined in: controller.d.ts:21

    () => MoveOptions | undefined

    number

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


    readonly id: string

    Defined in: controller.d.ts:20


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

    Defined in: controller.d.ts:32

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

    MoveOptions

    AbortSignal

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


    set3D: (view) => CameraResult3D

    Defined in: controller.d.ts:29

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

    CameraView3D

    CameraResult3D


    unregister: () => void

    Defined in: controller.d.ts:36

    void