Home Manual Reference Source Test
public class | source

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

Member Summary

Public Members
public

Method Summary

Public Methods
public

clear()

Clear the last payload sent

public
public
public
public

store(payload: Payload)

Store the last payload sent

Public Constructors

public constructor() source

Generate a new Carrier

Public Members

public last: Payload source

Public Methods

public clear() source

Clear the last payload sent

public onlyUpdated(payload: Payload): Payload source

Params:

NameTypeAttributeDescription
payload Payload

Return:

Payload

public payloadFrom(playback: Playback): Payload source

Params:

NameTypeAttributeDescription
playback Playback

Return:

Payload

public requestPayload(playback: Playback): Payload source

Params:

NameTypeAttributeDescription
playback Playback

Return:

Payload

public store(payload: Payload) source

Store the last payload sent

Params:

NameTypeAttributeDescription
payload Payload