I have a service with AIDL callbacks. I would like to know if it is possible to make an AIDL callback implement another AIDL callback in order to avoid multiple callback register
For example :
A.aidl :
interface A {
  void  doSomething();
}
B.aidl :
interface B implements A {
  void  doSomethingMore();
}
IService.aidl :
interface IService
{
  void  registerCallback(A callback);
}
Is it possible to do such thing and if no, what's the best way to do this ?