AblLink class

The representation of an AblLink instance.

Implemented types

Constructors

AblLink.create(double bpm)
Construct a new AblLink instance with an initial tempo.
factory

Properties

destroyed bool
Returns true if the contained abl_link C++ Object has been disposed of in memory with destroy. This should not be needed as NativeFinalizer cleans up the underlying memory automatically when the AblLink instance becomes inaccessible.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

captureAppSessionState([SessionState? existingSessionState]) SessionState
Capture the current Link SessionState from an application thread.
captureAudioSessionState([SessionState? existingSessionState]) → dynamic
Capture the current Link SessionState from the audio thread.
clockMicros() int
Get the current link clock time in microseconds.
commitAppSessionState(SessionState sessionState) → dynamic
Commit the given SessionState to the Link session from an application thread.
commitAudioSessionState(SessionState sessionState) → dynamic
Commit the given SessionState to the Link session from the audio thread.
destroy() → void
Manually delete the C++ representation of the abl_link instance contained in this object. Renders this instance unusable. This should not be needed as NativeFinalizer cleans up the underlying memory automatically when the AblLink instance becomes inaccessible.
enable(bool enable) → void
Enable/disable Link.
enableStartStopSync(bool enabled) → void
Enable start/stop synchronization.
isEnabled() bool
Is Link currently enabled?
isStartStopSyncEnabled() bool
Is start/stop synchronization enabled?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
numPeers() int
How many peers are currently connected in a Link session?
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited