getTemporaryFile

Returns a TemporaryFile that can be used to get a file representation of the media. This is stored unencrypted, so be careful to TemporaryFile.delete it, when not needed anymore.

Be aware to catch exceptions when using this method.