/* * 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. */ namespace Tizen.Content.MediaContent { /// /// A ContentColumns class defines the keyword used for filter condition or sorting. /// public static class ContentColumns { /// /// Media column set. \n /// You can use this define to set the condition of media filter and order keyword. /// public class Media { /// /// Media UUID /// /// 4 public static string Id { get { return "MEDIA_ID"; } } /// /// Media path /// /// 4 public static string Path { get { return "MEDIA_PATH"; } } /// /// Display name /// /// 4 public static string DisplayName { get { return "MEDIA_DISPLAY_NAME"; } } /// /// The type of media (0-image, 1-video, 2-sound, 3-music, 4-other) /// /// 4 public static string MediaType { get { return "MEDIA_TYPE"; } } /// /// Mime type /// /// 4 public static string MimeType { get { return "MEDIA_MIME_TYPE"; } } /// /// File size /// /// 4 public static string Size { get { return "MEDIA_SIZE"; } } /// /// Added time /// /// 4 public static string AddedTime { get { return "MEDIA_ADDED_TIME"; } } /// /// Modified time /// /// 4 public static string ModifiedTime { get { return "MEDIA_MODIFIED_TIME"; } } /// /// Timeline. Normally, creation date of media /// /// 4 public static string Timeline { get { return "MEDIA_TIMELINE"; } } /// /// The path of thumbnail /// /// 4 public static string ThumbnailPath { get { return "MEDIA_THUMBNAIL_PATH"; } } /// /// Title /// /// 4 public static string Title { get { return "MEDIA_TITLE"; } } /// /// Album name /// /// 4 public static string Album { get { return "MEDIA_ALBUM"; } } /// /// Artist /// /// 4 public static string Artist { get { return "MEDIA_ARTIST"; } } /// /// Album artist /// /// 4 public static string AlbumArtist { get { return "MEDIA_ALBUM_ARTIST"; } } /// /// Genre /// /// 4 public static string Genre { get { return "MEDIA_GENRE"; } } /// /// Composer /// /// 4 public static string Composer { get { return "MEDIA_COMPOSER"; } } /// /// Release year /// /// 4 public static string Year { get { return "MEDIA_YEAR"; } } /// /// Recorded date /// /// 4 public static string RecordedDate { get { return "MEDIA_RECORDED_DATE"; } } /// /// Copyright /// /// 4 public static string Copyright { get { return "MEDIA_COPYRIGHT"; } } /// /// Track Number /// /// 4 public static string TrackNumber { get { return "MEDIA_TRACK_NUM"; } } /// /// Description /// /// 4 public static string Description { get { return "MEDIA_DESCRIPTION"; } } /// /// Bitrate /// /// 4 public static string Bitrate { get { return "MEDIA_BITRATE"; } } /// /// Bit per sample /// /// 4 public static string BitPerSample { get { return "MEDIA_BITPERSAMPLE"; } } /// /// Samplerate /// /// 4 public static string Samplerate { get { return "MEDIA_SAMPLERATE"; } } /// /// Channel /// /// 4 public static string Channel { get { return "MEDIA_CHANNEL"; } } /// /// Duration /// /// 4 public static string Duration { get { return "MEDIA_DURATION"; } } /// /// Longitude /// /// 4 public static string Longitude { get { return "MEDIA_LONGITUDE"; } } /// /// Latitude /// /// 4 public static string Latitude { get { return "MEDIA_LATITUDE"; } } /// /// Altitude /// /// 4 public static string Altitude { get { return "MEDIA_ALTITUDE"; } } /// /// Width /// /// 4 public static string Width { get { return "MEDIA_WIDTH"; } } /// /// Height /// /// 4 public static string Height { get { return "MEDIA_HEIGHT"; } } /// /// Datetaken /// /// 4 public static string Datetaken { get { return "MEDIA_DATETAKEN"; } } /// /// Orientation /// /// 4 public static string Orientation { get { return "MEDIA_ORIENTATION"; } } /// /// Burst shot ID /// /// 4 public static string BurstId { get { return "BURST_ID"; } } /// /// Played count /// /// 4 public static string PlayedCount { get { return "MEDIA_PLAYED_COUNT"; } } /// /// Last played time /// /// 4 public static string PlayedTime { get { return "MEDIA_LAST_PLAYED_TIME"; } } /// /// Last played position /// /// 4 public static string PlayedPosition { get { return "MEDIA_LAST_PLAYED_POSITION"; } } /// /// Rating /// /// 4 public static string Rating { get { return "MEDIA_RATING"; } } /// /// Favourite /// /// 4 public static string Favourite { get { return "MEDIA_FAVOURITE"; } } /// /// Author /// /// 4 public static string Author { get { return "MEDIA_AUTHOR"; } } /// /// Provider /// /// 4 public static string Provider { get { return "MEDIA_PROVIDER"; } } /// /// Content name /// /// 4 public static string ContentName { get { return "MEDIA_CONTENT_NAME"; } } /// /// Category /// /// 4 public static string Category { get { return "MEDIA_CATEGORY"; } } /// /// Location tag /// /// 4 public static string LocationTag { get { return "MEDIA_LOCATION_TAG"; } } /// /// Age rating /// /// 4 public static string AgeRating { get { return "MEDIA_AGE_RATING"; } } /// /// Keyword /// /// 4 public static string Keyword { get { return "MEDIA_KEYWORD"; } } /// /// Weather /// /// 4 public static string Weather { get { return "MEDIA_WEATHER"; } } /// /// Whether DRM(1) or not(0) /// /// 4 public static string IsDRM { get { return "MEDIA_IS_DRM"; } } /// /// Storage type /// /// 4 public static string StorageType { get { return "MEDIA_STORAGE_TYPE"; } } /// /// Exposure time /// /// 4 public static string ExposureTime { get { return "MEDIA_EXPOSURE_TIME"; } } /// /// f-number /// /// 4 public static string FNumber { get { return "MEDIA_FNUMBER"; } } /// /// ISO /// /// 4 public static string Iso { get { return "MEDIA_ISO"; } } /// /// Model /// /// 4 public static string Model { get { return "MEDIA_MODEL"; } } /// /// 360 content /// /// 4 public static string Media360 { get { return "MEDIA_360"; } } /// /// Keyword for pinyin /// public class Pinyin { /// /// File name (pinyin) /// /// 4 public static string FileName { get { return "MEDIA_FILE_NAME_PINYIN"; } } /// /// Title (pinyin) /// /// 4 public static string Title { get { return "MEDIA_TITLE_PINYIN"; } } /// /// Album (pinyin) /// /// 4 public static string Album { get { return "MEDIA_ALBUM_PINYIN"; } } /// /// Artist (pinyin) /// /// 4 public static string Artist { get { return "MEDIA_ARTIST_PINYIN"; } } /// /// Album artist (pinyin) /// /// 4 public static string AlbumArtist { get { return "MEDIA_ALBUM_ARTIST_PINYIN"; } } /// /// Genre (pinyin) /// /// 4 public static string Genre { get { return "MEDIA_GENRE_PINYIN"; } } /// /// Composer (pinyin) /// /// 4 public static string Composer { get { return "MEDIA_COMPOSER_PINYIN"; } } /// /// Copyright (pinyin) /// /// 4 public static string Copyright { get { return "MEDIA_COPYRIGHT_PINYIN"; } } /// /// Description (pinyin) /// /// 4 public static string Description { get { return "MEDIA_DESCRIPTION_PINYIN"; } } /// /// Author (pinyin) /// /// 4 public static string Author { get { return "MEDIA_AUTHOR_PINYIN"; } } /// /// Provider (pinyin) /// /// 4 public static string Provider { get { return "MEDIA_PROVIDER_PINYIN"; } } /// /// Content name (pinyin) /// /// 4 public static string ContentName { get { return "MEDIA_CONTENT_NAME_PINYIN"; } } /// /// Category (pinyin) /// /// 4 public static string Category { get { return "MEDIA_CATEGORY_PINYIN"; } } /// /// Location tag (pinyin) /// /// 4 public static string LocationTag { get { return "MEDIA_LOCATION_TAG_PINYIN"; } } /// /// Age rating (pinyin) /// /// 4 public static string AgeRating { get { return "MEDIA_AGE_RATING_PINYIN"; } } /// /// Keyword (pinyin) /// /// 4 public static string Keyword { get { return "MEDIA_KEYWORD_PINYIN"; } } } } /// /// Folder column set. \n /// You can use this define to set the condition of folder filter and order keyword. /// public class Folder { /// ///Folder UUID /// /// 4 public static string Id { get { return "FOLDER_ID"; } } /// /// Folder path /// /// 4 public static string Path { get { return "FOLDER_PATH"; } } /// /// Folder name /// /// 4 public static string Name { get { return "FOLDER_NAME"; } } /// /// Folder modified time /// /// 4 public static string ModifiedTime { get { return "FOLDER_MODIFIED_TIME"; } } /// /// Folder storage type /// /// 4 public static string StorageType { get { return "FOLDER_STORAGE_TYPE"; } } /// /// Keyword for pinyin /// public class Pinyin { /// /// Folder name (pinyin) /// /// 4 public static string Name { get { return "FOLDER_NAME_PINYIN"; } } } /// /// Folder order. Default is 0 /// /// 4 public static string Order { get { return "FOLDER_ORDER"; } } /// /// Parent folder UUID /// /// 4 public static string ParentId { get { return "FOLDER_PARENT_FOLDER_ID"; } } } /// /// Playlist column set. \n /// You can use this define to set the condition of playlist filter and order keyword. /// public class Playlist { /// /// Playlist name /// /// 4 public static string Name { get { return "PLAYLIST_NAME"; } } /// /// Playlist member's play order /// /// 4 public static string Order { get { return "PLAYLIST_MEMBER_ORDER"; } } /// /// Count of media in the playlist /// /// 4 public static string Count { get { return "PLAYLIST_MEDIA_COUNT"; } } } /// /// Tag column set. \n /// You can use this define to set the condition of tag filter and order keyword. /// public class Tag { /// /// Tag name /// /// 4 public static string Name { get { return "TAG_NAME"; } } /// /// Count of media in the tag /// /// 4 public static string Count { get { return "TAG_MEDIA_COUNT"; } } } /// /// Bookmark column set. \n /// You can use this define to set the condition of bookmark filter and order keyword. /// public class Bookmark { /// /// Bookmarked offset /// /// 4 public static string Offset { get { return "BOOKMARK_MARKED_TIME"; } } } /// /// Storage column set. \n /// You can use this define to set the condition of storage filter and order keyword. /// public class Storage { /// /// Storage UUID /// /// 4 public static string Id { get { return "STORAGE_ID"; } } /// /// Storage path /// /// 4 public static string Path { get { return "STORAGE_PATH"; } } } /// /// Face column set. \n /// You can use this define to set the condition of face filter and order keyword. /// public class Face { /// /// face tag /// /// 4 public static string Tag { get { return "MEDIA_FACE_TAG"; } } } } }