Remarks
Verifies if the Internet stream being recorded contains Tag information and, in case of multi-string Tags separated by NULL characters (like OGG Vorbis), returns the number of available strings. These strings can be retrieved one by one at a later time using the GetTagString method.
For details about recording from the Internet see the How to perform an Internet-based recording session section.
Syntax
[Visual Basic]
control.IsTagAvailable (
nTagType as enumTagTypes
) as Integer
|
|
[C++]
short control.IsTagAvailable (
short nTagType
);
|
|
Parameter
|
Description
|
|
|
nTagType
|
The type of Tag whose presence we need to check.
Supported values are the following:
Mnemonic value
|
Value
|
Meaning
|
TAGTYPE_ICY
|
2
|
ICY Shoutcast tag
|
TAGTYPE_METADATA
|
3
|
Shoutcast metadata
|
TAGTYPE_OGG
|
4
|
OGG Vorbis tag
|
TAGTYPE_WMA
|
5
|
Window Media Audio tag
|
TAGTYPE_MP4
|
6
|
MP4 tag
|
|
Return value
Value
|
Meaning
|
|
|
Negative value
|
An error occurred (see the LastError property for further error details)
|
0
|
The requested Tag is not available inside the loaded sound
|
>= 1
|
The requested Tag is available inside the loaded sound and this return value gives the number of found strings.
|
|