# getVisibilityCondition method

VisibilityCondition getVisibilityCondition()

Gets the the visibility condition.

return The visibility condition. throws BiosealException An error has occurred during Bioseal Library execution.

## Implementation

    VisibilityCondition getVisibilityCondition() {
      Pointer<Int32> pVisibilityCondition = calloc();
      try {
        var err = biosealSDK.id3BiosealField_GetVisibilityCondition(_pHandle.value, pVisibilityCondition);
        if (err != BiosealError.success.value) {
          throw BiosealException(err);
        }
        final vVisibilityCondition = VisibilityConditionX.fromValue(pVisibilityCondition.value);
        return vVisibilityCondition;
      } finally {
        calloc.free(pVisibilityCondition);
      }
    }