FBSDKShareOpenGraphAction Class Reference
Inherits from | FBSDKShareOpenGraphValueContainer : NSObject |
Conforms to | FBSDKCopying NSSecureCoding |
Declared in | FBSDKShareOpenGraphAction.h |
Class Methods
actionWithType:object:key:
Convenience method to build a new action and set the object for the specified key.
+ (instancetype)actionWithType:(NSString *)actionType object:(FBSDKShareOpenGraphObject *)object key:(NSString *)key
Parameters
- actionType
The action type of the receiver
- object
The Open Graph object represented by this action
- key
The key for the object
Declared In
FBSDKShareOpenGraphAction.h
actionWithType:objectID:key:
Convenience method to build a new action and set the object for the specified key.
+ (instancetype)actionWithType:(NSString *)actionType objectID:(NSString *)objectID key:(NSString *)key
Parameters
- actionType
The action type of the receiver
- objectID
The ID of an existing Open Graph object
- key
The key for the object
Declared In
FBSDKShareOpenGraphAction.h
actionWithType:objectURL:key:
Convenience method to build a new action and set the object for the specified key.
+ (instancetype)actionWithType:(NSString *)actionType objectURL:(NSURL *)objectURL key:(NSString *)key
Parameters
- actionType
The action type of the receiver
- objectURL
The URL to a page that defines the Open Graph object with meta tags
- key
The key for the object
Declared In
FBSDKShareOpenGraphAction.h
Instance Methods
isEqualToShareOpenGraphAction:
Compares the receiver to another Open Graph Action.
- (BOOL)isEqualToShareOpenGraphAction:(FBSDKShareOpenGraphAction *)action
Parameters
- action
The other action
Return Value
YES if the receiver’s values are equal to the other action’s values; otherwise NO
Declared In
FBSDKShareOpenGraphAction.h