Closed GoogleCodeExporter closed 9 years ago
In fact we want to have an IMS API (methods/events) common to the other API
(messaging, richcall, etc). So today there is no connectApi method in the IMS
API because this is used via the other AP.
Then I think is no very clean as you said.
The solution may be to well separate the IMS API from the other API.
Original comment by jmauffret@gmail.com
on 5 Apr 2012 at 6:12
Yes, I understood it. And I would agree that separating IMS API would be a
possible solution. Sorry if I did not make myself clear. What I was trying to
say is that ClientApi base class defines certain contract (connectApi() +
listeners) for managing the API instance lifecycle. ImsApi, while being a
subclass of ClientApi, does not follow this contract. All other subclasses of
ClientApi follow it.
Original comment by ngrigor...@gmail.com
on 5 Apr 2012 at 12:58
To add to it, after carefully looking at ImsApi code it becomes clear that its
isImsConnected() method always returns null. Its coreApi property is never set
to anything - because its apiConnection property is never used.
Original comment by ngrigor...@gmail.com
on 5 Apr 2012 at 1:31
I have internalize the isConnected method and rmove the public IMS API. This
will be available in the next release.
Original comment by jmauffret@gmail.com
on 12 Apr 2012 at 4:15
Original issue reported on code.google.com by
ngrigor...@gmail.com
on 4 Apr 2012 at 7:49