android-components / mozilla.components.concept.engine.prompt / ShareData

ShareData

data class ShareData (source)

Represents data to share for the Web Share and Web Share Target APIs. https://w3c.github.io/web-share/

Constructors

Name Summary
<init> ShareData(title: String? = null, text: String? = null, url: String? = null)
Represents data to share for the Web Share and Web Share Target APIs. https://w3c.github.io/web-share/

Properties

Name Summary
text val text: String?
Text for the share request.
title val title: String?
Title for the share request.
url val url: String?
URL for the share request.

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.