Copyright © 2006-2026 MultiMedia Soft

GetTagString method

Previous pageReturn to chapter overviewNext page

Remarks

 

During a recording session started through the StartFromURL method and after receiving the MetaTagChaned event, 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]

control.GetTagString (

nTagType as enumTagTypes,

nStringIndex as Integer

) as String


 

[C++]

LPCTSTR control.GetTagString (

short nTagType,

short nStringIndex

);


 

 

Parameter

Description

 

 

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