Transfer interface
Represents a Transfer Object
Properties
error | The transfer error code. |
state | The transfer state. |
Methods
off("state |
Unsubscribe function for stateChanged event |
on("state |
Subscribe function for stateChanged event |
Property Details
error
state
Method Details
off("stateChanged", PropertyChangedEvent)
Unsubscribe function for stateChanged event
function off(event: "stateChanged", listener: PropertyChangedEvent)
Parameters
- event
-
"stateChanged"
event name
- listener
- PropertyChangedEvent
callback fn that was used to subscribe to this event
on("stateChanged", PropertyChangedEvent)
Subscribe function for stateChanged event
function on(event: "stateChanged", listener: PropertyChangedEvent)
Parameters
- event
-
"stateChanged"
event name
- listener
- PropertyChangedEvent
callback fn that was used to subscribe to this event