API Reference | developer.brewmp.com API Reference | developer.brewmp.com


API Reference


Brew Release
Brew MP 1.0.2
SoftkeyTC is an implementation of IController that can be used by Softkey Widget to handle pointer events provided to the widget by BREW.
SoftkeyTC handles BREW pointer events for a Softkey Widget and responds by listening to EVT_POINTER_DOWN and sending view model notification with WECLTYPE_CLICK.

Using SoftkeyTC from your application:
Applications do not need to deal with SoftkeyTC directly if they want to have the default behavior as described above. If the application needs to customize the behavior of this touch controller, it can do so by overriding handler on the touchcontroller. If the application wants to continue using default behavior, it can just add listener to the Softkey Widget's ViewModel and listen for EVT_MDL_WIDGETELEM_CLICK to know when the Softkey was clicked.
The softkey touch controller is instantiated by passing AEECLSID_SoftkeyTC into ISHELL_CreateInstance.
The softkey touch controller is reference counted. When you are done with your reference to the softkey touch controller, you should Release that reference. Any softkey touch controller-specific cleanup will be handled for you when all references are released.
Default Interface Name