allowConnection property

bool get allowConnection

Returns whether offboard (internet) connections are allowed.

Returns

  • bool: true when network access is allowed by the SDK settings.

Implementation

static bool get allowConnection {
  final OperationResult resultString = staticMethod(
    'SdkSettings',
    'getAllowConnection',
  );

  return resultString['result'];
}