/**@class android.provider.MediaStore.Video.Thumbnails implements android.provider.BaseColumns @extends java.lang.Object This class provides utility methods to obtain thumbnails for various {@link android.provider.MediaStore.Video} items. @deprecated Callers should migrate to using {@link ContentResolver#loadThumbnail}, since it offers richer control over requested thumbnail sizes and cancellation behavior. */ var Thumbnails = { /** The content:// style URI for the internal storage. */ INTERNAL_CONTENT_URI : "null", /** The content:// style URI for the "primary" external storage volume. */ EXTERNAL_CONTENT_URI : "null", /** The default sort order for this table */ DEFAULT_SORT_ORDER : "video_id ASC", /** Path to the thumbnail file on disk. @deprecated Apps may not have filesystem permissions to directly access this path. Instead of trying to open this path directly, apps should use {@link ContentResolver#openFileDescriptor(Uri, String)} to gain access. */ DATA : "_data", /** The original image for the thumbnal */ VIDEO_ID : "video_id", /** The kind of the thumbnail */ KIND : "kind", /***/ MINI_KIND : "1", /***/ FULL_SCREEN_KIND : "2", /***/ MICRO_KIND : "3", /** The width of the thumbnal */ WIDTH : "width", /** The height of the thumbnail */ HEIGHT : "height", /**Cancel any outstanding {@link #getThumbnail} requests, causing them to return by throwing a {@link android.provider.TimeZoneRulesDataContract.OperationCanceledException}. <p> This method has no effect on {@link ContentResolver#loadThumbnail} calls, since they provide their own {@link CancellationSignal}. @deprecated Callers should migrate to using {@link ContentResolver#loadThumbnail}, since it offers richer control over requested thumbnail sizes and cancellation behavior. */ cancelThumbnailRequest : function( ) {}, /**Return thumbnail representing a specific video item. If a thumbnail doesn't exist, this method will block until it's generated. Callers are responsible for their own in-memory caching of returned values. @param {Object {ContentResolver}} videoId the video item to obtain a thumbnail for. @param {Number} kind optimal thumbnail size desired. @return {Object {android.graphics.Bitmap}} decoded thumbnail, or {@code null} if problem was encountered. @deprecated Callers should migrate to using {@link ContentResolver#loadThumbnail}, since it offers richer control over requested thumbnail sizes and cancellation behavior. */ getThumbnail : function( ) {}, /**Cancel any outstanding {@link #getThumbnail} requests, causing them to return by throwing a {@link android.provider.TimeZoneRulesDataContract.OperationCanceledException}. <p> This method has no effect on {@link ContentResolver#loadThumbnail} calls, since they provide their own {@link CancellationSignal}. @deprecated Callers should migrate to using {@link ContentResolver#loadThumbnail}, since it offers richer control over requested thumbnail sizes and cancellation behavior. */ cancelThumbnailRequest : function( ) {}, /**Return thumbnail representing a specific video item. If a thumbnail doesn't exist, this method will block until it's generated. Callers are responsible for their own in-memory caching of returned values. @param {Object {ContentResolver}} videoId the video item to obtain a thumbnail for. @param {Number} kind optimal thumbnail size desired. @return {Object {android.graphics.Bitmap}} decoded thumbnail, or {@code null} if problem was encountered. @deprecated Callers should migrate to using {@link ContentResolver#loadThumbnail}, since it offers richer control over requested thumbnail sizes and cancellation behavior. */ getThumbnail : function( ) {}, /**Get the content:// style URI for the image media table on the given volume. @param {String} volumeName the name of the volume to get the URI for @return {Object {android.net.Uri}} the URI to the image media table on the given volume */ getContentUri : function( ) {}, };