Home | History | Annotate | Download | only in ims
      1 /*
      2  * Copyright (c) 2013 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 com.android.ims;
     18 
     19 /**
     20  * Listener for receiving notifications about changes to the IMS connection.
     21  * It provides a state of IMS registration between UE and IMS network, the service
     22  * availability of the local device during IMS registered.
     23  *
     24  * @hide
     25  */
     26 public class ImsConnectionStateListener {
     27     /**
     28      * Called when the device is connected to the IMS network.
     29      */
     30     public void onImsConnected() {
     31         // no-op
     32     }
     33 
     34     /**
     35      * Called when the device is disconnected from the IMS network.
     36      */
     37     public void onImsDisconnected() {
     38         // no-op
     39     }
     40 
     41     /**
     42      * Called when its suspended IMS connection is resumed, meaning the connection
     43      * now allows throughput.
     44      */
     45     public void onImsResumed() {
     46         // no-op
     47     }
     48 
     49     /**
     50      * Called when its current IMS connection is suspended, meaning there is no data throughput.
     51      */
     52     public void onImsSuspended() {
     53         // no-op
     54     }
     55 
     56     /**
     57      * Called when its current IMS connection feature capability changes.
     58      */
     59     public void onFeatureCapabilityChanged(int serviceClass,
     60                 int[] enabledFeatures, int[] disabledFeatures) {
     61         // no-op
     62     }
     63 }
     64