commit | author | age
|
bad748
|
1 |
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved. |
W |
2 |
// |
|
3 |
// You are hereby granted a non-exclusive, worldwide, royalty-free license to use, |
|
4 |
// copy, modify, and distribute this software in source code or binary form for use |
|
5 |
// in connection with the web services and APIs provided by Facebook. |
|
6 |
// |
|
7 |
// As with any software that integrates with the Facebook platform, your use of |
|
8 |
// this software is subject to the Facebook Developer Principles and Policies |
|
9 |
// [http://developers.facebook.com/policy/]. This copyright notice shall be |
|
10 |
// included in all copies or substantial portions of the software. |
|
11 |
// |
|
12 |
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
13 |
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS |
|
14 |
// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR |
|
15 |
// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER |
|
16 |
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
|
17 |
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
|
18 |
|
|
19 |
#import <Foundation/Foundation.h> |
|
20 |
|
|
21 |
#import <FBSDKShareKit/FBSDKSharingContent.h> |
|
22 |
|
9febd9
|
23 |
/** |
W |
24 |
A model for status and link content to be shared. |
bad748
|
25 |
*/ |
W |
26 |
@interface FBSDKShareLinkContent : NSObject <FBSDKSharingContent> |
|
27 |
|
9febd9
|
28 |
/** |
W |
29 |
The description of the link. |
|
30 |
|
|
31 |
If not specified, this field is automatically populated by information scraped from the contentURL, |
bad748
|
32 |
typically the title of the page. This value may be discarded for specially handled links (ex: iTunes URLs). |
9febd9
|
33 |
- Returns: The description of the link |
37c026
|
34 |
|
H |
35 |
@deprecated `contentDescription` is deprecated from Graph API 2.9. |
|
36 |
For more information, see https://developers.facebook.com/docs/apps/changelog#v2_9_deprecations. |
bad748
|
37 |
*/ |
37c026
|
38 |
@property (nonatomic, readonly) NSString *contentDescription |
H |
39 |
DEPRECATED_MSG_ATTRIBUTE("`contentDescription` is deprecated from Graph API 2.9"); |
bad748
|
40 |
|
9febd9
|
41 |
/** |
W |
42 |
The title to display for this link. |
|
43 |
|
|
44 |
This value may be discarded for specially handled links (ex: iTunes URLs). |
|
45 |
- Returns: The link title |
37c026
|
46 |
|
H |
47 |
@deprecated `contentTitle` is deprecated from Graph API 2.9. |
|
48 |
For more information, see https://developers.facebook.com/docs/apps/changelog#v2_9_deprecations |
bad748
|
49 |
*/ |
37c026
|
50 |
@property (nonatomic, readonly) NSString *contentTitle |
H |
51 |
DEPRECATED_MSG_ATTRIBUTE("`contentTitle` is deprecated from Graph API 2.9"); |
bad748
|
52 |
|
9febd9
|
53 |
/** |
W |
54 |
The URL of a picture to attach to this content. |
|
55 |
- Returns: The network URL of an image |
37c026
|
56 |
|
H |
57 |
@deprecated `imageURL` is deprecated from Graph API 2.9. |
|
58 |
For more information, see https://developers.facebook.com/docs/apps/changelog#v2_9_deprecations |
bad748
|
59 |
*/ |
37c026
|
60 |
@property (nonatomic, readonly) NSURL *imageURL |
H |
61 |
DEPRECATED_MSG_ATTRIBUTE("`imageURL` is deprecated from Graph API 2.9"); |
bad748
|
62 |
|
9febd9
|
63 |
/** |
W |
64 |
Some quote text of the link. |
|
65 |
|
|
66 |
If specified, the quote text will render with custom styling on top of the link. |
|
67 |
- Returns: The quote text of a link |
bad748
|
68 |
*/ |
W |
69 |
@property (nonatomic, copy) NSString *quote; |
|
70 |
|
9febd9
|
71 |
/** |
W |
72 |
Compares the receiver to another link content. |
|
73 |
- Parameter content: The other content |
|
74 |
- Returns: YES if the receiver's values are equal to the other content's values; otherwise NO |
bad748
|
75 |
*/ |
W |
76 |
- (BOOL)isEqualToShareLinkContent:(FBSDKShareLinkContent *)content; |
|
77 |
|
|
78 |
@end |