Dongxu Ma > Audio-TagLib-1.43 > Audio::TagLib::ID3v2::UniqueFileIdentifierFrame

Download:
Audio-TagLib-1.43.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Module Version: 1.41   Source   Latest Release: Audio-TagLib-1.50_01

NAME ^

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

SYNOPSIS ^

  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 ^

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 ^

Audio::TagLib Frame

AUTHOR ^

Dongxu Ma, <dongxu@cpan.org>

COPYRIGHT AND LICENSE ^

Copyright (C) 2005 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: