| | |
| | | #import <FBSDKCoreKit/FBSDKCopying.h> |
| | | #import <FBSDKCoreKit/FBSDKMacros.h> |
| | | |
| | | /*! |
| | | @typedef NS_ENUM(NSUInteger, FBSDKAppGroupPrivacy) |
| | | @abstract Specifies the privacy of a group. |
| | | /** |
| | | NS_ENUM(NSUInteger, FBSDKAppGroupPrivacy) |
| | | Specifies the privacy of a group. |
| | | */ |
| | | typedef NS_ENUM(NSUInteger, FBSDKAppGroupPrivacy) |
| | | { |
| | | /*! Anyone can see the group, who's in it and what members post. */ |
| | | /** Anyone can see the group, who's in it and what members post. */ |
| | | FBSDKAppGroupPrivacyOpen = 0, |
| | | /*! Anyone can see the group and who's in it, but only members can see posts. */ |
| | | /** Anyone can see the group and who's in it, but only members can see posts. */ |
| | | FBSDKAppGroupPrivacyClosed, |
| | | }; |
| | | |
| | | /*! |
| | | @abstract Converts an FBSDKAppGroupPrivacy to an NSString. |
| | | /** |
| | | Converts an FBSDKAppGroupPrivacy to an NSString. |
| | | */ |
| | | FBSDK_EXTERN NSString *NSStringFromFBSDKAppGroupPrivacy(FBSDKAppGroupPrivacy privacy); |
| | | |
| | | /*! |
| | | @abstract A model for creating an app group. |
| | | /** |
| | | A model for creating an app group. |
| | | */ |
| | | @interface FBSDKAppGroupContent : NSObject <FBSDKCopying, NSSecureCoding> |
| | | |
| | | /*! |
| | | @abstract The description of the group. |
| | | /** |
| | | The description of the group. |
| | | */ |
| | | @property (nonatomic, copy) NSString *groupDescription; |
| | | |
| | | /*! |
| | | @abstract The name of the group. |
| | | /** |
| | | The name of the group. |
| | | */ |
| | | @property (nonatomic, copy) NSString *name; |
| | | |
| | | /*! |
| | | @abstract The privacy for the group. |
| | | /** |
| | | The privacy for the group. |
| | | */ |
| | | @property (nonatomic, assign) FBSDKAppGroupPrivacy privacy; |
| | | |
| | | /*! |
| | | @abstract Compares the receiver to another app group content. |
| | | @param content The other content |
| | | @return YES if the receiver's values are equal to the other content's values; otherwise NO |
| | | /** |
| | | Compares the receiver to another app group content. |
| | | - Parameter content: The other content |
| | | - Returns: YES if the receiver's values are equal to the other content's values; otherwise NO |
| | | */ |
| | | - (BOOL)isEqualToAppGroupContent:(FBSDKAppGroupContent *)content; |
| | | |