connect-sdk / de.proglove.sdk / IPgManager / triggerFeedback
triggerFeedback
abstract fun ~~triggerFeedback~~(predefinedFeedback:PgPredefinedFeedback, callback:IPgFeedbackCallback):Unit
Deprecated: Deprecated in 1.1.0. Use triggerFeedback(predefinedFeedback.toCommand(), IPgFeedbackCallback) instead.
Triggers a Feedback on the currently connected MARK
Parameters
predefinedFeedback - The PgPredefinedFeedback that should be played on the MARK
callback - Will be called back if the Feedback was successfully transmitted or with an errorabstract fun triggerFeedback(command:PgCommand<PgPredefinedFeedback>, callback:IPgFeedbackCallback):Unit
Triggers a Feedback on the currently connected MARK
Parameters
command - Holding the PgImageConfig and optional de.proglove.sdk.commands.PgCommandParams
callback - Will be called back if the Feedback was successfully transmitted or with an error