I think what you want is CBLAttachment.contentURL. This returns a file: URL containing the path to the attachment file. The file will have a unique name based on a SHA-1 digest of the data, so you don’t need to worry about collisions.
—Jens -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/EF452C61-7B94-4DF0-BA75-2ABBEF895370%40couchbase.com. For more options, visit https://groups.google.com/d/optout.
