Remarks
During a recording session started through the StartFromURL method and after the CallbackForRecordersEvents delegate has been invoked with the nEvent parameter set to EV_METATAG_CHANGED, retrieves a tag string sent by the provider. The availability of tag strings and their total number can be checked using the IsTagAvailable method.
For details about recording from the Internet see the How to perform an Internet-based recording session section.
Syntax
[Visual Basic]
Public Function GetTagString (
nTagType as enumTagTypes,
nStringIndex as Int16
) as Int16
|
|
[C#]
public Int16 GetTagString (
enumTagTypes nTagType,
Int16 nStringIndex
);
|
|
[C++]
public: Int16 GetTagString (
enumTagTypes nTagType,
Int16 nStringIndex
);
|
|
Parameter
|
Description
|
|
|
nPlayerIndex
|
Number representing the zero-based index of the involved player
|
nTagType
|
The type of Tag whose string must be retrieved.
Supported values are the following:
Mnemonic constant
|
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
|
|
nStringIndex
|
The zero-based index of the string to obtain: the total number of available strings can be retrieved using the IsTagAvailable method.
|
Return value
Value
|
Meaning
|
|
|
Empty string
|
An error occurred (see the LastError property for further error details)
|
Valid string
|
The requested string
|
|