mUPnP for C
CGUpnpStateVariable Class Reference

#include <CGUpnpStateVariable.h>

Inheritance diagram for CGUpnpStateVariable:

Instance Methods

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

Properties

mUpnpStateVariablecObject
 

Detailed Description

The CGUpnpStateVariable class is a wrapper class for mUpnpStateVariable of mUPnP for C.

Method Documentation

◆ allowedValues

- (NSArray *) allowedValues

Get an array of the allowed values for the state variable

Returns
The array.

◆ initWithCObject:

- (id) initWithCObject: (mUpnpStateVariable*) cobj

◆ isAllowedValue:

- (BOOL) isAllowedValue: (NSString*) value

Checks whether value is allowed for this state variable

Parameters
valueto be checked
Returns
YES if true

◆ name

- (NSString *) name

Get the name of the state variable.

Returns
The name.

◆ query

- (BOOL) query

Send query

Returns
YES if successfull; otherwise NO

◆ statusCode

- (NSInteger) statusCode

Get a states code of the last query.

Returns
The status code

◆ value

- (NSString *) value

Get the value of the state variable.

Returns
The value.

Property Documentation

◆ cObject

- (mUpnpStateVariable*) cObject
readatomicassign

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