The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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>

MAINTAINER

Geoffrey Leach GLEACH@cpan.org

COPYRIGHT AND LICENSE

Copyright (C) 2005-2010 by Dongxu Ma

Copyright (C) 2011 - 2012 Geoffrey Leach

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.