enableOverlay static method
Enables the overlay with the given uid. This will activate the overlay for all registered services ( map views, alarms, etc ).
If categUid is given the value -1, then the whole overlay will be enabled.
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 enableOverlay(final int uid, {final int categUid = -1}) {
final OperationResult resultString = objectMethod(
0,
'OverlayService',
'enableOverlay',
args: <String, int>{'uid': uid, 'categUid': categUid},
);
return GemErrorExtension.fromCode(resultString['result']);
}