disableOverlay static method

GemError disableOverlay(
  1. int uid, {
  2. int categUid = -1,
})

Disables the overlay with the given uid. This will deactivate the overlay for all registered services ( map views, alarms, etc )

If -1 the whole overlay will be disabled

Parameters

  • IN uid The overlay uid
  • IN categUid The overlay category uid ( optional )

Returns

Throws

  • An exception if it fails

Implementation

static GemError disableOverlay(final int uid, {final int categUid = -1}) {
  final OperationResult resultString = objectMethod(
    0,
    'OverlayService',
    'disableOverlay',
    args: <String, int>{'uid': uid, 'categUid': categUid},
  );

  return GemErrorExtension.fromCode(resultString['result']);
}