isOverlayEnabled static method
Check if the overlay with the given uid is enabled.
If categUid
is -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
Implementation
static bool isOverlayEnabled(final int uid, {final int categUid = -1}) {
final OperationResult resultString = staticMethod(
'OverlayService',
'isOverlayEnabled',
args: <String, int>{'uid': uid, 'categUid': categUid},
);
return resultString['result'];
}