Skip to main content

userSettings

Description​

Override default panel/overlay/user behavior with custom user specific preferences.

Type​

assocArray

Usage​

m.lib.userSettings = {
betPanel: {
hide_panel: false,
hide_wagers: true,
disable_overlays: false
}
}

Available Settings​

Panel Settings​

SettingTypeDescription
hide_panelbooleanShow or hide the specified panel
hide_wagersbooleanShow or hide wagers within the panel
disable_overlaysbooleanEnable or disable overlays for the panel

Best Practices​

  • Store user preferences persistently using Roku's registry
  • Update settings dynamically based on user choices
  • Validate settings before applying them

See also: User Settings Guide