Class MediaInfo
Definition
- Namespace:
- Tizen.Content.MediaContent
- Assembly:
- Tizen.Content.MediaContent.dll
Represents the information related to the media stored.
public class MediaInfo
- Inheritance
-
objectMediaInfo
- Derived
Properties
View SourceAltitude
Gets the altitude of media.
Declaration
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public double Altitude { get; }
Property Value
Type | Description |
---|---|
double | The altitude. |
See Also
View SourceDateAdded
Gets the date of addition of media.
Declaration
public DateTimeOffset DateAdded { get; }
Property Value
Type | Description |
---|---|
System.DateTimeOffset | The date of addition of media. |
See Also
View SourceDateModified
Gets the date of modification of media.
Declaration
public DateTimeOffset DateModified { get; }
Property Value
Type | Description |
---|---|
System.DateTimeOffset | The date of modification of media. |
See Also
View SourceDescription
Gets the description of media.
Declaration
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public string Description { get; }
Property Value
Type | Description |
---|---|
string | The description from the metadata. |
See Also
View SourceDisplayName
Gets the name of media.
Declaration
public string DisplayName { get; }
Property Value
Type | Description |
---|---|
string | The base name of the media file. |
See Also
View SourceFileSize
Gets the file size of media in bytes.
Declaration
public long FileSize { get; }
Property Value
Type | Description |
---|---|
long | The file size of media in bytes. |
See Also
View SourceId
Gets the ID of media.
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
string | The unique ID of media. |
See Also
View SourceIsDrm
Gets the value indicating whether the media is DRM-protected.
Declaration
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public bool IsDrm { get; }
Property Value
Type | Description |
---|---|
bool | A bool value indicating whether the media is DRM-protected. |
See Also
View SourceIsFavorite
Gets the favorite status of media.
Declaration
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public bool IsFavorite { get; }
Property Value
Type | Description |
---|---|
bool | true if media is set as favorite, otherwise false. |
See Also
View SourceLatitude
Gets the latitude of media.
Declaration
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public double Latitude { get; }
Property Value
Type | Description |
---|---|
double | The latitude. |
See Also
View SourceLongitude
Gets the longitude of media.
Declaration
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public double Longitude { get; }
Property Value
Type | Description |
---|---|
double | The longitude. |
See Also
View SourceMediaType
Gets the MediaType of media.
Declaration
public MediaType MediaType { get; }
Property Value
Type | Description |
---|---|
MediaType | The MediaType of media. |
See Also
View SourceMimeType
Gets the mime type from media.
Declaration
public string MimeType { get; }
Property Value
Type | Description |
---|---|
string | The mime type of media. |
See Also
View SourcePath
Gets the path to media.
Declaration
public string Path { get; }
Property Value
Type | Description |
---|---|
string | The full path of the media file. |
See Also
View SourceRating
Gets the rating of media.
Declaration
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public int Rating { get; }
Property Value
Type | Description |
---|---|
int | The rating from the metadata. |
See Also
View SourceThumbnailPath
Gets the thumbnail of media.
Declaration
public string ThumbnailPath { get; }
Property Value
Type | Description |
---|---|
string | The thumbnail path of media. |
See Also
View SourceTimeline
Gets the timeline of media.
Declaration
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public 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. |
See Also
View SourceTitle
Gets the title of media.
Declaration
public string Title { get; }
Property Value
Type | Description |
---|---|
string | The title of media. |
See Also
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. |