decideUpdate method

DVKioskUpdateDecision decideUpdate({
  1. required DVUpdateInfo update,
  2. required DVKioskState state,
  3. required DateTime now,
})

What this kiosk should do with update, under its declared policy.

state decides a staff-mode policy and now a windowed one; a required update overrides both, resetting whatever session is on screen rather than landing on top of it.

Implementation

DVKioskUpdateDecision decideUpdate({
  required DVUpdateInfo update,
  required DVKioskState state,
  required DateTime now,
}) =>
    dvDecideKioskUpdate(
      apply: updatesApply,
      window: updatesWindow,
      update: update,
      state: state,
      now: now,
    );