You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/share-manager.d.ts
+6-3
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,8 @@ import { ImageSource } from 'tns-core-modules/image-source';
2
2
import{
3
3
MessageGenericTemplateContent,
4
4
MessageMediaTemplateContent,
5
-
ShareAdditionContent
5
+
ShareAdditionContent,
6
+
ShareCallbackFunction
6
7
}from'./share-manager.common';
7
8
8
9
export*from'./share-manager.common';
@@ -43,15 +44,17 @@ export declare function createShareMessageMediaTemplateContent(contentConfig: Me
43
44
* the SDK automatically checks for the native Facebook app.
44
45
* If it isn't installed, the SDK switches people to their default browser and opens the Feed Dialog. If someone wants to share an Open Graph story, the SDK opens the Web Share Dialog.
45
46
* @param {any} content: Links content or photos content
47
+
* @param {ShareCallbackFunction} callback: Callback for the sharing dialog
* The Message Dialog switches to the native Messenger for iOS app, then returns control to your app after a post is published.
52
54
* @param {any} content: Links content or photos content, SUPPORTED SHARE TYPES - ShareLinkContent - ShareCameraEffectContent - ShareMessengerOpenGraphMusicTemplateContent - ShareMessengerMediaTemplateContent - ShareMessengerGenericTemplateContent UNSUPPORTED SHARE TYPES (DEPRECATED AUGUST 2018) - ShareOpenGraphContent - SharePhotoContent - ShareVideoContent - Any other types that are not one of the four supported types listed above
55
+
* @param {ShareCallbackFunction} callback: Callback for the sharing dialog
0 commit comments