Class MetadataExtractor
Definition
- Namespace:
- Tizen.Multimedia
- Assembly:
- Tizen.Multimedia.Metadata.dll
- API Level:
- 3
Provides a means to get the metadata from a media file.
C#Copypublic class MetadataExtractor : IDisposable
- Inheritance
-
MetadataExtractor
Constructors
MetadataExtractor(Byte[])
Initializes a new instance of the MetadataExtractor class with the specified buffer.
Declaration
C#Copypublic MetadataExtractor(byte[] buffer)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | buffer | The buffer to extract the metadata. |
API Level: 3
MetadataExtractor(String)
Initializes a new instance of the MetadataExtractor class with the specified path.
Declaration
C#Copypublic MetadataExtractor(string path)
Parameters
Type | Name | Description |
---|---|---|
String | path | The path for the file to extract the metadata. |
API Level: 3
Methods
Declaration
C#Copypublic void Dispose()
API Level: 3
Declaration
C#Copyprotected 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
Declaration
C#Copyprotected void Finalize()
Declaration
C#Copypublic Artwork GetArtwork()
Returns
Type | Description |
---|---|
Artwork | The Artwork if it exists, otherwise null. |
API Level: 3
Declaration
C#Copypublic byte[] GetFrameAt(uint timeStamp, bool accurate)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | timeStamp | The timestamp in milliseconds. |
Boolean | accurate | true to get an accurate frame for the given timestamp, otherwise false to get the nearest i-frame of the video rapidly. |
Returns
Type | Description |
---|---|
Byte[] | The raw frame data in RGB888 if a frame at specified time exists, otherwise null. |
API Level: 3
Declaration
C#Copypublic Metadata GetMetadata()
Returns
Type | Description |
---|---|
Metadata | The Metadata for the given source. |
API Level: 3
Declaration
C#Copypublic SyncLyrics GetSyncLyrics(int index)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | The index of lyrics to retrieve. |
Returns
Type | Description |
---|---|
SyncLyrics | The SyncLyrics object if |
API Level: 3
Declaration
C#Copypublic byte[] GetVideoThumbnail()
Returns
Type | Description |
---|---|
Byte[] | The raw thumbnail data in RGB888 if it exists, otherwise null. |