First I'd search if there is some existing B4I lib that already serves your purposes.
If this is not the case, and depending on the library/SDK, you may need to write a small wrapper to access it from B4I. You'll need a local Mac to do this process.
Can you ellaborate a bit more about your exact needs and the library?