#import <OFSocialNotificationApi.h>
List of all members.
Detailed Description
The public interface for OFSocialNotificationApi allows you to post notifications to social networks if the user is connected via OpenFeint to a social network.
Member Function Documentation
+ (void) sendWithPrepopulatedText: |
|
(NSString *) |
text |
originalMessage: |
|
(NSString *) |
message |
imageNamed: |
|
(NSString *) |
imageName |
|
|
| |
Prompt the current user to post to social networks.
- Parameters:
-
text | The prepopulated text that is not editable in the message. |
message | The suggested message for the user to send. This is editable by the user. If you set this parameter to nil, OpenFeint fills in placeholder text of "Add a Message!". The place holder text will not be sent along with the social notification. |
imageName | Name of the image on the developer dashboard. |
- Note:
- imageName can be nil if there is no image to post.
+ (void) setCustomUrl: |
|
(NSString *) |
url |
|
Set a url for social notifications you post through the api. This will be linked to social notification posts.
- Parameters:
-
url | the url linked on social notifications. |
Set a delegate for all OFSocialNotifications related actions. Must adopt the OFSocialNotificationApiDelegate protocol.
- Note:
- Defaults to nil. Weak reference.
The documentation for this class was generated from the following file: