connect-sdk / de.proglove.sdk / PgManager / blockPgTrigger
blockPgTrigger
fun blockPgTrigger(command:
PgCommand
<
BlockPgTriggersParams
>, callback:
IBlockPgTriggersCallback
):
Unit
Blocks or unblocks PgTriggers.
Calling this to unblock PgTriggers will NOT trigger IPgTriggersUnblockedOutput.onPgTriggersUnblocked.
Parameters
command
- Holding the BlockPgTriggersParams that contains de.proglove.sdk.button.PredefinedPgTrigger
which represents PgTrigger that should be blocked or have BlockPgTriggersParams.blockPredefinedPgTrigger
as null to unblock all PgTriggers. Also has an optional de.proglove.sdk.commands.PgCommandParams