Definition
- Namespace:
- Tizen.Multimedia
- Assembly:
- Tizen.Multimedia.Metadata.dll
- API Level:
- 3
- Privilege Level:
- public
- Privilege:
- If you want to access only an internal storage,
you should add privilege http://tizen.org/privilege/mediastorage.
Or if you want to access only an external storage,
you should add privilege http://tizen.org/privilege/externalstorage.
Provides a means to edit the metadata of MP3 and MP4 files.
Since 6.0, WAV, FLAC, OGG files are supported as well.
public class MetadataEditor : IDisposable
- Inheritance
-
Constructors
Declaration
public MetadataEditor(string path)
Parameters
Type |
Name |
Description |
String |
path |
The path of the media file to edit the metadata.
|
Exceptions
API Level: 3
Properties
Declaration
public string Album { get; set; }
Property Value
API Level: 3
Declaration
public string Artist { get; set; }
Property Value
API Level: 3
Declaration
public string Author { get; set; }
Property Value
API Level: 3
Declaration
public string Comment { get; set; }
Property Value
API Level: 3
Declaration
public string Conductor { get; set; }
Property Value
API Level: 3
Declaration
public string Copyright { get; set; }
Property Value
API Level: 3
Declaration
public string Date { get; set; }
Property Value
API Level: 3
Declaration
public string Description { get; set; }
Property Value
API Level: 3
Declaration
public string Genre { get; set; }
Property Value
API Level: 3
Declaration
public int PictureCount { get; }
Property Value
API Level: 3
Declaration
public string Title { get; set; }
Property Value
API Level: 3
Declaration
public string TrackNumber { get; set; }
Property Value
API Level: 3
View Source
Gets or sets the unsynchronized lyrics of media.
Declaration
public string UnsyncLyrics { get; set; }
Property Value
API Level: 3
Methods
Declaration
public void AddPicture(string path)
Parameters
Type |
Name |
Description |
String |
path |
The path of the picture for adding to the metadata.
|
Exceptions
API Level: 3
View Source
Writes the modified metadata to the media file.
Declaration
API Level: 3
Declaration
API Level: 3
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
Boolean |
disposing |
true to release both managed and unmanaged resources; false to release only unmanaged resources.
|
API Level: 3
View Source
Finalizes an instance of the MetadataEditor class.
Declaration
protected void Finalize()
Declaration
public Artwork GetPicture(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
The index of the picture to import.
|
Returns
Type |
Description |
Artwork |
The artwork included in the media file.
|
API Level: 3
Declaration
public void RemovePicture(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
The index of the picture to remove.
|
API Level: 3
Extension Methods