Carrier
You can directly use an instance of this class.
carrier
A class in charge of building the payload expected by the native app the payload must be a Payload
Constructor Summary
| Public Constructor | ||
| public |
Generate a new Carrier |
|
Method Summary
| Public Methods | ||
| public |
clear() Clear the last payload sent |
|
| public |
onlyUpdated(payload: Payload): Payload |
|
| public |
payloadFrom(playback: Playback): Payload |
|
| public |
requestPayload(playback: Playback): Payload |
|
| public |
Store the last payload sent |
|
Public Methods
public onlyUpdated(payload: Payload): Payload source
Params:
| Name | Type | Attribute | Description |
| payload | Payload |
public payloadFrom(playback: Playback): Payload source
Params:
| Name | Type | Attribute | Description |
| playback | Playback |
