# getStatus method

PortraitStatus getStatus()

Gets the status of the portrait.

return Status of the portrait. throws FaceException An error has occurred during Face Library execution.

## Implementation

    PortraitStatus getStatus() {
      Pointer<Int32> pStatus = calloc();
      try {
        var err = faceSDK.id3FacePortrait_GetStatus(_pHandle.value, pStatus);
        if (err != FaceError.success.value) {
          throw FaceException(err);
        }
        final vStatus = PortraitStatusX.fromValue(pStatus.value);
        return vStatus;
      } finally {
        calloc.free(pStatus);
      }
    }