You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
553 B
18 lines
553 B
|
7 months ago
|
import { CameraDevice } from "../../camera/core";
|
||
|
|
export declare class CameraSelectionUi {
|
||
|
|
private readonly selectElement;
|
||
|
|
private readonly options;
|
||
|
|
private readonly cameras;
|
||
|
|
private constructor();
|
||
|
|
private render;
|
||
|
|
disable(): void;
|
||
|
|
isDisabled(): boolean;
|
||
|
|
enable(): void;
|
||
|
|
getValue(): string;
|
||
|
|
hasValue(value: string): boolean;
|
||
|
|
setValue(value: string): void;
|
||
|
|
hasSingleItem(): boolean;
|
||
|
|
numCameras(): number;
|
||
|
|
static create(parentElement: HTMLElement, cameras: Array<CameraDevice>): CameraSelectionUi;
|
||
|
|
}
|