IMediaScannerListener.aidl revision 9066cfe9886ac131c34d59ed0e2d287b0e3c0087
1cb3610e37c4c0a40520441b8515d044dabcc8854Adam Jackson/*
2dc8058c3370588bfcad49fadace1691da47d58cdAdam Jackson * Copyright (C) 2008 The Android Open Source Project
3dc8058c3370588bfcad49fadace1691da47d58cdAdam Jackson *
4dc8058c3370588bfcad49fadace1691da47d58cdAdam Jackson * Licensed under the Apache License, Version 2.0 (the "License");
5dc8058c3370588bfcad49fadace1691da47d58cdAdam Jackson * you may not use this file except in compliance with the License.
6dc8058c3370588bfcad49fadace1691da47d58cdAdam Jackson * You may obtain a copy of the License at
7dc8058c3370588bfcad49fadace1691da47d58cdAdam Jackson *
8dc8058c3370588bfcad49fadace1691da47d58cdAdam Jackson *      http://www.apache.org/licenses/LICENSE-2.0
9dc8058c3370588bfcad49fadace1691da47d58cdAdam Jackson *
10dc8058c3370588bfcad49fadace1691da47d58cdAdam Jackson * Unless required by applicable law or agreed to in writing, software
11dc8058c3370588bfcad49fadace1691da47d58cdAdam Jackson * distributed under the License is distributed on an "AS IS" BASIS,
12dc8058c3370588bfcad49fadace1691da47d58cdAdam Jackson * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13dc8058c3370588bfcad49fadace1691da47d58cdAdam Jackson * See the License for the specific language governing permissions and
14dc8058c3370588bfcad49fadace1691da47d58cdAdam Jackson * limitations under the License.
15dc8058c3370588bfcad49fadace1691da47d58cdAdam Jackson */
16dc8058c3370588bfcad49fadace1691da47d58cdAdam Jackson
17dc8058c3370588bfcad49fadace1691da47d58cdAdam Jacksonpackage android.media;
18dc8058c3370588bfcad49fadace1691da47d58cdAdam Jackson
19dc8058c3370588bfcad49fadace1691da47d58cdAdam Jacksonimport android.net.Uri;
20dc8058c3370588bfcad49fadace1691da47d58cdAdam Jackson
21dc8058c3370588bfcad49fadace1691da47d58cdAdam Jackson/**
22dc8058c3370588bfcad49fadace1691da47d58cdAdam Jackson * {@hide}
23dc8058c3370588bfcad49fadace1691da47d58cdAdam Jackson */
24dc8058c3370588bfcad49fadace1691da47d58cdAdam Jacksononeway interface IMediaScannerListener
25dc8058c3370588bfcad49fadace1691da47d58cdAdam Jackson{
26dc8058c3370588bfcad49fadace1691da47d58cdAdam Jackson    /**
27dc8058c3370588bfcad49fadace1691da47d58cdAdam Jackson     * Called when a IMediaScannerService.scanFile() call has completed.
28dc8058c3370588bfcad49fadace1691da47d58cdAdam Jackson     * @param path the path to the file that has been scanned.
29dc8058c3370588bfcad49fadace1691da47d58cdAdam Jackson     * @param uri the Uri for the file if the scanning operation succeeded
30cb3610e37c4c0a40520441b8515d044dabcc8854Adam Jackson     * and the file was added to the media database, or null if scanning failed.
31cb3610e37c4c0a40520441b8515d044dabcc8854Adam Jackson     */
32cb3610e37c4c0a40520441b8515d044dabcc8854Adam Jackson    void scanCompleted(String path, in Uri uri);
33cb3610e37c4c0a40520441b8515d044dabcc8854Adam Jackson}
34cb3610e37c4c0a40520441b8515d044dabcc8854Adam Jackson