@rksan/mock-media-devices
Version:
WebAPI window.navigator.mediaDevices のモック
11 lines • 396 B
TypeScript
import type * as types from "../types";
export declare class MockMediaDeviceInfo implements types.MediaDeviceInfo {
#private;
constructor(options: types.mock.MediaDeviceInfoArgs);
get deviceId(): string;
get groupId(): string;
get kind(): types.mock.enum.MediaDeviceInfoKindEnum;
get label(): string;
toJSON(): JSON;
}
//# sourceMappingURL=MockMediaDeviceInfo.d.ts.map