Audio::TagLib::ID3v2::UniqueFileIdentifierFrame - An implementation of ID3v2


Audio-TagLib documentation Contained in the Audio-TagLib distribution.

Index


Code Index:

NAME

Top

Audio::TagLib::ID3v2::UniqueFileIdentifierFrame - An implementation of ID3v2 unique identifier frames

SYNOPSIS

Top

  use Audio::TagLib::ID3v2::UniqueFileIdentifierFrame;

  my $i = Audio::TagLib::ID3v2::UniqueFileIdentifierFrame->new(
    Audio::TagLib::ByteVector->new(""));
  $i->setOwner(Audio::TagLib::String->new("blah"));
  print $i->owner()->toCString(), "\n"; # got "blah"

DESCRIPTION

Top

This is an implementation of ID3v2 unique file identifier frames. This frame is used to identify the file in an arbitrary database identified by the owner field.

new(ByteVector $data)

Creates a uniqe file identifier frame based on $data.

new(String $owner, ByteVector $id)

Creates a unique file identifier frame with the owner $owner and the identification $id.

String owner()

Returns the owner for the frame; essentially this is the key for determining which identification scheme this key belongs to. This will usually either be an email address or URL for the person or tool used to create the unique identifier.

see setOwner()

ByteVector identifier()

Returns the unique identifier. Though sometimes this is a text string it also may be binary data and as much should be assumed when handling it.

void setOwner(String $s)

Sets the owner of the identification scheme to $s.

see owner()

void setIdentifier(ByteVector $v)

Sets the unique file identifier to $v.

see identifier()

String toString()

see Audio::TagLib::ID3v2::Frame::toString()

EXPORT

None by default.

SEE ALSO

Top

Audio::TagLib Frame

AUTHOR

Top

Dongxu Ma, <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Top


Audio-TagLib documentation Contained in the Audio-TagLib distribution.

package Audio::TagLib::ID3v2::UniqueFileIdentifierFrame;

use 5.008003;
use strict;
use warnings;

our $VERSION = '1.41';

use Audio::TagLib;

our @ISA = qw(Audio::TagLib::ID3v2::Frame);

# Preloaded methods go here.

1;
__END__
# Below is stub documentation for your module. You'd better edit it!