setPhoto

suspend fun setPhoto(webId: String, contactUri: String, photo: ByteArray, contentType: String): SolidContact?

Sets the contact's photo.

The bytes travel inline over Binder, so this is subject to the ~1 MB transaction limit; a larger image will fail the call rather than be truncated.