ProSDClient class

listens to ProPresenter as a stage display client.

Unlike the ProRemoteClient, this class has no need to access anything from the parent propresenter class.

The following streams are emitted from this class:

Inheritance

Constructors

ProSDClient(ProSettings settings)

Properties

active bool
getter/setter pair
callbacks Map<String, List<void Function(ProEvent<Object> event)>>
getter/setter pairinherited
connected bool
no setterinherited
connecting bool
no setterinherited
connectionStatus Stream<ProConnectionStatus>
no setterinherited
current ProSDSlide
getter/setter pair
destroyed bool
getter/setter pairinherited
disconnected bool
no setterinherited
eventStream StreamController<ProEvent<Object>>
getter/setter pairinherited
failed bool
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
ip String
no setter
last ProSDSlide
getter/setter pair
layouts List<ProSDLayout>
getter/setter pair
message String
getter/setter pair
messageStream Stream<String>
no setter
next ProSDSlide
getter/setter pair
password String?
no setter
port int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seenSlides Map<String, ProSDSlide>
getter/setter pair
settings ProSettings
getter/setter pair
slideStream Stream
no setter
socketListener StreamSubscription?
getter/setter pair
socketStatusListener StreamSubscription?
getter/setter pair
status ProConnectionStatus
getter/setter pairinherited
statusMap Map
no setter
sysStream Stream
no setter
systemTime ↔ TimeOfDay
getter/setter pair
timers Map<String, ProTimer>
getter/setter pair
timerStream Stream
no setter
updates Stream<String>
no setterinherited
version ProVersion
no setter
ws ↔ WS
getter/setter pair

Methods

clear() → void
inherited
connect() Future<ProConnectionStatus>
delayedConnectionCheck() Future<ProConnectionStatus>
returns a future that completes after two seconds with the connection status
inherited
destroy() → void
disconnect() Future
dispose() → void
inherited
emit(String event, [Object? data]) → void
emit will always emit twice... first, by the name of the event submitted, and secondly, by the name of the special event 'all'
inherited
getAllLayouts() → void
messageHandler(Map<String, dynamic> data) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notify([String eventName = 'update']) → void
inherited
on(String event, void callback(ProEvent<Object> event)) ProEventObserver
set a callback for events of this type.
inherited
send(WSMessage message) → void
stream(String event) Stream<ProEvent<Object>>
listen to an event on this ProEventEmitter as a stream. An ProEvent will be emitted whenever the event by this name is emitted.
inherited
toString() String
A string representation of this object.
inherited

Operators

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