xref: /aosp_15_r20/prebuilts/sdk/31/system/api/framework-mediaprovider.txt (revision 344a7f5ef16c479e7a7f54ee6567a9d112f9e72b)
1*344a7f5eSAndroid Build Coastguard Worker// Signature format: 2.0
2*344a7f5eSAndroid Build Coastguard Workerpackage android.provider {
3*344a7f5eSAndroid Build Coastguard Worker
4*344a7f5eSAndroid Build Coastguard Worker  public final class MediaStore {
5*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static android.net.Uri rewriteToLegacy(@NonNull android.net.Uri);
6*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @WorkerThread public static android.net.Uri scanFile(@NonNull android.content.ContentResolver, @NonNull java.io.File);
7*344a7f5eSAndroid Build Coastguard Worker    method @WorkerThread public static void scanVolume(@NonNull android.content.ContentResolver, @NonNull String);
8*344a7f5eSAndroid Build Coastguard Worker    method @WorkerThread public static void waitForIdle(@NonNull android.content.ContentResolver);
9*344a7f5eSAndroid Build Coastguard Worker    field public static final String AUTHORITY_LEGACY = "media_legacy";
10*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.net.Uri AUTHORITY_LEGACY_URI;
11*344a7f5eSAndroid Build Coastguard Worker    field public static final String QUERY_ARG_DEFER_SCAN = "android:query-arg-defer-scan";
12*344a7f5eSAndroid Build Coastguard Worker  }
13*344a7f5eSAndroid Build Coastguard Worker
14*344a7f5eSAndroid Build Coastguard Worker}
15*344a7f5eSAndroid Build Coastguard Worker
16