disableOverlay static method
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
- GemError.success on success, GemError.notFound if the overlay is not found
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']);
}