workProfileWidgetsDefault property

String? workProfileWidgetsDefault
getter/setter pair

Specifies the default behaviour for work profile widgets.

If the policy does not specify work_profile_widgets for a specific application, it will behave according to the value specified here. Possible string values are:

  • "WORK_PROFILE_WIDGETS_DEFAULT_UNSPECIFIED" : Unspecified. Defaults to WORK_PROFILE_WIDGETS_DEFAULT_DISALLOWED.
  • "WORK_PROFILE_WIDGETS_DEFAULT_ALLOWED" : Work profile widgets are allowed by default. This means that if the policy does not specify work_profile_widgets as WORK_PROFILE_WIDGETS_DISALLOWED for the application, it will be able to add widgets to the home screen.
  • "WORK_PROFILE_WIDGETS_DEFAULT_DISALLOWED" : Work profile widgets are disallowed by default. This means that if the policy does not specify work_profile_widgets as WORK_PROFILE_WIDGETS_ALLOWED for the application, it will be unable to add widgets to the home screen.

Implementation

core.String? workProfileWidgetsDefault;