JS API Reference TransportEvent class

TransportEvent class

Extends: RNBOBaseEvent

Implements: IRNBOTransportEvent

TransportEvent class to send transport state changes into a RNBO Device

Remarks

Refer to our guide on Events related to Musical Time.

Signature

export declare class RNBOTransportEvent extends RNBOBaseEvent implements IRNBOTransportEvent 

Constructor

Constructs a new instance of the RNBOTransportEvent class

Parameters

ParameterTypeDescription
timeMillisecondTime
stateTransportState

Properties

state

read-only

Type: TransportState

type

read-only

Type: RNBOEventType.TransportEvent

The type of the event. See EventType

Methods

serialize

Parameters

None.

Returns:

IRNBOTransportEvent