Class MediaInfo
Definition
- Namespace:
- Tizen.Content.MediaContent
- Assembly:
- Tizen.Content.MediaContent.dll
- API Level:
- 4
Represents the information related to the media stored.
public class MediaInfo
- Inheritance
-
MediaInfo
- Derived
Properties
View SourceAltitude
Gets the altitude of media.
Declaration
public double Altitude { get; }
Property Value
Type | Description |
---|---|
Double | The altitude. |
API Level: 4
View SourceDateAdded
Gets the date of addition of media.
Declaration
public DateTimeOffset DateAdded { get; }
Property Value
Type | Description |
---|---|
DateTimeOffset | The date of addition of media. |
API Level: 4
View SourceDateModified
Gets the date of modification of media.
Declaration
public DateTimeOffset DateModified { get; }
Property Value
Type | Description |
---|---|
DateTimeOffset | The date of modification of media. |
API Level: 4
View SourceDescription
Gets the description of media.
Declaration
public string Description { get; }
Property Value
Type | Description |
---|---|
String | The description from the metadata. |
API Level: 4
View SourceDisplayName
Gets the name of media.
Declaration
public string DisplayName { get; }
Property Value
Type | Description |
---|---|
String | The base name of the media file. |
API Level: 4
View SourceFileSize
Gets the file size of media in bytes.
Declaration
public long FileSize { get; }
Property Value
Type | Description |
---|---|
Int64 | The file size of media in bytes. |
API Level: 4
View SourceId
Gets the ID of media.
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
String | The unique ID of media. |
API Level: 4
View SourceIsDrm
Gets the value indicating whether the media is DRM-protected.
Declaration
public bool IsDrm { get; }
Property Value
Type | Description |
---|---|
Boolean | A bool value indicating whether the media is DRM-protected. |
API Level: 4
View SourceIsFavorite
Gets the favorite status of media.
Declaration
public bool IsFavorite { get; }
Property Value
Type | Description |
---|---|
Boolean | true if media is set as favorite, otherwise false. |
API Level: 4
View SourceLatitude
Gets the latitude of media.
Declaration
public double Latitude { get; }
Property Value
Type | Description |
---|---|
Double | The latitude. |
API Level: 4
View SourceLongitude
Gets the longitude of media.
Declaration
public double Longitude { get; }
Property Value
Type | Description |
---|---|
Double | The longitude. |
API Level: 4
View SourceMediaType
Gets the MediaType of media.
Declaration
public MediaType MediaType { get; }
Property Value
Type | Description |
---|---|
MediaType | The MediaType of media. |
API Level: 4
View SourceMimeType
Gets the mime type from media.
Declaration
public string MimeType { get; }
Property Value
Type | Description |
---|---|
String | The mime type of media. |
API Level: 4
View SourcePath
Gets the path to media.
Declaration
public string Path { get; }
Property Value
Type | Description |
---|---|
String | The full path of the media file. |
API Level: 4
View SourceRating
Gets the rating of media.
Declaration
public int Rating { get; }
Property Value
Type | Description |
---|---|
Int32 | The rating from the metadata. |
API Level: 4
View SourceStorageId
Gets the storage ID of the storage that the media is stored on.
Declaration
[Obsolete("Please do not use! this will be deprecated in level 6")]
public string StorageId { get; }
Property Value
Type | Description |
---|---|
String | The storage ID of the storage that the media is stored on. |
API Level: 4
View SourceStorageType
Gets the storage type of the storage that the media is stored on.
Declaration
[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
View SourceThumbnailPath
Gets the thumbnail of media.
Declaration
public string ThumbnailPath { get; }
Property Value
Type | Description |
---|---|
String | The thumbnail path of media. |
API Level: 4
View SourceTimeline
Gets the timeline of media.
Declaration
public DateTimeOffset Timeline { get; }
Property Value
Type | Description |
---|---|
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
View SourceTitle
Gets the title of media.
Declaration
public string Title { get; }
Property Value
Type | Description |
---|---|
String | The title of media. |
API Level: 4
Methods
View SourceToString()
Returns a string representation of the media information.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | A string representation of the current media information. |