isOverlayEnabled static method
Check if the overlay with the given uid is enabled.
If -1 the whole overlay will be disabled
Parameters
- IN uid The overlay uid
- IN categUid The overlay category uid ( optional )
Returns
- True if the overlay is enabled, false otherwise
Throws
- An exception if it fails
Implementation
static bool isOverlayEnabled(final int uid, {final int categUid = -1}) {
final OperationResult resultString = objectMethod(
0,
'OverlayService',
'isOverlayEnabled',
args: <String, int>{'uid': uid, 'categUid': categUid},
);
return resultString['result'];
}