Share Data
🚧 This feature is temporarily unavailable.
The library to share data from app via the platform share dialog.
Dependency libraries
dbus-1
Features:
- Share data.
- Share text like file.
- Share file by path.
Example
class AuroraShareData {
fun share(
title: String,
subject: String,
body: String,
): Boolean {
return ShareData.share(title, subject, body)
}
fun shareTextLikeFile(
title: String,
fileName: String,
text: String,
): Boolean {
return ShareData.shareTextLikeFile(title, fileName, text)
}
fun shareDataByPath(
title: String,
path: String,
): Boolean {
return ShareData.shareDataByPath(title, path)
}
}