invoke

open operator fun invoke(data: String, options: SharingOptions? = null)

Share URL, text, or file using the specified options.

Parameters

data

URL, text, or file to be shared

options

Configuration options for sharing


abstract operator fun invoke(data: List<String>, options: SharingOptions? = null)

Share a list of URL, text, or files using the specified options.

Note: data parameter restrictions: maximum one URL OR one text item (not both), but multiple files are permitted.

Parameters

data

List of URL, text, or files to be shared

options

Configuration options for sharing