Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

I tried to use the IVersion interface to get information about the handset. But how do instantiate the interface?

In the docs it says:
https://developer.brewmp.com/reference/api/brew-mp-102/iversion

and I GUESS that I have to use ISHELL_CreateInstance(), but what class id? 
Sometimes the class id can be guessed, but the docs never just point it out.
Should I search all the include files, or how am I supposed to use the IVersion interface?

If you see Brew API reference shipped with SDK, IVersion mentioned the classes. Here are few:
AEECLSID_FORMSVERSION
AEECLSID_FRAMEWIDGETVERSION
AEECLSID_HTMLWIDGETVERSION
AEECLSID_WIDGETSVERSION
AEECLSID_WIDGETTCVERSION
Refer API reference of these classes to get details.
Usage is same as other interfaces. Create the instance of class of
which you need version details and use IVersion APIs to get it.

If you see Brew API reference shipped with SDK, IVersion mentioned the classes. Here are few:
AEECLSID_FORMSVERSION
AEECLSID_FRAMEWIDGETVERSION
AEECLSID_HTMLWIDGETVERSION
AEECLSID_WIDGETSVERSION
AEECLSID_WIDGETTCVERSION
Refer API reference of these classes to get details.
Usage is same as other interfaces. Create the instance of class of
which you need version details and use IVersion APIs to get it.