MediaStore.Video
  public
  static
  final
  
  class
  MediaStore.Video
  
    extends Object
  
  
  
  
  
  
| java.lang.Object | |
| ↳ | android.provider.MediaStore.Video | 
Collection of all media with MIME type of video/*.
Summary
| Nested classes | |
|---|---|
| 
        
        
        
        
        class | MediaStore.Video.Media
 | 
| 
        
        
        
        
        class | MediaStore.Video.Thumbnails
      This class was deprecated
      in API level 29.
    Callers should migrate to using
              | 
| 
        
        
        
        
        interface | MediaStore.Video.VideoColumnsVideo metadata columns. | 
| Constants | |
|---|---|
| String | DEFAULT_SORT_ORDERThe default sort order for this table. | 
| Public constructors | |
|---|---|
| 
      Video()
       | |
| Public methods | |
|---|---|
| 
        
        
        static
        
        
        Cursor | 
      query(ContentResolver cr, Uri uri, String[] projection)
      
      This method was deprecated
      in API level 29.
    all queries should be performed through
              | 
| Inherited methods | |
|---|---|
Constants
DEFAULT_SORT_ORDER
public static final String DEFAULT_SORT_ORDER
The default sort order for this table.
Constant Value: "_display_name"
Public constructors
Public methods
query
public static Cursor query (ContentResolver cr, Uri uri, String[] projection)
      This method was deprecated
      in API level 29.
    all queries should be performed through
             ContentResolver directly, which offers modern
             features like CancellationSignal.
  
| Parameters | |
|---|---|
| cr | ContentResolver | 
| uri | Uri | 
| projection | String | 
| Returns | |
|---|---|
| Cursor | |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
