# getHtmlView method

String getHtmlView()

Gets the the presentation view, in HTML format, created from the manifest and the data contained in the BioSeal.

return The presentation view, in HTML format, created from the manifest and the data contained in the BioSeal. throws BiosealException An error has occurred during Bioseal Library execution.

## Implementation

    String getHtmlView() {
      Pointer<Char> pHtmlView = nullptr;
      Pointer<Int> pHtmlViewSize = calloc.allocate(1);
      pHtmlViewSize[0] = -1;
      try {
        var err = biosealSDK.id3Bioseal_GetHtmlView(_pHandle.value, pHtmlView, pHtmlViewSize);
        if (err == BiosealError.insufficientBuffer.value) {
          pHtmlView = calloc.allocate(pHtmlViewSize.value);
          err = biosealSDK.id3Bioseal_GetHtmlView(_pHandle.value, pHtmlView, pHtmlViewSize);
          if (err != BiosealError.success.value) {
            throw BiosealException(err);
          }
        }
        final vHtmlView = utf8.decode(Uint8List.fromList(pHtmlView.cast<Uint8>().asTypedList(pHtmlViewSize.value)));
        return vHtmlView;
      } finally {
        calloc.free(pHtmlView);
        calloc.free(pHtmlViewSize);
      }
    }