Saving to the Camera Roll
Capturing the Best Moments
NatShare supports saving images and other media to the camera roll. The first step in saving media to the camera roll is requesting permissions from the user:
Once permissions have been granted, create a SavePayload
:
You can optionally specify an album name where media will be saved.
The payload is a write-only collection of items to be saved to the camera roll. Currently, the payload supports images (Texture2D
) and media files (with file paths):
Once all the items have been added to the payload, they can then be saved to the camera roll:
Last updated