FBSDKShareOpenGraphAction
Đã có phiên bản mới hơn của lớp này. Hãy kiểm tra phiên bản mới nhất.

An Open Graph Action for sharing.

Discussion:

The property keys MUST have namespaces specified on them, such as og:image.

Conforms to:FBSDKCopying, NSSecureCoding
Inherits from:FBSDKShareOpenGraphValueContainer
Declared in:FBSDKShareOpenGraphAction.h
Thuộc tính
actionType

Gets the action type.

@property (nonatomic, copy) NSString *actionType;
Đã tuyên bố trong: FBSDKShareOpenGraphAction.h
Phương thức nhóm
actionWithType:object:key:

Convenience method to build a new action and set the object for the specified key.

Thông sốMô tả
actionType

The action type of the receiver

object

The Open Graph object represented by this action

key

The key for the object

+ (instancetype)
actionWithType: (NSString *)actionType
object: (FBSDKShareOpenGraphObject *)object
key: (NSString *)key;
Đã tuyên bố trong: FBSDKShareOpenGraphAction.h
actionWithType:objectID:key:

Convenience method to build a new action and set the object for the specified key.

Thông sốMô tả
actionType

The action type of the receiver

objectID

The ID of an existing Open Graph object

key

The key for the object

+ (instancetype)
actionWithType: (NSString *)actionType
objectID: (NSString *)objectID
key: (NSString *)key;
Đã tuyên bố trong: FBSDKShareOpenGraphAction.h
actionWithType:objectURL:key:

Convenience method to build a new action and set the object for the specified key.

Thông sốMô tả
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

+ (instancetype)
actionWithType: (NSString *)actionType
objectURL: (NSURL *)objectURL
key: (NSString *)key;
Đã tuyên bố trong: FBSDKShareOpenGraphAction.h
Phương thức thực thể
isEqualToShareOpenGraphAction:

Compares the receiver to another Open Graph Action.

Thông sốMô tả
action

The other action

- (BOOL) isEqualToShareOpenGraphAction:(FBSDKShareOpenGraphAction *)action;
Đã tuyên bố trong: FBSDKShareOpenGraphAction.h