/*
 * This file is auto-generated.  DO NOT MODIFY.
 * Original file: /var/tmp/code-browser-generator/android_android_9.0.0_r358833596918674107602/combined/com/android/ims/ImsConfigListener.aidl
 */
package com.android.ims;
Used by IMS config client to monitor the config operation results. {@hide}
/** * Used by IMS config client to monitor the config operation results. * {@hide} */
public interface ImsConfigListener extends android.os.IInterface {
Local-side IPC implementation stub class.
/** Local-side IPC implementation stub class. */
public static abstract class Stub extends android.os.Binder implements com.android.ims.ImsConfigListener { private static final java.lang.String DESCRIPTOR = "com.android.ims.ImsConfigListener";
Construct the stub at attach it to the interface.
/** Construct the stub at attach it to the interface. */
public Stub() { this.attachInterface(this, DESCRIPTOR); }
Cast an IBinder object into an com.android.ims.ImsConfigListener interface, generating a proxy if needed.
/** * Cast an IBinder object into an com.android.ims.ImsConfigListener interface, * generating a proxy if needed. */
public static com.android.ims.ImsConfigListener asInterface(android.os.IBinder obj) { if ((obj==null)) { return null; } android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR); if (((iin!=null)&&(iin instanceof com.android.ims.ImsConfigListener))) { return ((com.android.ims.ImsConfigListener)iin); } return new com.android.ims.ImsConfigListener.Stub.Proxy(obj); } @Override public android.os.IBinder asBinder() { return this; } @Override public boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags) throws android.os.RemoteException { java.lang.String descriptor = DESCRIPTOR; switch (code) { case INTERFACE_TRANSACTION: { reply.writeString(descriptor); return true; } case TRANSACTION_onGetFeatureResponse: { data.enforceInterface(descriptor); int _arg0; _arg0 = data.readInt(); int _arg1; _arg1 = data.readInt(); int _arg2; _arg2 = data.readInt(); int _arg3; _arg3 = data.readInt(); this.onGetFeatureResponse(_arg0, _arg1, _arg2, _arg3); return true; } case TRANSACTION_onSetFeatureResponse: { data.enforceInterface(descriptor); int _arg0; _arg0 = data.readInt(); int _arg1; _arg1 = data.readInt(); int _arg2; _arg2 = data.readInt(); int _arg3; _arg3 = data.readInt(); this.onSetFeatureResponse(_arg0, _arg1, _arg2, _arg3); return true; } case TRANSACTION_onGetVideoQuality: { data.enforceInterface(descriptor); int _arg0; _arg0 = data.readInt(); int _arg1; _arg1 = data.readInt(); this.onGetVideoQuality(_arg0, _arg1); return true; } case TRANSACTION_onSetVideoQuality: { data.enforceInterface(descriptor); int _arg0; _arg0 = data.readInt(); this.onSetVideoQuality(_arg0); return true; } default: { return super.onTransact(code, data, reply, flags); } } } private static class Proxy implements com.android.ims.ImsConfigListener { private android.os.IBinder mRemote; Proxy(android.os.IBinder remote) { mRemote = remote; } @Override public android.os.IBinder asBinder() { return mRemote; } public java.lang.String getInterfaceDescriptor() { return DESCRIPTOR; }
Notifies client the value of the get operation result on the feature config item. The arguments are the same as passed to com.android.ims.ImsConfig#getFeatureValue.
@paramfeature. as defined in com.android.ims.ImsConfig#FeatureConstants.
@paramnetwork. as defined in android.telephony.TelephonyManager#NETWORK_TYPE_XXX.
@paramvalue. as defined in com.android.ims.ImsConfig#FeatureValueConstants.
@paramstatus. as defined in com.android.ims.ImsConfig#OperationStatusConstants.
Returns:void.
/** * Notifies client the value of the get operation result on the feature config item. * The arguments are the same as passed to com.android.ims.ImsConfig#getFeatureValue. * * @param feature. as defined in com.android.ims.ImsConfig#FeatureConstants. * @param network. as defined in android.telephony.TelephonyManager#NETWORK_TYPE_XXX. * @param value. as defined in com.android.ims.ImsConfig#FeatureValueConstants. * @param status. as defined in com.android.ims.ImsConfig#OperationStatusConstants. * @return void. */
@Override public void onGetFeatureResponse(int feature, int network, int value, int status) throws android.os.RemoteException { android.os.Parcel _data = android.os.Parcel.obtain(); try { _data.writeInterfaceToken(DESCRIPTOR); _data.writeInt(feature); _data.writeInt(network); _data.writeInt(value); _data.writeInt(status); mRemote.transact(Stub.TRANSACTION_onGetFeatureResponse, _data, null, android.os.IBinder.FLAG_ONEWAY); } finally { _data.recycle(); } }
Notifies client the set value operation result for feature config item. Used by clients that need to be notified the set operation result. The arguments are the same as passed to com.android.ims.ImsConfig#setFeatureValue. The arguments are repeated in the callback to enable the listener to understand which configuration attempt failed.
@paramfeature. as defined in com.android.ims.ImsConfig#FeatureConstants.
@paramnetwork. as defined in android.telephony.TelephonyManager#NETWORK_TYPE_XXX.
@paramvalue. as defined in com.android.ims.ImsConfig#FeatureValueConstants.
@paramstatus. as defined in com.android.ims.ImsConfig#OperationStatusConstants.
Returns:void.
/** * Notifies client the set value operation result for feature config item. * Used by clients that need to be notified the set operation result. * The arguments are the same as passed to com.android.ims.ImsConfig#setFeatureValue. * The arguments are repeated in the callback to enable the listener to understand * which configuration attempt failed. * * @param feature. as defined in com.android.ims.ImsConfig#FeatureConstants. * @param network. as defined in android.telephony.TelephonyManager#NETWORK_TYPE_XXX. * @param value. as defined in com.android.ims.ImsConfig#FeatureValueConstants. * @param status. as defined in com.android.ims.ImsConfig#OperationStatusConstants. * * @return void. */
@Override public void onSetFeatureResponse(int feature, int network, int value, int status) throws android.os.RemoteException { android.os.Parcel _data = android.os.Parcel.obtain(); try { _data.writeInterfaceToken(DESCRIPTOR); _data.writeInt(feature); _data.writeInt(network); _data.writeInt(value); _data.writeInt(status); mRemote.transact(Stub.TRANSACTION_onSetFeatureResponse, _data, null, android.os.IBinder.FLAG_ONEWAY); } finally { _data.recycle(); } }
Notifies client the value of the get operation result on the video quality item.
Throws:
  • ImsException – if calling the IMS service results in an error.
@paramstatus. as defined in com.android.ims.ImsConfig#OperationStatusConstants.
@paramquality. as defined in com.android.ims.ImsConfig#OperationValuesConstants.
Returns:void
/** * Notifies client the value of the get operation result on the video quality item. * * @param status. as defined in com.android.ims.ImsConfig#OperationStatusConstants. * @param quality. as defined in com.android.ims.ImsConfig#OperationValuesConstants. * @return void * * @throws ImsException if calling the IMS service results in an error. */
@Override public void onGetVideoQuality(int status, int quality) throws android.os.RemoteException { android.os.Parcel _data = android.os.Parcel.obtain(); try { _data.writeInterfaceToken(DESCRIPTOR); _data.writeInt(status); _data.writeInt(quality); mRemote.transact(Stub.TRANSACTION_onGetVideoQuality, _data, null, android.os.IBinder.FLAG_ONEWAY); } finally { _data.recycle(); } }
Notifies client the set value operation result for video quality item. Used by clients that need to be notified the set operation result.
Throws:
  • ImsException – if calling the IMS service results in an error.
@paramstatus. as defined in com.android.ims.ImsConfig#OperationStatusConstants.
Returns:void
/** * Notifies client the set value operation result for video quality item. * Used by clients that need to be notified the set operation result. * * @param status. as defined in com.android.ims.ImsConfig#OperationStatusConstants. * @return void * * @throws ImsException if calling the IMS service results in an error. */
@Override public void onSetVideoQuality(int status) throws android.os.RemoteException { android.os.Parcel _data = android.os.Parcel.obtain(); try { _data.writeInterfaceToken(DESCRIPTOR); _data.writeInt(status); mRemote.transact(Stub.TRANSACTION_onSetVideoQuality, _data, null, android.os.IBinder.FLAG_ONEWAY); } finally { _data.recycle(); } } } static final int TRANSACTION_onGetFeatureResponse = (android.os.IBinder.FIRST_CALL_TRANSACTION + 0); static final int TRANSACTION_onSetFeatureResponse = (android.os.IBinder.FIRST_CALL_TRANSACTION + 1); static final int TRANSACTION_onGetVideoQuality = (android.os.IBinder.FIRST_CALL_TRANSACTION + 2); static final int TRANSACTION_onSetVideoQuality = (android.os.IBinder.FIRST_CALL_TRANSACTION + 3); }
Notifies client the value of the get operation result on the feature config item. The arguments are the same as passed to com.android.ims.ImsConfig#getFeatureValue.
@paramfeature. as defined in com.android.ims.ImsConfig#FeatureConstants.
@paramnetwork. as defined in android.telephony.TelephonyManager#NETWORK_TYPE_XXX.
@paramvalue. as defined in com.android.ims.ImsConfig#FeatureValueConstants.
@paramstatus. as defined in com.android.ims.ImsConfig#OperationStatusConstants.
Returns:void.
/** * Notifies client the value of the get operation result on the feature config item. * The arguments are the same as passed to com.android.ims.ImsConfig#getFeatureValue. * * @param feature. as defined in com.android.ims.ImsConfig#FeatureConstants. * @param network. as defined in android.telephony.TelephonyManager#NETWORK_TYPE_XXX. * @param value. as defined in com.android.ims.ImsConfig#FeatureValueConstants. * @param status. as defined in com.android.ims.ImsConfig#OperationStatusConstants. * @return void. */
public void onGetFeatureResponse(int feature, int network, int value, int status) throws android.os.RemoteException;
Notifies client the set value operation result for feature config item. Used by clients that need to be notified the set operation result. The arguments are the same as passed to com.android.ims.ImsConfig#setFeatureValue. The arguments are repeated in the callback to enable the listener to understand which configuration attempt failed.
@paramfeature. as defined in com.android.ims.ImsConfig#FeatureConstants.
@paramnetwork. as defined in android.telephony.TelephonyManager#NETWORK_TYPE_XXX.
@paramvalue. as defined in com.android.ims.ImsConfig#FeatureValueConstants.
@paramstatus. as defined in com.android.ims.ImsConfig#OperationStatusConstants.
Returns:void.
/** * Notifies client the set value operation result for feature config item. * Used by clients that need to be notified the set operation result. * The arguments are the same as passed to com.android.ims.ImsConfig#setFeatureValue. * The arguments are repeated in the callback to enable the listener to understand * which configuration attempt failed. * * @param feature. as defined in com.android.ims.ImsConfig#FeatureConstants. * @param network. as defined in android.telephony.TelephonyManager#NETWORK_TYPE_XXX. * @param value. as defined in com.android.ims.ImsConfig#FeatureValueConstants. * @param status. as defined in com.android.ims.ImsConfig#OperationStatusConstants. * * @return void. */
public void onSetFeatureResponse(int feature, int network, int value, int status) throws android.os.RemoteException;
Notifies client the value of the get operation result on the video quality item.
Throws:
  • ImsException – if calling the IMS service results in an error.
@paramstatus. as defined in com.android.ims.ImsConfig#OperationStatusConstants.
@paramquality. as defined in com.android.ims.ImsConfig#OperationValuesConstants.
Returns:void
/** * Notifies client the value of the get operation result on the video quality item. * * @param status. as defined in com.android.ims.ImsConfig#OperationStatusConstants. * @param quality. as defined in com.android.ims.ImsConfig#OperationValuesConstants. * @return void * * @throws ImsException if calling the IMS service results in an error. */
public void onGetVideoQuality(int status, int quality) throws android.os.RemoteException;
Notifies client the set value operation result for video quality item. Used by clients that need to be notified the set operation result.
Throws:
  • ImsException – if calling the IMS service results in an error.
@paramstatus. as defined in com.android.ims.ImsConfig#OperationStatusConstants.
Returns:void
/** * Notifies client the set value operation result for video quality item. * Used by clients that need to be notified the set operation result. * * @param status. as defined in com.android.ims.ImsConfig#OperationStatusConstants. * @return void * * @throws ImsException if calling the IMS service results in an error. */
public void onSetVideoQuality(int status) throws android.os.RemoteException; }