import"sbIMediacoreTypeSniffer.idl";
Public Member Functions | |
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... | |
Public Attributes | |
readonly attribute nsIStringEnumerator | audioFileExtensions |
Returns all audio file extensions. More... | |
readonly attribute nsIStringEnumerator | videoFileExtensions |
Returns all video file extensions. More... | |
readonly attribute nsIStringEnumerator | playlistFileExtensions |
Returns all playlist file extensions. More... | |
readonly attribute nsIStringEnumerator | imageFileExtensions |
Returns all image file extensions. More... | |
readonly attribute nsIStringEnumerator | mediaFileExtensions |
Returns all media file extensions. Media file extensions are a combination of audio, video file extensions. More... | |
readonly attribute nsIStringEnumerator | unsupportedVideoFileExtensions |
Returns all of the unsupported video file extensions for the mediacore. More... | |
Definition at line 33 of file sbIMediacoreTypeSniffer.idl.
boolean sbIMediacoreTypeSniffer::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.
aURL | - the URL to check |
boolean sbIMediacoreTypeSniffer::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.
aURL | - the URL to check |
boolean sbIMediacoreTypeSniffer::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.
aURL | - the URL to check |
boolean sbIMediacoreTypeSniffer::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.
aURL | - the URL to check |
boolean sbIMediacoreTypeSniffer::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.
aURL | - the URL to check |
boolean sbIMediacoreTypeSniffer::isValidWebSafePlaylistURL | ( | in nsIURI | aURL | ) |
Check to see if an url points to a playlist.
readonly attribute nsIStringEnumerator sbIMediacoreTypeSniffer::audioFileExtensions |
Returns all audio file extensions.
Definition at line 38 of file sbIMediacoreTypeSniffer.idl.
readonly attribute nsIStringEnumerator sbIMediacoreTypeSniffer::imageFileExtensions |
Returns all image file extensions.
Definition at line 53 of file sbIMediacoreTypeSniffer.idl.
readonly attribute nsIStringEnumerator sbIMediacoreTypeSniffer::mediaFileExtensions |
Returns all media file extensions. Media file extensions are a combination of audio, video file extensions.
Definition at line 59 of file sbIMediacoreTypeSniffer.idl.
readonly attribute nsIStringEnumerator sbIMediacoreTypeSniffer::playlistFileExtensions |
Returns all playlist file extensions.
Definition at line 48 of file sbIMediacoreTypeSniffer.idl.
readonly attribute nsIStringEnumerator sbIMediacoreTypeSniffer::unsupportedVideoFileExtensions |
Returns all of the unsupported video file extensions for the mediacore.
Definition at line 65 of file sbIMediacoreTypeSniffer.idl.
readonly attribute nsIStringEnumerator sbIMediacoreTypeSniffer::videoFileExtensions |
Returns all video file extensions.
Definition at line 43 of file sbIMediacoreTypeSniffer.idl.