CyberLink for Objective-C

CGUpnpStateVariable Class Reference

#import <CGUpnpStateVariable.h>

Public Member Functions

(id) - initWithCObject:
(NSString *) - name
(NSString *) - value
(NSArray *) - allowedValues
(BOOL) - isAllowedValue:
(BOOL) - query
(NSInteger) - statusCode

Properties

CgUpnpStateVariable * cObject

Detailed Description

The CGUpnpStateVariable class is a wrapper class for CgUpnpStateVariable of CyberLink for C.


Member Function Documentation

- (NSArray *) allowedValues

Get an array of the allowed values for the state variable

Returns:
The array.
- (id) initWithCObject: (CgUpnpStateVariable *)  cobj
- (BOOL) isAllowedValue: (NSString*)  value

Checks whether value is allowed for this state variable

Parameters:
valueto be checked
Returns:
YES if true
- (NSString *) name

Get the name of the state variable.

Returns:
The name.
- (BOOL) query

Send query

Returns:
YES if successfull; otherwise NO
- (NSInteger) statusCode

Get a states code of the last query.

Returns:
The status code
- (NSString *) value

Get the value of the state variable.

Returns:
The value.

Property Documentation

- (CgUpnpStateVariable *) cObject [read, assign]

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