IMS: Adding ims on/off interface files and callback for enabled/disabled features.

Change-Id: I4e0049d605d9e7d13035c43e2504cdfb67a7a102
This commit is contained in:
ram
2014-07-16 21:38:42 +05:30
committed by Etan Cohen
parent 0bf65d2d71
commit ab458a1858
2 changed files with 22 additions and 0 deletions

View File

@@ -55,4 +55,15 @@ interface IImsRegistrationListener {
* Else ({@code event} is 1), meaning the specified service is added to the IMS connection.
*/
void registrationServiceCapabilityChanged(int serviceClass, int event);
/**
* Notifies the application when features on a particular service enabled or
* disabled successfully based on user preferences.
*
* @param serviceClass a service class specified in {@link ImsServiceClass}
* @param enabledFeatures features enabled as defined in com.android.ims.ImsConfig#FeatureConstants.
* @param disabledFeatures features disabled as defined in com.android.ims.ImsConfig#FeatureConstants.
*/
void registrationFeatureCapabilityChanged(int serviceClass,
out int[] enabledFeatures, out int[] disabledFeatures);
}

View File

@@ -51,4 +51,15 @@ interface IImsService {
* Config interface to get/set IMS service/capability parameters.
*/
IImsConfig getConfigInterface();
/**
* Used for turning on IMS when its in OFF state.
*/
void turnOnIms();
/**
* Used for turning off IMS when its in ON state.
* When IMS is OFF, device will behave as CSFB'ed.
*/
void turnOffIms();
}