/* * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the License); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an AS IS BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ using System; namespace Tizen.Content.MediaContent { /// /// Provides the column names that can be used for Select and Count commands. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// 4 public static class MediaInfoColumns { /// /// Gets the column name for the ID of media. /// /// The column name for the ID of media. /// The value type is string. /// /// 4 public static string Id => "MEDIA_ID"; /// /// Gets the column name for the path of media. /// /// The column name for the file path of media. /// The value type is string. /// /// 4 public static string Path => "MEDIA_PATH"; /// /// Gets the column name for the display name of media. /// /// The column name for the display name of media. /// The value type is string. /// /// 4 public static string DisplayName => "MEDIA_DISPLAY_NAME"; /// /// Gets the column name for the type of media. /// /// The column name for the type of media. /// /// The value type is integer. /// The value should be an integer that is one of the values. /// /// /// 4 public static string MediaType => "MEDIA_TYPE"; /// /// Gets the column name for the mime type of media. /// /// The column name for the mime type of media. /// The value type is string. /// /// 4 public static string MimeType => "MEDIA_MIME_TYPE"; /// /// Gets the column name for the file size of media. /// /// The column name for the file size of media. /// The value type is integer. /// /// 4 public static string FileSize => "MEDIA_SIZE"; /// /// Gets the column name for the date added of media. /// /// The column name for the date added of media. /// /// The value type is integer. /// needs to be converted into the unix time. /// /// /// /// 4 public static string DateAdded => "MEDIA_ADDED_TIME"; /// /// Gets the column name for the date modified of media. /// /// The column name for the date modified of media. /// /// The value type is integer. /// needs to be converted into the unix time. /// /// /// /// 4 public static string DateModified => "MEDIA_MODIFIED_TIME"; /// /// Gets the column name for the timeline of media. /// /// The column name for the timeline of media. /// /// The value type is integer. /// needs to be converted into the unix time. /// /// /// /// 4 [Obsolete("Deprecated since API12; Will be removed in API14.")] public static string Timeline => "MEDIA_TIMELINE"; /// /// Gets the column name for the thumbnail path of media. /// /// The column name for the thumbnail path of media. /// /// The value type is string. /// /// /// 4 public static string ThumbnailPath => "MEDIA_THUMBNAIL_PATH"; /// /// Gets the column name for the title of media. /// /// The column name for the title of media. /// /// The value type is string. /// /// /// 4 public static string Title => "MEDIA_TITLE"; /// /// Gets the column name for the album of media. /// /// The column name for the album of media. /// /// The value type is string. /// /// /// 4 public static string Album => "MEDIA_ALBUM"; /// /// Gets the column name for the artist of media. /// /// The column name for the artist of media. /// /// The value type is string. /// /// /// /// 4 public static string Artist => "MEDIA_ARTIST"; /// /// Gets the column name for the album artist of media. /// /// The column name for the album artist of media. /// /// The value type is string. /// /// /// /// 4 public static string AlbumArtist => "MEDIA_ALBUM_ARTIST"; /// /// Gets the column name for the genre of media. /// /// The column name for the genre of media. /// /// The value type is string. /// /// /// /// 4 public static string Genre => "MEDIA_GENRE"; /// /// Gets the column name for the composer of media. /// /// The column name for the composer of media. /// /// The value type is string. /// /// /// /// 4 [Obsolete("Deprecated since API12; Will be removed in API14.")] public static string Composer => "MEDIA_COMPOSER"; /// /// Gets the column name for the year of media. /// /// The column name for the year of media. /// /// The value type is string. /// /// /// /// 4 public static string Year => "MEDIA_YEAR"; /// /// Gets the column name for the date recorded of media. /// /// The column name for the date recorded of media. /// /// The value type is string. /// /// /// /// 4 [Obsolete("Deprecated since API12; Will be removed in API14.")] public static string DateRecorded => "MEDIA_RECORDED_DATE"; /// /// Gets the column name for the track number of media. /// /// The column name for the track number of media. /// /// The value type is string. /// /// /// /// 4 public static string TrackNumber => "MEDIA_TRACK_NUM"; /// /// Gets the column name for the duration of media. /// /// The column name for the duration of media. /// /// The value type is integer. /// /// /// /// 4 [Obsolete("Deprecated since API12; Will be removed in API14.")] public static string Duration => "MEDIA_DURATION"; /// /// Gets the column name for the longitude of media. /// /// The column name for the longitude of media. /// /// The value type is real. /// /// /// 4 [Obsolete("Deprecated since API12; Will be removed in API14.")] public static string Longitude => "MEDIA_LONGITUDE"; /// /// Gets the column name for the latitude of media. /// /// The column name for the latitude of media. /// /// The value type is real. /// /// /// 4 [Obsolete("Deprecated since API12; Will be removed in API14.")] public static string Latitude => "MEDIA_LATITUDE"; /// /// Gets the column name for the altitude of media. /// /// The column name for the altitude of media. /// /// The value type is real. /// /// /// 4 [Obsolete("Deprecated since API12; Will be removed in API14.")] public static string Altitude => "MEDIA_ALTITUDE"; /// /// Gets the column name for the width of media. /// /// The column name for the width of media. /// /// The value type is integer. /// /// /// /// 4 public static string Width => "MEDIA_WIDTH"; /// /// Gets the column name for the height of media. /// /// The column name for the height of media. /// /// The value type is integer. /// /// /// /// 4 public static string Height => "MEDIA_HEIGHT"; /// /// Gets the column name for the date taken of media. /// /// The column name for the date taken of media. /// /// The value type is integer. /// /// /// 4 public static string DateTaken => "MEDIA_DATETAKEN"; /// /// Gets the column name for the favorite status of media. /// /// The column name for the favorite status of media. /// /// The value type is integer (1 : true, 0 : false). /// /// /// 4 [Obsolete("Deprecated since API12; Will be removed in API14.")] public static string Favorite => "MEDIA_FAVOURITE"; /// /// Gets the column name for the drm of media. /// /// The column name for the drm of media. /// /// The value type is integer (1 : true, 0 : false). /// /// /// 4 [Obsolete("Deprecated since API12; Will be removed in API14.")] public static string IsDrm => "MEDIA_IS_DRM"; } /// /// Provides the folder column names that can be used for Select and Count commands. /// /// /// /// /// /// /// /// 4 public static class AlbumColumns { /// /// Gets the column name for the name of album. /// /// The column name for the name of album. /// /// The value type is string. /// /// /// 4 public static string Name => "MEDIA_ALBUM"; /// /// Gets the column name for the artist of album. /// /// The column name for the artist of album. /// /// The value type is string. /// /// /// 4 public static string Artist => "MEDIA_ARTIST"; } /// /// Provides the folder column names that can be used for Select and Count commands. /// /// /// /// /// /// /// /// 4 public static class FolderColumns { /// /// Gets the column name for the ID of folder. /// /// The column name for the ID of folder. /// /// The value type is string. /// /// /// 4 public static string Id => "FOLDER_ID"; /// /// Gets the column name for the path of folder. /// /// The column name for the path of folder. /// /// The value type is string. /// /// /// 4 public static string Path => "FOLDER_PATH"; /// /// Gets the column name for the name of folder. /// /// The column name for the name of folder. /// /// The value type is string. /// /// /// 4 public static string Name => "FOLDER_NAME"; } /// /// Provides the playlist column names that can be used for Select and Count commands. /// /// /// /// /// /// /// /// 4 public static class PlaylistColumns { /// /// Gets the column name for the name of playlist. /// /// The column name for the name of playlist. /// /// The value type is string. /// /// /// 4 public static string Name => "PLAYLIST_NAME"; /// /// Gets the column name for the ID of playlist. /// /// The column name for the ID of playlist. /// /// The value type is integer. /// /// /// 4 public static string Id => "PLAYLIST_ID"; /// /// Gets the column name for the member order of playlist. /// /// The column name for the member order of playlist. /// /// The value type is integer. /// /// /// 4 public static string MemberOrder => "PLAYLIST_MEMBER_ORDER"; /// /// Gets the column name for the number of members of playlist. /// /// The column name for the number of members of playlist. /// /// The value type is integer. /// /// /// /// 4 public static string Count => "PLAYLIST_MEDIA_COUNT"; } /// /// Provides the tag column names that can be used for the . /// /// /// /// /// /// /// /// /// /// /// /// 4 public static class TagColumns { /// /// Gets the column name for the name of tag. /// /// The column name for the name of tag. /// /// The value type is string. /// /// /// 4 [Obsolete("Deprecated since API12; Will be removed in API14.")] public static string Name => "TAG_NAME"; /// /// Gets the column name for the number of media of tag. /// /// The column name for the number of media of tag. /// /// The value type is integer. /// /// /// /// 4 [Obsolete("Deprecated since API12; Will be removed in API14.")] public static string Count => "TAG_MEDIA_COUNT"; /// /// Gets the column name for the ID of tag. /// /// The column name for the ID of tag. /// /// The value type is integer. /// /// /// 4 [Obsolete("Deprecated since API12; Will be removed in API14.")] public static string Id => "TAG_ID"; } /// /// Provides the bookmark column names that can be used for Select and Count commands. /// /// /// /// /// /// /// /// /// /// 4 public static class BookmarkColumns { /// /// Gets the column name for the offset of the bookmark. /// /// The column name for the offset of the bookmark. /// /// The value type is integer. /// /// /// 4 public static string Offset => "BOOKMARK_MARKED_TIME"; /// /// Gets the column name for the ID of the bookmark. /// /// The column name for the ID of the bookmark. /// /// The value type is integer. /// /// /// 4 public static string Id => "BOOKMARK_ID"; /// /// Gets the column name for the name of the bookmark. /// /// The column name for the name of the bookmark. /// /// The value type is string. /// /// /// 4 public static string Name => "BOOKMARK_NAME"; } /// /// Provides the face info column names that can be used for Select and Count commands. /// /// /// /// /// /// /// /// /// 4 [Obsolete("Deprecated since API11; Will be removed in API13.")] public static class FaceInfoColumns { /// /// Gets the column name for the tag of face information. /// /// The column name for the tag of face information. /// /// The value type is string. /// /// /// 4 [Obsolete("Deprecated since API11; Will be removed in API13.")] public static string Tag => "MEDIA_FACE_TAG"; /// /// Gets the column name for the ID of face information. /// /// The column name for the ID of face information. /// /// The value type is string. /// /// /// 4 [Obsolete("Deprecated since API11; Will be removed in API13.")] public static string Id => "MEDIA_FACE_ID"; } }