import { DateTimeUtil } from '@canvuus-internal/mvp0-task-core'; import { PlayingStatus } from './playing-status'; // "Voice memo" player. export interface VoicePlayer { // init(); reset(); dispose(); list(): string[]; // play applies the currently selected recording. // selected: string; selected(): (string | null); select(id: string): (string | null); canPlay(): boolean; isPlaying(): boolean; startPlaying(); pausePlaying(); resumePlaying(); stopPlaying(); // tbd: // play count for each recording? // tbd: // callback to get the current timestamp (for playing/recording) ??? // ... }