Class MediaInfo

Definition

Namespace:
Tizen.Content.MediaContent
Assembly:
Tizen.Content.MediaContent.dll

Represents the information related to the media stored.

C#
Copy
public class MediaInfo
Inheritance
object
MediaInfo
Derived

Properties

View Source

Altitude

Gets the altitude of media.

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

The altitude.

See Also
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.

See Also
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.

See Also
View Source

Description

Gets the description of media.

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

The description from the metadata.

See Also
View Source

DisplayName

Gets the name of media.

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

The base name of the media file.

See Also
View Source

FileSize

Gets the file size of media in bytes.

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

The file size of media in bytes.

See Also
View Source

Id

Gets the ID of media.

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

The unique ID of media.

See Also
View Source

IsDrm

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

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

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

See Also
View Source

IsFavorite

Gets the favorite status of media.

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

true if media is set as favorite, otherwise false.

See Also
View Source

Latitude

Gets the latitude of media.

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

The latitude.

See Also
View Source

Longitude

Gets the longitude of media.

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

The longitude.

See Also
View Source

MediaType

Gets the MediaType of media.

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

The MediaType of media.

See Also
View Source

MimeType

Gets the mime type from media.

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

The mime type of media.

See Also
View Source

Path

Gets the path to media.

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

The full path of the media file.

See Also
View Source

Rating

Gets the rating of media.

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

The rating from the metadata.

See Also
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
string

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

See Also
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.

See Also
View Source

ThumbnailPath

Gets the thumbnail of media.

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

The thumbnail path of media.

See Also
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.

See Also
View Source

Title

Gets the title of media.

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

The title of media.

See Also

Methods

View Source

ToString()

Returns a string representation of the media information.

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

A string representation of the current media information.

Overrides
object.ToString()
See Also

See Also