Gphoto2::MusicFile Class Reference

Represents a music track. More...

Inheritance diagram for Gphoto2::MusicFile:

Inheritance graph
[legend]
Collaboration diagram for Gphoto2::MusicFile:

Collaboration graph
[legend]

Public Member Functions

 MusicFile (string directory, string filename)
 Creates a new music file.
override bool Equals (object o)
 Creates a new file from the supplied stream.
bool Equals (MusicFile file)
override int GetHashCode ()

Properties

string Album [get, set]
string Artist [get, set]
int Bitrate [get, set]
int Duration [get, set]
string Format [get, set]
string Genre [get, set]
string Title [get, set]
int Track [get, set]
int UseCount [get, set]
int Year [get, set]

Detailed Description

Represents a music track.


Constructor & Destructor Documentation

Gphoto2::MusicFile::MusicFile ( string  directory,
string  filename 
) [inline]

Creates a new music file.

Parameters:
directory The path to the track A System::String
filename The filename of the track A System::String


Member Function Documentation

override bool Gphoto2::MusicFile::Equals ( object  o  )  [inline]

Creates a new file from the supplied stream.

Parameters:
stream The stream containing the file data A Stream


Property Documentation

string Gphoto2::MusicFile::Album [get, set]

The name of the album

string Gphoto2::MusicFile::Artist [get, set]

The name of the artist

int Gphoto2::MusicFile::Bitrate [get, set]

The bitrate of the track

int Gphoto2::MusicFile::Duration [get, set]

The duration of the track in seconds

string Gphoto2::MusicFile::Format [get, set]

The format of the track

string Gphoto2::MusicFile::Genre [get, set]

The genre of the track

string Gphoto2::MusicFile::Title [get, set]

The title of the track

int Gphoto2::MusicFile::Track [get, set]

The tracknumber of the track

int Gphoto2::MusicFile::UseCount [get, set]

The number of times the track has been played

int Gphoto2::MusicFile::Year [get, set]

The year the track was recorded


The documentation for this class was generated from the following file:
Generated on Fri Mar 28 11:45:02 2008 for libgphoto2 Mono/.NET bindings (libgphoto2-sharp) API by  doxygen 1.5.1