Player APIs (BrightScript & Ja...
...
Object Reference
Networking Objects
roUPnPServiceEvent
2min
this event object is returned whenever a upnp event message is received (for example, from a subscribe() operation on the roupnpservice object) if a upnp event message contains multiple state variables, separate event objects will be returned for each state variable ifupnpserviceevent getuuid() as string returns the subscription id of the subscription service sending the event this string matches the value returned by the getsid() method of the roupnpservice instance that generated the event getvariable() as string returns the name of the upnp state variable to which the value corresponds getvalue() as string returns the value of the variable getsequence() as integer returns the incrementing sequence number, which denotes the upnp message from which the update originated the sequence number will be the same for multiple variable updates reported in a single upnp event ifuserdata setuserdata(user data as object) sets the user data that will be returned when events are raised getuserdata() as object returns the user data that has previously been set via setuserdata() it will return invalid if no data has been set