StreamLink for iOS  8.0.1.272288-2528e247
<SLCommandListener > Protocol Reference

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...

Inheritance diagram for <SLCommandListener >:

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...
 

Detailed Description

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.

Method Documentation

- (void SLCommandListener) commandFailedForSubject: (NSString *)  subject
withEvent: (id< SLCommandResultEvent >)  commandEvent 

Handles the event raised when a command cannot be successfully executed.

Parameters
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.

Parameters
subject- The subject for which the command was executed.
commandEvent- An SLCommandResultEvent defining the command result.

Generated on Thu Jun 27 2024 12:17:58 for StreamLink for iOS