1/*
2 * Copyright (C) 2017 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.telephony.ims.stub;
18
19import android.os.Bundle;
20import android.os.RemoteException;
21
22import com.android.ims.ImsCallForwardInfo;
23import com.android.ims.ImsReasonInfo;
24import com.android.ims.ImsSsInfo;
25import com.android.ims.internal.IImsUt;
26import com.android.ims.internal.IImsUtListener;
27
28/**
29 * Base implementation of ImsUtListener, which implements stub versions of the methods
30 * in the IImsUtListener AIDL. Override the methods that your implementation of
31 * ImsUtListener supports.
32 *
33 * DO NOT remove or change the existing APIs, only add new ones to this Base implementation or you
34 * will break other implementations of ImsUtListener maintained by other ImsServices.
35 *
36 * @hide
37 */
38
39public class ImsUtListenerImplBase extends IImsUtListener.Stub {
40
41    /**
42     * Notifies the result of the supplementary service configuration udpate.
43     */
44    @Override
45    public void utConfigurationUpdated(IImsUt ut, int id) throws RemoteException {
46    }
47
48    @Override
49    public void utConfigurationUpdateFailed(IImsUt ut, int id, ImsReasonInfo error)
50            throws RemoteException {
51    }
52
53    /**
54     * Notifies the result of the supplementary service configuration query.
55     */
56    @Override
57    public void utConfigurationQueried(IImsUt ut, int id, Bundle ssInfo) throws RemoteException {
58    }
59
60    @Override
61    public void utConfigurationQueryFailed(IImsUt ut, int id, ImsReasonInfo error)
62            throws RemoteException {
63    }
64
65    /**
66     * Notifies the status of the call barring supplementary service.
67     */
68    @Override
69    public void utConfigurationCallBarringQueried(IImsUt ut, int id, ImsSsInfo[] cbInfo)
70            throws RemoteException {
71    }
72
73    /**
74     * Notifies the status of the call forwarding supplementary service.
75     */
76    @Override
77    public void utConfigurationCallForwardQueried(IImsUt ut, int id, ImsCallForwardInfo[] cfInfo)
78            throws RemoteException {
79    }
80
81    /**
82     * Notifies the status of the call waiting supplementary service.
83     */
84    @Override
85    public void utConfigurationCallWaitingQueried(IImsUt ut, int id, ImsSsInfo[] cwInfo)
86            throws RemoteException {
87    }
88}
89