#import <OFInvite.h>
Public Member Functions | |
(OFInvite *) | - initWithInviteDefinition: |
(OFRequestHandle *) | - sendInviteToUsers: |
(void) | - displayAndSendInviteScreen |
(OFRequestHandle *) | - getInviteIcon |
Static Public Member Functions | |
(void) | + setDelegate: |
(NSString *) | + getResourceName |
Properties | |
NSString * | userMessage |
NSString * | senderParameter |
NSString * | receiverParameter |
OFUser * | senderUser |
OFUser * | receiverUser |
NSString * | clientApplicationName |
NSString * | clientApplicationID |
NSString * | inviteIdentifier |
NSString * | inviteIconURL |
NSString * | developerMessage |
NSString * | receiverNotification |
NSString * | senderNotification |
NSString * | state |
The public interface to OFInvite allows you to create invites and send them to other users You can also query invites a certain user has.
- (void) displayAndSendInviteScreen |
Displays the OpenFeint invite screen for this invite and prompts to user to send invites
- (OFRequestHandle*) getInviteIcon |
Get the Invite Icon associated with this invite
+ (NSString*) getResourceName |
- (OFInvite*) initWithInviteDefinition: | (OFInviteDefinition *) | inviteDefinitionIn |
Initializes a OFInvite for sending.
inviteDefinition | Which invite definition will define this invite? |
- (OFRequestHandle*) sendInviteToUsers: | (NSArray *) | users |
Send the invite to an array of users
users | The users which will receive the invite. |
+ (void) setDelegate: | (id< OFInviteSendDelegate >) | delegate |
Set a delegate for all OFInvite related actions. Must adopt the OFInviteSendDelegate protocol.
- (NSString *) clientApplicationID [read, assign] |
- (NSString *) clientApplicationName [read, assign] |
- (NSString *) developerMessage [read, assign] |
- (NSString *) inviteIconURL [read, assign] |
- (NSString *) inviteIdentifier [read, assign] |
- (NSString *) receiverNotification [read, assign] |
- (NSString *) receiverParameter [read, assign] |
- (OFUser *) receiverUser [read, assign] |
- (NSString *) senderNotification [read, assign] |
- (NSString *) senderParameter [read, assign] |
- (OFUser *) senderUser [read, assign] |
- (NSString *) state [read, assign] |
- (NSString *) userMessage [read, write, retain] |
Actual user message after the user optionally edited it.