Package org.osgi.service.upnp
Interface UPnPLocalStateVariable
- All Superinterfaces:
UPnPStateVariable
A local UPnP state variable which allows the value of the state variable to
be queried.
- Since:
- 1.1
-
Field Summary
Fields inherited from interface org.osgi.service.upnp.UPnPStateVariable
TYPE_BIN_BASE64, TYPE_BIN_HEX, TYPE_BOOLEAN, TYPE_CHAR, TYPE_DATE, TYPE_DATETIME, TYPE_DATETIME_TZ, TYPE_FIXED_14_4, TYPE_FLOAT, TYPE_I1, TYPE_I2, TYPE_I4, TYPE_INT, TYPE_NUMBER, TYPE_R4, TYPE_R8, TYPE_STRING, TYPE_TIME, TYPE_TIME_TZ, TYPE_UI1, TYPE_UI2, TYPE_UI4, TYPE_URI, TYPE_UUID
-
Method Summary
Modifier and TypeMethodDescriptionThis method will keep the current values of UPnPStateVariables of a UPnPDevice whenever UPnPStateVariable's value is changed , this method must be called.Methods inherited from interface org.osgi.service.upnp.UPnPStateVariable
getAllowedValues, getDefaultValue, getJavaDataType, getMaximum, getMinimum, getName, getStep, getUPnPDataType, sendsEvents
-
Method Details
-
getCurrentValue
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
current value of UPnPStateVariable. If the current value is initialized with the default value defined UPnP service description.- Throws:
IllegalStateException
- If the UPnP state variable has been removed.
-