#include <sbMediacoreTypeSniffer.h>
|
NS_DECL_ISUPPORTS
NS_DECL_SBIMEDIACORETYPESNIFFER | sbMediacoreTypeSniffer () |
|
nsresult | Init () |
|
boolean | isValidMediaURL (in nsIURI aURL) |
| Check to see if an url points to media content This checks for a number of known file extensions and prefixes to see if the URL contains them and is therefore media. More...
|
|
boolean | isValidAudioURL (in nsIURI aURL) |
| Check to see if an url points to audio content This checks for a number of known file extensions to see if the URL contains them and is therefore audio. More...
|
|
boolean | isValidVideoURL (in nsIURI aURL) |
| Check to see if an url points to video content This checks for a number of known file extensions to see if the URL contains them and is therefore video. More...
|
|
boolean | isValidImageURL (in nsIURI aURL) |
| Check to see if an url points to image content This checks for a number of known file extensions to see if the URL contains them and is therefore image. More...
|
|
boolean | isValidPlaylistURL (in nsIURI aURL) |
| Check to see if an url points to a playlist This checks for a number of known file extensions to see if the URL contains them and is therefore a playlist. More...
|
|
boolean | isValidWebSafePlaylistURL (in nsIURI aURL) |
| Check to see if an url points to a playlist. More...
|
|
Definition at line 40 of file sbMediacoreTypeSniffer.h.
NS_DECL_ISUPPORTS NS_DECL_SBIMEDIACORETYPESNIFFER sbMediacoreTypeSniffer::sbMediacoreTypeSniffer |
( |
| ) |
|
nsresult sbMediacoreTypeSniffer::Init |
( |
| ) |
|
nsTHashtable<nsCStringHashKey> sbMediacoreTypeSniffer::mAllExtensions |
|
protected |
nsTHashtable<nsCStringHashKey> sbMediacoreTypeSniffer::mAudioExtensions |
|
protected |
nsTHashtable<nsCStringHashKey> sbMediacoreTypeSniffer::mBannedWebExtensions |
|
protected |
nsTHashtable<nsCStringHashKey> sbMediacoreTypeSniffer::mImageExtensions |
|
protected |
PRMonitor* sbMediacoreTypeSniffer::mMonitor |
|
protected |
nsTHashtable<nsCStringHashKey> sbMediacoreTypeSniffer::mPlaylistExtensions |
|
protected |
nsTHashtable<nsCStringHashKey> sbMediacoreTypeSniffer::mVideoExtensions |
|
protected |
The documentation for this class was generated from the following files: