Top Description Fields Methods
org.osgi.service.upnp

public Interface UPnPLocalStateVariable

extends UPnPStateVariable

A local UPnP state variable which allows the value of the state variable to be queried.
Author
$Id: d491334387bfdc913f196eb77a22ddc181bb81a8 $
Since
1.1

Field Summary

Inherited from org.osgi.service.upnp.UPnPStateVariable:
TYPE_BIN_BASE64TYPE_BIN_HEXTYPE_BOOLEANTYPE_CHARTYPE_DATETYPE_DATETIMETYPE_DATETIME_TZTYPE_FIXED_14_4TYPE_FLOATTYPE_I1TYPE_I2TYPE_I4TYPE_INTTYPE_NUMBERTYPE_R4TYPE_R8TYPE_STRINGTYPE_TIMETYPE_TIME_TZTYPE_UI1TYPE_UI2TYPE_UI4TYPE_URITYPE_UUID

Method Summary

Modifier and TypeMethod and Description
public Object

Returns:

Object current value of UPnPStateVariable. If the current value is initialized with the default value defined UPnP service description.
getCurrentValue
()

This method will keep the current values of UPnPStateVariables of a UPnPDevice whenever UPnPStateVariable's value is changed , this method must be called.

Inherited from org.osgi.service.upnp.UPnPStateVariable:
getAllowedValuesgetDefaultValuegetJavaDataTypegetMaximumgetMinimumgetNamegetStepgetUPnPDataTypesendsEvents

Method Detail

getCurrentValueback to summary
public Object getCurrentValue()

This method will keep the current values of UPnPStateVariables of a UPnPDevice whenever UPnPStateVariable's value is changed , this method must be called.

Returns:Object

Object current value of UPnPStateVariable. If the current value is initialized with the default value defined UPnP service description.

Exceptions
IllegalStateException:
If the UPnP state variable has been removed.