IMS: Adding ims on/off interface files and callback for enabled/disabled features.
Change-Id: I4e0049d605d9e7d13035c43e2504cdfb67a7a102
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user