Class MediaInfo
Definition
- Namespace:
- Tizen.Content.MediaContent
- Assembly:
- Tizen.Content.MediaContent.dll
- API Level:
- 4
Represents the information related to the media stored.
C#Copypublic class MediaInfo
- Inheritance
-
System.ObjectMediaInfo
- Derived
-
Tizen.Content.MediaContent.BookInfoTizen.Content.MediaContent.BookInfoTizen.Content.MediaContent.BookInfo
Properties
Declaration
C#Copypublic double Altitude { get; }
Property Value
Type | Description |
---|---|
System.Double | The altitude. |
API Level: 4
Declaration
C#Copypublic DateTimeOffset DateAdded { get; }
Property Value
Type | Description |
---|---|
System.DateTimeOffset | The date of addition of media. |
API Level: 4
Declaration
C#Copypublic DateTimeOffset DateModified { get; }
Property Value
Type | Description |
---|---|
System.DateTimeOffset | The date of modification of media. |
API Level: 4
Declaration
C#Copypublic string Description { get; }
Property Value
Type | Description |
---|---|
System.String | The description from the metadata. |
API Level: 4
Declaration
C#Copypublic string DisplayName { get; }
Property Value
Type | Description |
---|---|
System.String | The base name of the media file. |
API Level: 4
Declaration
C#Copypublic long FileSize { get; }
Property Value
Type | Description |
---|---|
System.Int64 | The file size of media in bytes. |
API Level: 4
Declaration
C#Copypublic string Id { get; }
Property Value
Type | Description |
---|---|
System.String | The unique ID of media. |
API Level: 4
Declaration
C#Copypublic bool IsDrm { get; }
Property Value
Type | Description |
---|---|
System.Boolean | A bool value indicating whether the media is DRM-protected. |
API Level: 4
Declaration
C#Copypublic bool IsFavorite { get; }
Property Value
Type | Description |
---|---|
System.Boolean | true if media is set as favorite, otherwise false. |
API Level: 4
Declaration
C#Copypublic double Latitude { get; }
Property Value
Type | Description |
---|---|
System.Double | The latitude. |
API Level: 4
Declaration
C#Copypublic double Longitude { get; }
Property Value
Type | Description |
---|---|
System.Double | The longitude. |
API Level: 4
Declaration
C#Copypublic MediaType MediaType { get; }
Property Value
Type | Description |
---|---|
MediaType | The MediaType of media. |
API Level: 4
Declaration
C#Copypublic string MimeType { get; }
Property Value
Type | Description |
---|---|
System.String | The mime type of media. |
API Level: 4
Declaration
C#Copypublic string Path { get; }
Property Value
Type | Description |
---|---|
System.String | The full path of the media file. |
API Level: 4
Declaration
C#Copypublic int Rating { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The rating from the metadata. |
API Level: 4
Declaration
C#Copy[Obsolete("Please do not use! this will be deprecated in level 6")] public string StorageId { get; }
Property Value
Type | Description |
---|---|
System.String | The storage ID of the storage that the media is stored on. |
API Level: 4
Declaration
C#Copy[Obsolete("Please do not use! this will be deprecated in level 6")] public StorageType StorageType { get; }
Property Value
Type | Description |
---|---|
StorageType | The storage type of the storage that the media is stored on. |
API Level: 4
Declaration
C#Copypublic string ThumbnailPath { get; }
Property Value
Type | Description |
---|---|
System.String | The thumbnail path of media. |
API Level: 4
Declaration
C#Copypublic DateTimeOffset Timeline { get; }
Property Value
Type | Description |
---|---|
System.DateTimeOffset | The creation date if the file has the creation information (like recorded date or image creation date), otherwise the modified date. |
API Level: 4
Declaration
C#Copypublic string Title { get; }
Property Value
Type | Description |
---|---|
System.String | The title of media. |
API Level: 4
Methods
Declaration
C#Copypublic override string ToString()
Returns
Type | Description |
---|---|
System.String | A string representation of the current media information. |