WLActionReceiver Protocol Reference
Conforms to | NSObject |
Declared in | WLActionReceiver.h |
Overview
The WLActionReceiver protocol allows every implementing object to receive actions and data from the IBM MobileFirst Platform Framework
Instance Methods
onActionReceived:withData:
Any object can receive actions. To do so, it must implement the following protocol.
- (void)onActionReceived:(NSString *)action withData:(NSDictionary *)data
Discussion
Actions will always be delivered on a background thread. If you want to update the application user interface from the received action, you must do so on a main user interface thread, for example by using the performSelectorOnMainThread API.
Declared In
WLActionReceiver.h