Skip to content

connect-sdk / de.proglove.sdk / IPgManager / setScreen

setScreen

abstract fun ~~setScreen~~(data:PgScreenData, callback:IPgSetScreenCallback):Unit Deprecated: Deprecated in 1.1.0. Use setScreen(data.toCommand(), IPgSetScreenCallback) instead.

Sets a screen on the connected display device

Parameters

data - the template and data inputs for the setScreen Command

callback - Will be called back if the screen was successfully set, or with an errorabstract fun setScreen(command:PgCommand<PgScreenData>, callback:IPgSetScreenCallback):Unit

Sets a screen on the connected display device

Parameters

command - Holding the PgScreenData and optional de.proglove.sdk.commands.PgCommandParams

callback - Will be called back if the screen was successfully set, or with an error