isSocialReportsEnabledWithCategory static method

bool isSocialReportsEnabledWithCategory(
  1. int categoryId
)

Check if the social reports overlay for a specified category is enabled.

Parameters

  • IN categoryId The overlay category id

Returns

Throws

  • An exception if it fails.

Implementation

static bool isSocialReportsEnabledWithCategory(int categoryId) {
  return OverlayService.isOverlayEnabled(
    CommonOverlayId.socialReports.id,
    categUid: categoryId,
  );
}