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/FBSDKAppGroupContent.h> |
|
22 |
|
|
23 |
@protocol FBSDKAppGroupAddDialogDelegate; |
|
24 |
|
9febd9
|
25 |
/** |
W |
26 |
|
13e53a
|
27 |
@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. |
bad748
|
28 |
*/ |
13e53a
|
29 |
DEPRECATED_MSG_ATTRIBUTE("App and game groups are being deprecated") |
bad748
|
30 |
@interface FBSDKAppGroupAddDialog : NSObject |
W |
31 |
|
9febd9
|
32 |
/** |
W |
33 |
|
13e53a
|
34 |
@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. |
bad748
|
35 |
*/ |
W |
36 |
+ (instancetype)showWithContent:(FBSDKAppGroupContent *)content |
13e53a
|
37 |
delegate:(id<FBSDKAppGroupAddDialogDelegate>)delegate |
H |
38 |
DEPRECATED_ATTRIBUTE; |
bad748
|
39 |
|
9febd9
|
40 |
/** |
bad748
|
41 |
|
13e53a
|
42 |
@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. |
bad748
|
43 |
*/ |
13e53a
|
44 |
@property (nonatomic, weak) id<FBSDKAppGroupAddDialogDelegate> delegate |
H |
45 |
DEPRECATED_ATTRIBUTE; |
bad748
|
46 |
|
9febd9
|
47 |
/** |
bad748
|
48 |
|
13e53a
|
49 |
@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. |
bad748
|
50 |
*/ |
13e53a
|
51 |
@property (nonatomic, copy) FBSDKAppGroupContent *content |
H |
52 |
DEPRECATED_ATTRIBUTE; |
bad748
|
53 |
|
9febd9
|
54 |
/** |
W |
55 |
|
13e53a
|
56 |
@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. |
bad748
|
57 |
*/ |
13e53a
|
58 |
- (BOOL)canShow DEPRECATED_ATTRIBUTE; |
9febd9
|
59 |
|
W |
60 |
/** |
|
61 |
|
13e53a
|
62 |
@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. |
9febd9
|
63 |
*/ |
13e53a
|
64 |
- (BOOL)show DEPRECATED_ATTRIBUTE; |
9febd9
|
65 |
|
W |
66 |
/** |
|
67 |
|
13e53a
|
68 |
@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. |
9febd9
|
69 |
*/ |
13e53a
|
70 |
- (BOOL)validateWithError:(NSError *__autoreleasing *)errorRef |
H |
71 |
DEPRECATED_ATTRIBUTE; |
bad748
|
72 |
|
W |
73 |
@end |
|
74 |
|
9febd9
|
75 |
/** |
W |
76 |
|
13e53a
|
77 |
@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. |
bad748
|
78 |
*/ |
13e53a
|
79 |
DEPRECATED_MSG_ATTRIBUTE("App and game groups are being deprecated") |
bad748
|
80 |
@protocol FBSDKAppGroupAddDialogDelegate <NSObject> |
W |
81 |
|
9febd9
|
82 |
/** |
bad748
|
83 |
|
13e53a
|
84 |
@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. |
bad748
|
85 |
*/ |
13e53a
|
86 |
- (void)appGroupAddDialog:(FBSDKAppGroupAddDialog *)appGroupAddDialog didCompleteWithResults:(NSDictionary *)results DEPRECATED_ATTRIBUTE; |
bad748
|
87 |
|
9febd9
|
88 |
/** |
W |
89 |
|
13e53a
|
90 |
@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. |
bad748
|
91 |
*/ |
13e53a
|
92 |
- (void)appGroupAddDialog:(FBSDKAppGroupAddDialog *)appGroupAddDialog didFailWithError:(NSError *)error DEPRECATED_ATTRIBUTE; |
9febd9
|
93 |
|
W |
94 |
/** |
|
95 |
|
13e53a
|
96 |
@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. |
9febd9
|
97 |
*/ |
13e53a
|
98 |
- (void)appGroupAddDialogDidCancel:(FBSDKAppGroupAddDialog *)appGroupAddDialog DEPRECATED_ATTRIBUTE; |
bad748
|
99 |
|
W |
100 |
@end |