blob: ee265007b39d43784eca98fe9f2601d448da13b1 [file] [log] [blame]
Jeff Sharkeybb580672014-07-10 12:10:25 -07001/*
2 * Copyright (C) 2014 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package android.content.pm;
18
Jeff Sharkeybb580672014-07-10 12:10:25 -070019/** {@hide} */
Jeff Sharkey16c8e3f2014-07-24 17:08:17 -070020oneway interface IPackageInstallerCallback {
Andrei Oneaf650e3c2019-02-25 13:15:54 +000021 @UnsupportedAppUsage
Jeff Sharkey16c8e3f2014-07-24 17:08:17 -070022 void onSessionCreated(int sessionId);
Andrei Oneaf650e3c2019-02-25 13:15:54 +000023 @UnsupportedAppUsage
Jeff Sharkeyec9bad22014-09-05 09:45:20 -070024 void onSessionBadgingChanged(int sessionId);
Andrei Oneaf650e3c2019-02-25 13:15:54 +000025 @UnsupportedAppUsage
Jeff Sharkeybc7bce32014-09-05 15:53:05 -070026 void onSessionActiveChanged(int sessionId, boolean active);
Andrei Oneaf650e3c2019-02-25 13:15:54 +000027 @UnsupportedAppUsage
Jeff Sharkey16c8e3f2014-07-24 17:08:17 -070028 void onSessionProgressChanged(int sessionId, float progress);
Andrei Oneaf650e3c2019-02-25 13:15:54 +000029 @UnsupportedAppUsage
Jeff Sharkeybb580672014-07-10 12:10:25 -070030 void onSessionFinished(int sessionId, boolean success);
31}