Open Capabilities
my.systemShare
Share text, images, or URLs to other applications.
Share content including text, images, and URLs to external applications using the system share sheet.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Share text, images, or URLs to other applications.
| Property | Type | Required | Description |
|---|---|---|---|
| text | String | No | Title text to share |
| imageData | String | No | Image in base64 format — must include data:image/png;base64, or data:image/jpeg;base64, prefix |
| url | String | No | URL to share |
| success | Function | No | Callback on success |
| fail | Function | No | Callback on failure |
| Property | Type | Description |
|---|---|---|
| success | Boolean | true if sharing succeeded, false if it failed |
my.call('systemShare', {
imageData: 'data:image/png;base64,[base64string]',
text: 'Check this out',
url: 'https://example.com/',
success: (res) => {
my.alert({ content: 'success: ' + JSON.stringify(res) });
},
fail: (error) => {
my.alert({ content: 'error: ' + JSON.stringify(error) });
}
});