arduino-audio-tools
|
Abstract interface for classes that can provide MIME type information. More...
#include <MimeDetector.h>
Public Member Functions | |
virtual const char * | mime ()=0 |
Get the MIME type string. | |
Abstract interface for classes that can provide MIME type information.
This class defines a simple interface for objects that can determine and provide MIME type strings. It serves as a base class for various MIME detection and source identification implementations within the audio tools framework.
Classes implementing this interface should provide logic to determine the appropriate MIME type based on their specific context (e.g., file content, stream headers, file extensions, etc.).
|
pure virtual |
Get the MIME type string.
Pure virtual method that must be implemented by derived classes to return the appropriate MIME type string for the current context.
Implemented in MimeDetector, and AbstractURLStream.