blob: 4b4dffaf145edda92c24f4862b6478f17af3df26 [file] [log] [blame]
Makoto Onuki2d895c32016-12-02 15:48:40 -08001/*
2 * Copyright (C) 2016 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 */
16package android.content.pm;
17
18import android.os.Bundle;
Makoto Onuki8abba3a2017-02-24 11:34:54 -080019import android.appwidget.AppWidgetProviderInfo;
20import android.content.pm.ShortcutInfo;
Makoto Onuki2d895c32016-12-02 15:48:40 -080021
22/**
23 * {@hide}
24 */
25interface IPinItemRequest {
26 boolean isValid();
27 boolean accept(in Bundle options);
Makoto Onuki8abba3a2017-02-24 11:34:54 -080028 ShortcutInfo getShortcutInfo();
29 AppWidgetProviderInfo getAppWidgetProviderInfo();
Sunny Goyal4ad6b572017-02-28 11:11:51 -080030 Bundle getExtras();
Makoto Onuki2d895c32016-12-02 15:48:40 -080031}