Class MediaInfo

    Definition

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

    Represents the information related to the media stored.

    public class MediaInfo
    Inheritance
    object
    MediaInfo
    Derived
    AudioInfo
    AudioInfo
    BookInfo
    BookInfo
    ImageInfo
    ImageInfo
    VideoInfo
    VideoInfo

    Properties

    View Source

    Altitude

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

    DateAdded

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

    DateModified

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

    Description

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

    DisplayName

    Gets the name of media.

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

    The base name of the media file.

    See Also
    MediaInfoCommand
    View Source

    FileSize

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

    Id

    Gets the ID of media.

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

    The unique ID of media.

    See Also
    MediaInfoCommand
    View Source

    IsDrm

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

    IsFavorite

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

    Latitude

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

    Longitude

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

    MediaType

    Gets the MediaType of media.

    Declaration
    public MediaType MediaType { get; }
    Property Value
    Type Description
    MediaType

    The MediaType of media.

    See Also
    MediaInfoCommand
    View Source

    MimeType

    Gets the mime type from media.

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

    The mime type of media.

    See Also
    MediaInfoCommand
    View Source

    Path

    Gets the path to media.

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

    The full path of the media file.

    See Also
    MediaInfoCommand
    View Source

    Rating

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

    ThumbnailPath

    Gets the thumbnail of media.

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

    The thumbnail path of media.

    See Also
    MediaInfoCommand
    View Source

    Timeline

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

    Title

    Gets the title of media.

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

    The title of media.

    See Also
    MediaInfoCommand

    Methods

    View Source

    ToString()

    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.

    Overrides
    object.ToString()
    See Also
    MediaInfoCommand

    See Also

    MediaInfoCommand
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX