Class MediaInfo

Definition

Namespace:
Tizen.Content.MediaContent
Assembly:
Tizen.Content.MediaContent.dll
API Level:
4

Represents the information related to the media stored.

C#
Copy
public class MediaInfo
Inheritance
System.Object
MediaInfo
Derived
Tizen.Content.MediaContent.BookInfo
Tizen.Content.MediaContent.BookInfo
Tizen.Content.MediaContent.BookInfo

Properties

View Source

Altitude

Gets the altitude of media.

Declaration
C#
Copy
public double Altitude { get; }
Property Value
Type Description
System.Double

The altitude.

API Level: 4
View Source

DateAdded

Gets the date of addition of media.

Declaration
C#
Copy
public DateTimeOffset DateAdded { get; }
Property Value
Type Description
System.DateTimeOffset

The date of addition of media.

API Level: 4
View Source

DateModified

Gets the date of modification of media.

Declaration
C#
Copy
public DateTimeOffset DateModified { get; }
Property Value
Type Description
System.DateTimeOffset

The date of modification of media.

API Level: 4
View Source

Description

Gets the description of media.

Declaration
C#
Copy
public string Description { get; }
Property Value
Type Description
System.String

The description from the metadata.

API Level: 4
View Source

DisplayName

Gets the name of media.

Declaration
C#
Copy
public string DisplayName { get; }
Property Value
Type Description
System.String

The base name of the media file.

API Level: 4
View Source

FileSize

Gets the file size of media in bytes.

Declaration
C#
Copy
public long FileSize { get; }
Property Value
Type Description
System.Int64

The file size of media in bytes.

API Level: 4
View Source

Id

Gets the ID of media.

Declaration
C#
Copy
public string Id { get; }
Property Value
Type Description
System.String

The unique ID of media.

API Level: 4
View Source

IsDrm

Gets the value indicating whether the media is DRM-protected.

Declaration
C#
Copy
public bool IsDrm { get; }
Property Value
Type Description
System.Boolean

A bool value indicating whether the media is DRM-protected.

API Level: 4
View Source

IsFavorite

Gets the favorite status of media.

Declaration
C#
Copy
public bool IsFavorite { get; }
Property Value
Type Description
System.Boolean

true if media is set as favorite, otherwise false.

API Level: 4
View Source

Latitude

Gets the latitude of media.

Declaration
C#
Copy
public double Latitude { get; }
Property Value
Type Description
System.Double

The latitude.

API Level: 4
View Source

Longitude

Gets the longitude of media.

Declaration
C#
Copy
public double Longitude { get; }
Property Value
Type Description
System.Double

The longitude.

API Level: 4
View Source

MediaType

Gets the MediaType of media.

Declaration
C#
Copy
public MediaType MediaType { get; }
Property Value
Type Description
MediaType

The MediaType of media.

API Level: 4
View Source

MimeType

Gets the mime type from media.

Declaration
C#
Copy
public string MimeType { get; }
Property Value
Type Description
System.String

The mime type of media.

API Level: 4
View Source

Path

Gets the path to media.

Declaration
C#
Copy
public string Path { get; }
Property Value
Type Description
System.String

The full path of the media file.

API Level: 4
View Source

Rating

Gets the rating of media.

Declaration
C#
Copy
public int Rating { get; }
Property Value
Type Description
System.Int32

The rating from the metadata.

API Level: 4
View Source

StorageId

Gets the storage ID of the storage that the media is stored on.

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
View Source

StorageType

Gets the storage type of the storage that the media is stored on.

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
View Source

ThumbnailPath

Gets the thumbnail of media.

Declaration
C#
Copy
public string ThumbnailPath { get; }
Property Value
Type Description
System.String

The thumbnail path of media.

API Level: 4
View Source

Timeline

Gets the timeline of media.

Declaration
C#
Copy
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.

API Level: 4
View Source

Title

Gets the title of media.

Declaration
C#
Copy
public string Title { get; }
Property Value
Type Description
System.String

The title of media.

API Level: 4

Methods

View Source

ToString()

Returns a string representation of the media information.

Declaration
C#
Copy
public override string ToString()
Returns
Type Description
System.String

A string representation of the current media information.

Overrides
System.Object.ToString()
API Level: 4

See Also