# getGenderMale method

int getGenderMale()

Gets the value indicating whether the subject is a male. -1 if not computed. The range is 0 (female) -100 (male).

return Value indicating whether the subject is a male. -1 if not computed. The range is 0 (female) -100 (male). throws FaceException An error has occurred during Face Library execution.

## Implementation

    int getGenderMale() {
      Pointer<Int> pGenderMale = calloc();
      try {
        var err = faceSDK.id3FacePortrait_GetGenderMale(_pHandle.value, pGenderMale);
        if (err != FaceError.success.value) {
          throw FaceException(err);
        }
        final vGenderMale = pGenderMale.value;
        return vGenderMale;
      } finally {
        calloc.free(pGenderMale);
      }
    }