Table of Contents

Class ShareOptions

Namespace
Uralstech.UShare

Additional data for a share event.

public sealed class ShareOptions
Inheritance
object
ShareOptions

Fields

Authority

Overrides the Android FileProvider authority for the file(s) being shared.

public string? Authority

Field Value

string

Text

Additional text to be shared along with the main content.

public string? Text

Field Value

string

Remarks

You can usually get away with having text in shared content along with other data without having to declare it in the MIME type you provide for the request. For example, most apps will accept "image/png" share requests with additional text, but WhatsApp will send each image as individual messages with the text attached to every message.

Title

Optional title for the share sheet.

public string? Title

Field Value

string

Remarks

Requires Android 10+ and is not guaranteed to work when sharing non-text media.