ID253Monitor

interface ID253Monitor

Interface which should be implemented by any classes which aim to provide high-level functions for interacting with a Dasung253 monitor.

Provides functions for changing all of the monitor's settings and performing other common operations.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun clearGhosting(): D253Response

Refreshes the screen to clear any ghosting.

Link copied to clipboard
abstract suspend fun getCapabilities(): D253Capabilities

Queries the monitor to find out which features it supports.

Link copied to clipboard
abstract suspend fun getDisplayMode(): D253DisplayMode

Gets the display mode of the monitor.

Link copied to clipboard
abstract suspend fun getEnhancement(): Int

Gets the value of the enhancement setting from the monitor.

Link copied to clipboard
abstract suspend fun getFrontlight(): Int

Gets the value of the front light setting from the monitor.

Link copied to clipboard
abstract suspend fun getLight(): Int

Gets the value of the light setting from the monitor.

Link copied to clipboard
abstract suspend fun getParameters(): D253Parameters

Retrieves all known settings from the monitor.

Link copied to clipboard
abstract suspend fun getSpeed(): Int

Gets the value of the speed setting from the monitor.

Link copied to clipboard
abstract suspend fun getTemperature(): Int

Gets the monitor's color temperature.

Link copied to clipboard
abstract suspend fun getThreshold(): Int

Gets the value of the threshold setting from the monitor.

Link copied to clipboard
abstract suspend fun getVersion(): Int

Gets the model (mcu version) of the monitor.

Link copied to clipboard
abstract suspend fun setDisplayMode(mode: D253DisplayMode): D253Response

Sets the monitor's display mode.

Link copied to clipboard
abstract suspend fun setEnhancement(value: Int): D253Response

Sets the value of the enhancement setting on the monitor.

Link copied to clipboard
abstract suspend fun setFrontlight(value: Int): D253Response

Sets the value of the front light setting on the monitor.

Link copied to clipboard
abstract suspend fun setLight(value: Int): D253Response

Sets the value of the light setting on the monitor.

Link copied to clipboard
abstract suspend fun setRtc(value: Instant): D253Response

Sets the RTC (real-time clock) of the monitor.

Link copied to clipboard
abstract suspend fun setSpeed(value: Int): D253Response

Sets the value of the speed setting on the monitor.

Link copied to clipboard
abstract suspend fun setTemperature(value: Int): D253Response

Sets the monitor's color temperature.

Link copied to clipboard
abstract suspend fun setThreshold(value: Int): D253Response

Sets the value of the threshold setting on the monitor.