6.1-roUPnPActionResult

ON THIS PAGE


This object contains the results of an roUPnPService.Invoke() call. It is important to match the transaction ID of this object with the value returned by the Invoke() method. 

ifUPnPActionResult

GetType() As Integer

Returns the result type, which can be one of the following:

  • 1 – Invoke result
  • 2 – Subscribe result
GetID() As Integer

Returns the transaction ID of the result as an integer. Use it to match the roUPnPActionResult instance with the roUPnPService.Invoke() call that generated it.

GetResult() As Boolean

Returns True if the originating Invoke() call was successful.

GetValues() As roAssociativeArray

Returns an associative array containing the "out" values (if any) of the originating Invoke() call.

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.