# getResourceType method

ResourceType getResourceType()

Gets the the resource type corresponding to the uri.

return The resource type corresponding to the uri. throws BiosealException An error has occurred during Bioseal Library execution.

## Implementation

    ResourceType getResourceType() {
      Pointer<Int32> pResourceType = calloc();
      try {
        var err = biosealSDK.id3BiosealResourceCallbackArgs_GetResourceType(_pHandle.value, pResourceType);
        if (err != BiosealError.success.value) {
          throw BiosealException(err);
        }
        final vResourceType = ResourceTypeX.fromValue(pResourceType.value);
        return vResourceType;
      } finally {
        calloc.free(pResourceType);
      }
    }