| | |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | #import <FBSDKCoreKit/FBSDKCopying.h> |
| | | #if TARGET_OS_TV |
| | | |
| | | typedef NS_ENUM(NSUInteger, AppGroupPrivacy) { AppGroupPrivacyOpen }; |
| | | |
| | | FOUNDATION_EXPORT NSString *NSStringFromFBSDKAppGroupPrivacy(AppGroupPrivacy privacy) |
| | | NS_REFINED_FOR_SWIFT; |
| | | |
| | | #else |
| | | |
| | | #import "FBSDKCoreKitImport.h" |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | | /** |
| | | NS_ENUM(NSUInteger, FBSDKAppGroupPrivacy) |
| | |
| | | FBSDKAppGroupPrivacyOpen = 0, |
| | | /** Anyone can see the group and who's in it, but only members can see posts. */ |
| | | FBSDKAppGroupPrivacyClosed, |
| | | }; |
| | | } NS_SWIFT_NAME(AppGroupPrivacy); |
| | | |
| | | /** |
| | | Converts an FBSDKAppGroupPrivacy to an NSString. |
| | | */ |
| | | FOUNDATION_EXPORT NSString *NSStringFromFBSDKAppGroupPrivacy(FBSDKAppGroupPrivacy privacy); |
| | | FOUNDATION_EXPORT NSString *NSStringFromFBSDKAppGroupPrivacy(FBSDKAppGroupPrivacy privacy) |
| | | NS_REFINED_FOR_SWIFT; |
| | | |
| | | /** |
| | | A model for creating an app group. |
| | | */ |
| | | NS_SWIFT_NAME(AppGroupContent) |
| | | @interface FBSDKAppGroupContent : NSObject <FBSDKCopying, NSSecureCoding> |
| | | |
| | | /** |
| | |
| | | - (BOOL)isEqualToAppGroupContent:(FBSDKAppGroupContent *)content; |
| | | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | |
| | | #endif |