UNPKG

@scandit/web-datacapture-core

Version:

Scandit Data Capture SDK for the Web

18 lines (15 loc) 448 B
/// <reference types="emscripten" /> import { Serializable } from './private/Serializable.js'; interface SoundJSON { resource?: string; } declare class Sound implements Serializable<SoundJSON> { private static _defaultSound; resource: string | null; private audio; constructor(resource: string | null); static get defaultSound(): Sound; toJSONObject(): SoundJSON; private play; } export { Sound, type SoundJSON };