Protocol defining operations on open graph actions and objects.
The property keys MUST have namespaces specified on them, such as og:image
.
Extends Protocol: | NSObject, NSSecureCoding |
Declared in: | FBSDKShareOpenGraphValueContaining.h |
arrayForKey:
Gets an NSArray out of the receiver.
パラメーター | 説明 |
---|---|
key | The key for the value |
- (NSArray *)
arrayForKey:(NSString *)key;
FBSDKShareOpenGraphValueContaining.h
enumerateKeysAndObjectsUsingBlock:
Applies a given block object to the entries of the receiver.
パラメーター | 説明 |
---|---|
block | A block object to operate on entries in the receiver |
- (void)
enumerateKeysAndObjectsUsingBlock | |
void | |
^ | |
NSString | |
key | |
idobject | |
BOOL | |
stop | |
block; |
FBSDKShareOpenGraphValueContaining.h
keyEnumerator
Returns an enumerator object that lets you access each key in the receiver.
- (NSEnumerator *)
keyEnumerator;
FBSDKShareOpenGraphValueContaining.h
numberForKey:
Gets an NSNumber out of the receiver.
パラメーター | 説明 |
---|---|
key | The key for the value |
- (NSNumber *)
numberForKey:(NSString *)key;
FBSDKShareOpenGraphValueContaining.h
objectEnumerator
Returns an enumerator object that lets you access each value in the receiver.
- (NSEnumerator *)
objectEnumerator;
FBSDKShareOpenGraphValueContaining.h
objectForKey:
Gets an FBSDKShareOpenGraphObject out of the receiver.
パラメーター | 説明 |
---|---|
key | The key for the value |
- (FBSDKShareOpenGraphObject *)
objectForKey:(NSString *)key;
FBSDKShareOpenGraphValueContaining.h
objectForKeyedSubscript:
Enables subscript access to the values in the receiver.
パラメーター | 説明 |
---|---|
key | The key for the value |
- (id)
objectForKeyedSubscript:(NSString *)key;
FBSDKShareOpenGraphValueContaining.h
parseProperties:
Parses properties out of a dictionary into the receiver.
パラメーター | 説明 |
---|---|
properties | The properties to parse. |
- (void)
parseProperties:(NSDictionary *)properties;
FBSDKShareOpenGraphValueContaining.h
photoForKey:
Gets an FBSDKSharePhoto out of the receiver.
パラメーター | 説明 |
---|---|
key | The key for the value |
- (FBSDKSharePhoto *)
photoForKey:(NSString *)key;
FBSDKShareOpenGraphValueContaining.h
removeObjectForKey:
Removes a value from the receiver for the specified key.
パラメーター | 説明 |
---|---|
key | The key for the value |
- (void)
removeObjectForKey:(NSString *)key;
FBSDKShareOpenGraphValueContaining.h
setArray:forKey:
Sets an NSArray on the receiver.
パラメーター | 説明 |
---|---|
array | The NSArray value |
key | The key for the value |
- (void)
setArray: | (NSArray *)array |
forKey: | (NSString *)key; |
This method will throw if the array contains any values that is not an NSNumber, NSString, NSURL, FBSDKSharePhoto or FBSDKShareOpenGraphObject.
FBSDKShareOpenGraphValueContaining.h
setNumber:forKey:
Sets an NSNumber on the receiver.
パラメーター | 説明 |
---|---|
number | The NSNumber value |
key | The key for the value |
- (void)
setNumber: | (NSNumber *)number |
forKey: | (NSString *)key; |
FBSDKShareOpenGraphValueContaining.h
setObject:forKey:
Sets an FBSDKShareOpenGraphObject on the receiver.
パラメーター | 説明 |
---|---|
object | The FBSDKShareOpenGraphObject value |
key | The key for the value |
- (void)
setObject: | (FBSDKShareOpenGraphObject *)object |
forKey: | (NSString *)key; |
FBSDKShareOpenGraphValueContaining.h
setPhoto:forKey:
Sets an FBSDKSharePhoto on the receiver.
パラメーター | 説明 |
---|---|
photo | The FBSDKSharePhoto value |
key | The key for the value |
- (void)
setPhoto: | (FBSDKSharePhoto *)photo |
forKey: | (NSString *)key; |
FBSDKShareOpenGraphValueContaining.h
setString:forKey:
Sets an NSString on the receiver.
パラメーター | 説明 |
---|---|
string | The NSString value |
key | The key for the value |
- (void)
setString: | (NSString *)string |
forKey: | (NSString *)key; |
FBSDKShareOpenGraphValueContaining.h
setURL:forKey:
Sets an NSURL on the receiver.
パラメーター | 説明 |
---|---|
URL | The NSURL value |
key | The key for the value |
- (void)
setURL: | (NSURL *)URL |
forKey: | (NSString *)key; |
FBSDKShareOpenGraphValueContaining.h
stringForKey:
Gets an NSString out of the receiver.
パラメーター | 説明 |
---|---|
key | The key for the value |
- (NSString *)
stringForKey:(NSString *)key;
FBSDKShareOpenGraphValueContaining.h
URLForKey:
Gets an NSURL out of the receiver.
パラメーター | 説明 |
---|---|
key | The key for the value |
- (NSURL *)
URLForKey:(NSString *)key;
FBSDKShareOpenGraphValueContaining.h