LGConnection class

Manages a connection to the Liquid Galaxy system using SSH.

Constructors

LGConnection()
Creates an LGConnection instance.

Properties

hashCode int
The hash code for this object.
no setterinherited
leftScreen int
Gets the left screen number.
no setter
rightScreen int
Gets the right screen number.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenAmount int
Gets the screen amount.
no setter
sshConnection SSHConnection
SSH class for managing the connection.
getter/setter pair

Methods

buildOrbit(double latitude, double longitude, double zoom, double tilt, double bearing) Future<void>
Builds an orbit animation around a specific latitude and longitude.
clearKml({bool keepLogos = false}) Future<void>
Clears the KML files from the Liquid Galaxy system.
closeImageOnLG() Future<void>
Closes the image displayed on the Liquid Galaxy system.
connect() Future<bool>
Connects to the Liquid Galaxy system.
disconnect() → void
Disconnects from the Liquid Galaxy system.
displayImageOnLG(String imgUrl) Future<void>
Displays an image on the Liquid Galaxy system using Chromium.
flyTo(double latitude, double longitude, double zoom, double tilt, double bearing) Future<void>
Flies to a specific location on the Liquid Galaxy.
isConnected() Future<bool>
Returns the status of the SSH connection.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reboot() Future<void>
Reboots the Liquid Galaxy system.
relaunch() Future<void>
Relaunches the Liquid Galaxy services.
sendKmlFromAssets(String assetPath, {List<String> images = const []}) Future<void>
Sends a KML file from the assets folder to the Liquid Galaxy system.
sendKMLToSlave(int screen, String kml) Future<void>
Sends a KML to a specific screen on the Liquid Galaxy system.
setPlanet(String planet) Future<void>
Sets the planet to display on the Liquid Galaxy.
showLogos() Future<void>
Display the logos on the last screen of the Liquid Galaxy.
shutdown() Future<void>
Shuts down the Liquid Galaxy system.
startOrbit(String tourKml) Future<void>
Starts the orbit animation on the Liquid Galaxy.
stopOrbit() Future<void>
Stops any currently playing orbit animation on the Liquid Galaxy.
toString() String
A string representation of this object.
inherited

Operators

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