StreamLink for iOS
8.0.1.272288-2528e247
|
![]() |
Defines that protocol that should be implemented by the application to receive results of commands (for example Publishing data) that are executed on the Liberator. More...
Instance Methods | |
(void) | - commandOkForSubject:withEvent: |
Handles the event raised when a command is successfully executed. More... | |
(void) | - commandFailedForSubject:withEvent: |
Handles the event raised when a command cannot be successfully executed. More... | |
Defines that protocol that should be implemented by the application to receive results of commands (for example Publishing data) that are executed on the Liberator.
You must implement this protocol so that your application can receive and process the relevant result. Note: Your application may need to update the GUI using the information received by one or more of SLCommandListener's callback methods. However, these callback methods are called on an anonymous thread, and updates to the GUI should not be attempted from this thread; GUI updates must only be performed on the GUI thread.
- (void SLCommandListener) commandFailedForSubject: | (NSString *) | subject | |
withEvent: | (id< SLCommandResultEvent >) | commandEvent | |
Handles the event raised when a command cannot be successfully executed.
subject | - The subject for which the command was executed. |
commandEvent | - An SLCommandResultEvent defining the command result. |
- (void SLCommandListener) commandOkForSubject: | (NSString *) | subject | |
withEvent: | (id< SLCommandResultEvent >) | commandEvent | |
Handles the event raised when a command is successfully executed.
subject | - The subject for which the command was executed. |
commandEvent | - An SLCommandResultEvent defining the command result. |