#include <CGUpnpAction.h>
The CGUpnpAction class is a wrapper class for mUpnpAction of mUPnP for C.
◆ arguments
- (NSDictionary *) arguments |
|
|
|
Get all arguments in the action as a NSDictionary object.
- Returns
- NSDictionary of the arguments.
◆ argumentValueForName:
- (NSString *) argumentValueForName: |
|
(NSString*) | name |
|
Get a value of the specified argument from the action by the argument's name directly.
- Parameters
-
name | The name of the argument to look for |
- Returns
- The target value if successfull; otherwise NULL
◆ initWithCObject:
◆ name
Get the name of the action.
- Returns
- The name.
◆ post
Send action
- Returns
- YES if successfull; otherwise NO
◆ postWithArguments:
- (BOOL) postWithArguments: |
|
(NSDictionary*) | arguments |
|
Send action
- Parameters
-
arguments | Arguments to set |
- Returns
- YES if successfull; otherwise NO
◆ setArgumentValue:forName:
- (BOOL) setArgumentValue: |
|
(NSString*) | value |
forName: |
|
(NSString*) | name |
Set a value of the specified argument from the action by the argument's name directly.
- Parameters
-
value | The value to set |
name | The name of the argument to look for |
- Returns
- YES if successfull; otherwise NO
◆ statusCode
Get a states code of the last post.
- Returns
- The status code
◆ cObject
The documentation for this class was generated from the following files: