• Resets the playback state to its initial values

    Completely resets all playback state data to default values, clearing all track information, device details, and internal tracking data. This is typically called when stopping monitoring or when a complete state reset is needed.

    Returns void

    // Reset state when stopping monitoring
    stopPlaybackMonitoring();
    resetPlaybackState();
    export function resetPlaybackState(): void {
    playbackState = { ...initialState };
    }