|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SDKServiceProvider
Provides access to the object datastore, as well as to various services provided by StackMob.
| Method Summary | |
|---|---|
DatastoreService |
getDatastoreService()
Get the DatastoreService required to access the datastore for the current application. |
FacebookService |
getFacebookService()
Get the FacebookService required to communicate with Facebook for the current application. |
PushService |
getPushService()
Get the PushService required to send push notifications for the current application. |
TwitterService |
getTwitterService()
Get the TwitterService required to communicate with Twitter for the current application. |
String |
getVersion()
StackMob internally assigns a globally unique version string to every custom code JAR. |
boolean |
isSandbox()
Determine whether this custom code instance is currently running in sandbox. |
| Method Detail |
|---|
DatastoreService getDatastoreService()
DatastoreService required to access the datastore for the current application.
PushService getPushService()
throws ServiceNotActivatedException
PushService required to send push notifications for the current application.
ServiceNotActivatedException - if the push service has not yet been set up for the current application
TwitterService getTwitterService()
throws ServiceNotActivatedException
TwitterService required to communicate with Twitter for the current application.
ServiceNotActivatedException - if the Twitter service has not yet been set up for the current application
FacebookService getFacebookService()
throws ServiceNotActivatedException
FacebookService required to communicate with Facebook for the current application.
ServiceNotActivatedException - if the Facebook service has not yet been set up for the current applicationboolean isSandbox()
String getVersion()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||