CyberLink for Objective-C

CGUpnpAction Class Reference

#import <CGUpnpAction.h>

Public Member Functions

(id) - initWithCObject:
(NSString *) - name
(NSDictionary *) - arguments
(BOOL) - setArgumentValue:forName:
(NSString *) - argumentValueForName:
(BOOL) - post
(BOOL) - postWithArguments:
(NSInteger) - statusCode

Properties

CgUpnpAction * cObject

Detailed Description

The CGUpnpAction class is a wrapper class for CgUpnpAction of CyberLink for C.


Member Function Documentation

- (NSDictionary *) arguments

Get all arguments in the action as a NSDictionary object.

Returns:
NSDictionary of the arguments.
- (NSString *) argumentValueForName: (NSString *)  name

Get a value of the specified argument from the action by the argument's name directly.

Parameters:
nameThe name of the argument to look for
Returns:
The target value if successfull; otherwise NULL
- (id) initWithCObject: (CgUpnpAction *)  cobj
- (NSString *) name

Get the name of the action.

Returns:
The name.
- (BOOL) post

Send action

Returns:
YES if successfull; otherwise NO
- (BOOL) postWithArguments: (NSDictionary *)  arguments

Send action

Parameters:
argumentsArguments to set
Returns:
YES if successfull; otherwise NO
- (BOOL) setArgumentValue: (NSString *)  value
forName: (NSString *)  name 

Set a value of the specified argument from the action by the argument's name directly.

Parameters:
valueThe value to set
nameThe name of the argument to look for
Returns:
YES if successfull; otherwise NO
- (NSInteger) statusCode

Get a states code of the last post.

Returns:
The status code

Property Documentation

- (CgUpnpAction *) cObject [read, assign]

The documentation for this class was generated from the following files: