Your SlideShare is downloading. ×
0
Bump API Iphone Dev Camp Presentation
Bump API Iphone Dev Camp Presentation
Bump API Iphone Dev Camp Presentation
Bump API Iphone Dev Camp Presentation
Bump API Iphone Dev Camp Presentation
Bump API Iphone Dev Camp Presentation
Bump API Iphone Dev Camp Presentation
Bump API Iphone Dev Camp Presentation
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Bump API Iphone Dev Camp Presentation

1,689

Published on

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,689
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
15
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Bump API<br />Mark Hazlett – iCOG Studios<br />
  • 2. Connecting<br /> - To connect using the Bump API, you first need an API key from Bump...(http://bu.mp/api). <br /><ul><li>Once you have a bump API key, you can start adding Bump into your apps…</li></ul>#import “Bump.h”<br />Bump *bumpObject = [[Bump alloc] init]; <br />[bumpObjectconfigAPIKey:@"YOUR_API_KEY"];<br />
  • 3. Configuring Bump<br />[bumpObjectsetDelegate:self];<br />[bumpObjectconfigHistoryMessage:@”Configure History Message”];<br />[bumpObjectconfigActionMessage:@”Configure Action Message"];<br />[bumpObject connect];<br />
  • 4. Delegate Methods<br /><ul><li>(void) bumpDidConnect;
  • 5. (void) bumpDidDisconnect:(BumpDisconnectReason)reason;</li></ul>- (void) bumpConnectFailed:(BumpConnectFailedReason)reason;<br />
  • 6. Sending Data<br />NSData *data;<br />[bumpObjectsend:data];<br />
  • 7. Receiving Data/Disconnect<br />- (void) bumpDataReceived:(NSData *)chunk;<br />[bumpObject disconnect];<br />
  • 8. Convenience<br />-(void) configUserName: (NSString *)name;<br />-(NSString *) otherUserName;<br />-(void) connectToDoContactExchange:(BumpContact*) contact;<br />-(void) connectToShareThisApp;<br />- If this method is used, you can bump phones to present the user with an iTunes download link of your app.<br />
  • 9. Resources<br />Bump API Homepage<br />http://bu.mp/api<br />Bump API Resources<br />http://bu.mp/apiresources<br />Bump Iphone Google Group<br />http://groups.google.com/group/bump-api<br />

×