Debian Codegraph @

core/java/android/service/quickaccesswallet/IQuickAccessWalletService.aidl

raw
1 /*
2 * Copyright 2020 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
17 package android.service.quickaccesswallet;
18
19 import android.service.quickaccesswallet.GetWalletCardsRequest;
20 import android.service.quickaccesswallet.IQuickAccessWalletServiceCallbacks;
21 import android.service.quickaccesswallet.SelectWalletCardRequest;
22 import android.service.quickaccesswallet.WalletServiceEvent;
23 import android.service.quickaccesswallet.WalletServiceEventListenerRequest;
24
25 /**
26 * Implemented by QuickAccessWalletService in the payment application
27 *
28 * @hide
29 */
30 interface IQuickAccessWalletService {
31 // Request to get cards, which should be provided using the callback.
32 oneway void onWalletCardsRequested(
33 in GetWalletCardsRequest request, in IQuickAccessWalletServiceCallbacks callback);
34 // Indicates that a card has been selected.
35 oneway void onWalletCardSelected(in SelectWalletCardRequest request);
36 // Sent when the wallet is dismissed or closed.
37 oneway void onWalletDismissed();
38 // Register an event listener
39 oneway void registerWalletServiceEventListener(
40 in WalletServiceEventListenerRequest request,
41 in IQuickAccessWalletServiceCallbacks callback);
42 // Unregister an event listener
43 oneway void unregisterWalletServiceEventListener(in WalletServiceEventListenerRequest request);
44 // Request to get a PendingIntent to launch an activity from which the user can manage their cards.
45 oneway void onTargetActivityIntentRequested(in IQuickAccessWalletServiceCallbacks callbacks);
46 }