Screenshot Share (Share Sheet)
Goal
Share text/URL and optionally a screenshot/image using the native share sheet.
Actions used
ShareSheetShowShareSheetGetError(optional)
Variables
text(String)url(String)
Flow
State:
ShowShareSheetAction:
ShareSheetShowProvide at least one content type:
textand/orurladdScreenshot = true(optional)image(Texture2D) (optional)
Events:
closedWithDoneEvent→ DoneclosedWithCancelledEvent→ CancelledclosedWithUnknownEvent→ Unknown (optional handling)closedWithFailedEvent→ShareSheetGetError(optional) then show error
Notes
ShareSheetResultCode.Unknowncan happen on platforms where the OS cannot report the final user action.
Last updated