getUserWidgets

abstract fun getUserWidgets(widgetTypes: Set<String>? = null, excludedTypes: Set<String>? = null): List<Widget>

Returns the current user widgets. Some widgets can be deactivated, so be sure to check for isActive.

Parameters

widgetTypes

if you want to filter some widget type.

excludedTypes

if you want to exclude some widget type.