#include <CGUpnpService.h>
The CGUpnpService class is a wrapper class for mUpnpService of mUPnP for C.
◆ actions
Get all actions in the service as a NSArray object. The array has the actions as instances of CGUpnpAction.
- Returns
- NSArray of CGUpnpAction.
◆ getActionForName:
Get a action in the service by the specified name.
- Parameters
-
name | A name string of the action. |
- Returns
- The CGUpnpAction if the specified action is found; otherwise nil.
◆ getStateVariableForName:
Get a state variables in the service by the specified name.
- Parameters
-
name | A name string of the state variable. |
- Returns
- The CGUpnpStateVariable if the specified state variable is found; otherwise nil.
◆ initWithCObject:
Create a new UPnP service with the C instance.
- Returns
- New instance if successfull; otherwise nil.
◆ isStateVariableImpemented:
- (BOOL) isStateVariableImpemented: |
|
(NSString*) | name |
|
Checks whether state variable is implemented
- Parameters
-
name | A name string of the state variable. |
- Returns
- YES if implemented
◆ parseXMLDescription:
- (BOOL) parseXMLDescription: |
|
(NSString*) | xmlDesc |
|
Parse the specified XML description.
- Returns
- YES if successfull; otherwise nui.
◆ serviceId
Get the service ID of the service.
- Returns
- The service ID.
◆ serviceType
- (NSString *) serviceType |
|
|
|
Get the service type of the service.
- Returns
- The service type.
◆ stateVariables
- (NSArray *) stateVariables |
|
|
|
◆ cObject
The documentation for this class was generated from the following files: