mirror of
https://github.com/Boof2015/astra-mobile.git
synced 2026-08-20 04:30:54 +02:00
add cancel button to scanner
This commit is contained in:
@@ -87,6 +87,7 @@ export interface NativeScanResult {
|
||||
errors: number;
|
||||
total: number;
|
||||
catalogRevision: string;
|
||||
cancelled: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -135,6 +136,8 @@ declare class AstraLibraryScannerModuleType extends NativeModule<AstraLibrarySca
|
||||
mode: 'incremental' | 'full',
|
||||
extensions: string[]
|
||||
): Promise<NativeScanResult>;
|
||||
/** Cooperatively stop every active or queued library scan at its next safe checkpoint. */
|
||||
cancelScan(): void;
|
||||
/**
|
||||
* ONE whole-file PCM decode producing `bins` RMS waveform peaks and, when
|
||||
* `withLoudness`, gated integrated LUFS + sample peak. Both analyses need every
|
||||
|
||||
Reference in New Issue
Block a user