From 053473394e6e0990c68a924adbb7c7d75f35973d Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 11 Dec 2015 02:07:02 -0600 Subject: pushplugin on android --- .../src/android/ParsePlugin.java | 216 ++ .../src/android/ParsePluginReceiver.java | 61 + .../Parse-1.9.0-javadoc/allclasses-frame.html | 57 + .../Parse-1.9.0-javadoc/allclasses-noframe.html | 57 + .../com/parse/ConfigCallback.html | 228 ++ .../com/parse/CountCallback.html | 231 ++ .../com/parse/DeleteCallback.html | 228 ++ .../com/parse/FindCallback.html | 231 ++ .../com/parse/FunctionCallback.html | 233 ++ .../Parse-1.9.0-javadoc/com/parse/GetCallback.html | 233 ++ .../com/parse/GetDataCallback.html | 223 ++ .../com/parse/LocationCallback.html | 231 ++ .../com/parse/LogInCallback.html | 231 ++ .../com/parse/LogOutCallback.html | 227 ++ .../parse/Parse-1.9.0-javadoc/com/parse/Parse.html | 473 ++++ .../Parse-1.9.0-javadoc/com/parse/ParseACL.html | 663 +++++ .../com/parse/ParseAnalytics.html | 462 ++++ .../com/parse/ParseAnonymousUtils.html | 277 ++ .../com/parse/ParseClassName.html | 199 ++ .../Parse-1.9.0-javadoc/com/parse/ParseCloud.html | 296 +++ .../Parse-1.9.0-javadoc/com/parse/ParseConfig.html | 843 ++++++ .../com/parse/ParseException.html | 1106 ++++++++ .../Parse-1.9.0-javadoc/com/parse/ParseFile.html | 594 +++++ .../com/parse/ParseGeoPoint.html | 520 ++++ .../com/parse/ParseImageView.html | 473 ++++ .../com/parse/ParseInstallation.html | 325 +++ .../Parse-1.9.0-javadoc/com/parse/ParseObject.html | 2491 ++++++++++++++++++ .../Parse-1.9.0-javadoc/com/parse/ParsePush.html | 660 +++++ .../com/parse/ParsePushBroadcastReceiver.html | 633 +++++ .../com/parse/ParseQuery.CachePolicy.html | 409 +++ .../Parse-1.9.0-javadoc/com/parse/ParseQuery.html | 1693 +++++++++++++ .../ParseQueryAdapter.OnQueryLoadListener.html | 223 ++ .../com/parse/ParseQueryAdapter.QueryFactory.html | 207 ++ .../com/parse/ParseQueryAdapter.html | 892 +++++++ .../com/parse/ParseRelation.html | 262 ++ .../Parse-1.9.0-javadoc/com/parse/ParseRole.html | 431 ++++ .../com/parse/ParseSession.html | 335 +++ .../com/parse/ParseTwitterUtils.html | 570 +++++ .../Parse-1.9.0-javadoc/com/parse/ParseUser.html | 942 +++++++ .../com/parse/ProgressCallback.html | 209 ++ .../Parse-1.9.0-javadoc/com/parse/PushService.html | 680 +++++ .../com/parse/RefreshCallback.html | 231 ++ .../com/parse/RequestPasswordResetCallback.html | 231 ++ .../com/parse/SaveCallback.html | 228 ++ .../com/parse/SendCallback.html | 231 ++ .../com/parse/SignUpCallback.html | 229 ++ .../com/parse/class-use/ConfigCallback.html | 138 + .../com/parse/class-use/CountCallback.html | 138 + .../com/parse/class-use/DeleteCallback.html | 193 ++ .../com/parse/class-use/FindCallback.html | 153 ++ .../com/parse/class-use/FunctionCallback.html | 140 + .../com/parse/class-use/GetCallback.html | 172 ++ .../com/parse/class-use/GetDataCallback.html | 151 ++ .../com/parse/class-use/LocationCallback.html | 147 ++ .../com/parse/class-use/LogInCallback.html | 170 ++ .../com/parse/class-use/LogOutCallback.html | 138 + .../com/parse/class-use/Parse.html | 111 + .../com/parse/class-use/ParseACL.html | 174 ++ .../com/parse/class-use/ParseAnalytics.html | 111 + .../com/parse/class-use/ParseAnonymousUtils.html | 111 + .../com/parse/class-use/ParseClassName.html | 159 ++ .../com/parse/class-use/ParseCloud.html | 111 + .../com/parse/class-use/ParseConfig.html | 176 ++ .../com/parse/class-use/ParseException.html | 461 ++++ .../com/parse/class-use/ParseFile.html | 173 ++ .../com/parse/class-use/ParseGeoPoint.html | 258 ++ .../com/parse/class-use/ParseImageView.html | 111 + .../com/parse/class-use/ParseInstallation.html | 196 ++ .../com/parse/class-use/ParseObject.html | 548 ++++ .../com/parse/class-use/ParsePush.html | 111 + .../class-use/ParsePushBroadcastReceiver.html | 111 + .../parse/class-use/ParseQuery.CachePolicy.html | 164 ++ .../com/parse/class-use/ParseQuery.html | 583 +++++ .../ParseQueryAdapter.OnQueryLoadListener.html | 140 + .../class-use/ParseQueryAdapter.QueryFactory.html | 144 ++ .../com/parse/class-use/ParseQueryAdapter.html | 111 + .../com/parse/class-use/ParseRelation.html | 152 ++ .../com/parse/class-use/ParseRole.html | 180 ++ .../com/parse/class-use/ParseSession.html | 159 ++ .../com/parse/class-use/ParseTwitterUtils.html | 111 + .../com/parse/class-use/ParseUser.html | 376 +++ .../com/parse/class-use/ProgressCallback.html | 158 ++ .../com/parse/class-use/PushService.html | 111 + .../com/parse/class-use/RefreshCallback.html | 140 + .../class-use/RequestPasswordResetCallback.html | 140 + .../com/parse/class-use/SaveCallback.html | 261 ++ .../com/parse/class-use/SendCallback.html | 154 ++ .../com/parse/class-use/SignUpCallback.html | 138 + .../com/parse/package-frame.html | 70 + .../com/parse/package-summary.html | 448 ++++ .../com/parse/package-tree.html | 225 ++ .../Parse-1.9.0-javadoc/com/parse/package-use.html | 310 +++ .../parse/Parse-1.9.0-javadoc/constant-values.html | 575 +++++ .../parse/Parse-1.9.0-javadoc/deprecated-list.html | 211 ++ .../parse/Parse-1.9.0-javadoc/help-doc.html | 212 ++ .../parse/Parse-1.9.0-javadoc/index-all.html | 2535 +++++++++++++++++++ .../android/parse/Parse-1.9.0-javadoc/index.html | 70 + .../parse/Parse-1.9.0-javadoc/overview-tree.html | 229 ++ .../android/parse/Parse-1.9.0-javadoc/package-list | 1 + .../Parse-1.9.0-javadoc/resources/background.gif | Bin 0 -> 2313 bytes .../parse/Parse-1.9.0-javadoc/resources/tab.gif | Bin 0 -> 291 bytes .../Parse-1.9.0-javadoc/resources/titlebar.gif | Bin 0 -> 10701 bytes .../Parse-1.9.0-javadoc/resources/titlebar_end.gif | Bin 0 -> 849 bytes .../parse/Parse-1.9.0-javadoc/serialized-form.html | 141 ++ .../parse/Parse-1.9.0-javadoc/stylesheet.css | 474 ++++ .../src/android/parse/Parse-1.9.0.jar | Bin 0 -> 866629 bytes .../src/android/parse/Parse-1.9.0.jar.properties | 1 + .../allclasses-frame.html | 16 + .../allclasses-noframe.html | 16 + .../com/parse/ParseCrashReporting.html | 255 ++ .../com/parse/class-use/ParseCrashReporting.html | 111 + .../com/parse/package-frame.html | 17 + .../com/parse/package-summary.html | 131 + .../com/parse/package-tree.html | 120 + .../com/parse/package-use.html | 111 + .../constant-values.html | 111 + .../deprecated-list.html | 111 + .../help-doc.html | 212 ++ .../index-all.html | 146 ++ .../ParseCrashReporting-1.9.0-javadoc/index.html | 70 + .../overview-tree.html | 124 + .../ParseCrashReporting-1.9.0-javadoc/package-list | 1 + .../resources/background.gif | Bin 0 -> 2313 bytes .../resources/tab.gif | Bin 0 -> 291 bytes .../resources/titlebar.gif | Bin 0 -> 10701 bytes .../resources/titlebar_end.gif | Bin 0 -> 849 bytes .../stylesheet.css | 474 ++++ .../android/parse/ParseCrashReporting-1.9.0.jar | Bin 0 -> 77773 bytes .../parse/ParseCrashReporting-1.9.0.jar.properties | 1 + .../allclasses-frame.html | 16 + .../allclasses-noframe.html | 16 + .../com/parse/ParseFacebookUtils.html | 1110 ++++++++ .../com/parse/class-use/ParseFacebookUtils.html | 111 + .../com/parse/package-frame.html | 17 + .../com/parse/package-summary.html | 131 + .../com/parse/package-tree.html | 120 + .../com/parse/package-use.html | 111 + .../constant-values.html | 111 + .../deprecated-list.html | 183 ++ .../help-doc.html | 212 ++ .../index-all.html | 325 +++ .../ParseFacebookUtilsV3-1.9.0-javadoc/index.html | 70 + .../overview-tree.html | 124 + .../package-list | 1 + .../resources/background.gif | Bin 0 -> 2313 bytes .../resources/tab.gif | Bin 0 -> 291 bytes .../resources/titlebar.gif | Bin 0 -> 10701 bytes .../resources/titlebar_end.gif | Bin 0 -> 849 bytes .../stylesheet.css | 474 ++++ .../android/parse/ParseFacebookUtilsV3-1.9.0.jar | Bin 0 -> 18123 bytes .../ParseFacebookUtilsV3-1.9.0.jar.properties | 1 + .../allclasses-frame.html | 16 + .../allclasses-noframe.html | 16 + .../com/parse/ParseFacebookUtils.html | 793 ++++++ .../com/parse/class-use/ParseFacebookUtils.html | 111 + .../com/parse/package-frame.html | 17 + .../com/parse/package-summary.html | 131 + .../com/parse/package-tree.html | 120 + .../com/parse/package-use.html | 111 + .../constant-values.html | 111 + .../deprecated-list.html | 111 + .../help-doc.html | 212 ++ .../index-all.html | 256 ++ .../ParseFacebookUtilsV4-1.9.0-javadoc/index.html | 70 + .../overview-tree.html | 124 + .../package-list | 1 + .../resources/background.gif | Bin 0 -> 2313 bytes .../resources/tab.gif | Bin 0 -> 291 bytes .../resources/titlebar.gif | Bin 0 -> 10701 bytes .../resources/titlebar_end.gif | Bin 0 -> 849 bytes .../stylesheet.css | 474 ++++ .../android/parse/ParseFacebookUtilsV4-1.9.0.jar | Bin 0 -> 8469 bytes .../ParseFacebookUtilsV4-1.9.0.jar.properties | 1 + .../android/parse/bolts-android-1.1.4-javadoc.jar | Bin 0 -> 74748 bytes .../src/android/parse/bolts-android-1.1.4.jar | Bin 0 -> 47225 bytes .../parse/bolts-android-1.1.4.jar.properties | 1 + .../src/android/parse/third_party_licenses.txt | 884 +++++++ .../src/android/parseplugin.xml | 3 + .../src/ios/CDVParsePlugin.h | 19 + .../src/ios/CDVParsePlugin.m | 279 ++ .../src/ios/Frameworks/Bolts.framework/Bolts | 1 + .../src/ios/Frameworks/Bolts.framework/Headers | 1 + .../Frameworks/Bolts.framework/Versions/A/Bolts | Bin 0 -> 2687780 bytes .../Bolts.framework/Versions/A/Headers/BFAppLink.h | 49 + .../Versions/A/Headers/BFAppLinkNavigation.h | 93 + .../Versions/A/Headers/BFAppLinkResolving.h | 30 + .../A/Headers/BFAppLinkReturnToRefererController.h | 87 + .../A/Headers/BFAppLinkReturnToRefererView.h | 91 + .../Versions/A/Headers/BFAppLinkTarget.h | 33 + .../Versions/A/Headers/BFExecutor.h | 58 + .../Versions/A/Headers/BFMeasurementEvent.h | 46 + .../Bolts.framework/Versions/A/Headers/BFTask.h | 166 ++ .../Versions/A/Headers/BFTaskCompletionSource.h | 85 + .../Bolts.framework/Versions/A/Headers/BFURL.h | 77 + .../Versions/A/Headers/BFWebViewAppLinkResolver.h | 26 + .../Bolts.framework/Versions/A/Headers/Bolts.h | 37 + .../Versions/A/Headers/BoltsVersion.h | 1 + .../Frameworks/Bolts.framework/Versions/Current | 1 + .../ios/Frameworks/Parse.framework/Headers/PFACL.h | 255 ++ .../Parse.framework/Headers/PFAnalytics.h | 160 ++ .../Parse.framework/Headers/PFAnonymousUtils.h | 78 + .../Frameworks/Parse.framework/Headers/PFCloud.h | 84 + .../Frameworks/Parse.framework/Headers/PFConfig.h | 95 + .../Parse.framework/Headers/PFConstants.h | 242 ++ .../Frameworks/Parse.framework/Headers/PFFile.h | 286 +++ .../Parse.framework/Headers/PFGeoPoint.h | 101 + .../Parse.framework/Headers/PFInstallation.h | 110 + .../Headers/PFNetworkActivityIndicatorManager.h | 60 + .../Parse.framework/Headers/PFObject+Subclass.h | 128 + .../Frameworks/Parse.framework/Headers/PFObject.h | 1401 ++++++++++ .../Frameworks/Parse.framework/Headers/PFProduct.h | 76 + .../Parse.framework/Headers/PFPurchase.h | 87 + .../Frameworks/Parse.framework/Headers/PFPush.h | 523 ++++ .../Frameworks/Parse.framework/Headers/PFQuery.h | 791 ++++++ .../Parse.framework/Headers/PFRelation.h | 55 + .../Frameworks/Parse.framework/Headers/PFRole.h | 106 + .../Parse.framework/Headers/PFSubclassing.h | 78 + .../Parse.framework/Headers/PFTwitterUtils.h | 319 +++ .../Frameworks/Parse.framework/Headers/PFUser.h | 416 +++ .../Parse.framework/Headers/PF_Twitter.h | 85 + .../ios/Frameworks/Parse.framework/Headers/Parse.h | 149 ++ .../src/ios/Frameworks/Parse.framework/Info.plist | Bin 0 -> 705 bytes .../Parse.framework/Modules/module.modulemap | 6 + .../src/ios/Frameworks/Parse.framework/Parse | Bin 0 -> 25056652 bytes .../Parse.framework/Resources/Localizable.strings | Bin 0 -> 10486 bytes .../Parse.framework/third_party_licenses.txt | 92 + .../src/wp8/ParsePlugin.cs | 90 + .../src/wp8/parse/Parse.Phone.dll | Bin 0 -> 55808 bytes .../src/wp8/parse/Parse.Phone.xml | 754 ++++++ .../src/wp8/parse/Parse.dll | Bin 0 -> 172032 bytes .../src/wp8/parse/Parse.xml | 2670 ++++++++++++++++++++ 231 files changed, 53091 insertions(+) create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/ParsePlugin.java create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/ParsePluginReceiver.java create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/allclasses-frame.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/allclasses-noframe.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ConfigCallback.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/CountCallback.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/DeleteCallback.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/FindCallback.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/FunctionCallback.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/GetCallback.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/GetDataCallback.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/LocationCallback.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/LogInCallback.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/LogOutCallback.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/Parse.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseACL.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseAnalytics.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseAnonymousUtils.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseClassName.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseCloud.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseConfig.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseException.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseFile.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseGeoPoint.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseImageView.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseInstallation.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseObject.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParsePush.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParsePushBroadcastReceiver.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseQuery.CachePolicy.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseQuery.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseQueryAdapter.OnQueryLoadListener.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseQueryAdapter.QueryFactory.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseQueryAdapter.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseRelation.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseRole.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseSession.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseTwitterUtils.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseUser.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ProgressCallback.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/PushService.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/RefreshCallback.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/RequestPasswordResetCallback.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/SaveCallback.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/SendCallback.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/SignUpCallback.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ConfigCallback.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/CountCallback.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/DeleteCallback.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/FindCallback.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/FunctionCallback.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/GetCallback.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/GetDataCallback.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/LocationCallback.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/LogInCallback.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/LogOutCallback.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/Parse.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseACL.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseAnalytics.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseAnonymousUtils.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseClassName.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseCloud.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseConfig.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseException.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseFile.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseGeoPoint.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseImageView.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseInstallation.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseObject.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParsePush.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParsePushBroadcastReceiver.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseQuery.CachePolicy.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseQuery.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseQueryAdapter.OnQueryLoadListener.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseQueryAdapter.QueryFactory.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseQueryAdapter.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseRelation.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseRole.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseSession.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseTwitterUtils.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseUser.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ProgressCallback.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/PushService.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/RefreshCallback.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/RequestPasswordResetCallback.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/SaveCallback.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/SendCallback.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/SignUpCallback.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/package-frame.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/package-summary.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/package-tree.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/package-use.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/constant-values.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/deprecated-list.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/help-doc.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/index-all.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/index.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/overview-tree.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/package-list create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/resources/background.gif create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/resources/tab.gif create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/resources/titlebar.gif create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/resources/titlebar_end.gif create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/serialized-form.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/stylesheet.css create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0.jar create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0.jar.properties create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/allclasses-frame.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/allclasses-noframe.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/com/parse/ParseCrashReporting.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/com/parse/class-use/ParseCrashReporting.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/com/parse/package-frame.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/com/parse/package-summary.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/com/parse/package-tree.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/com/parse/package-use.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/constant-values.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/deprecated-list.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/help-doc.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/index-all.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/index.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/overview-tree.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/package-list create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/resources/background.gif create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/resources/tab.gif create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/resources/titlebar.gif create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/resources/titlebar_end.gif create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/stylesheet.css create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0.jar create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0.jar.properties create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/allclasses-frame.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/allclasses-noframe.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/com/parse/ParseFacebookUtils.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/com/parse/class-use/ParseFacebookUtils.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/com/parse/package-frame.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/com/parse/package-summary.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/com/parse/package-tree.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/com/parse/package-use.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/constant-values.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/deprecated-list.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/help-doc.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/index-all.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/index.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/overview-tree.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/package-list create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/resources/background.gif create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/resources/tab.gif create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/resources/titlebar.gif create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/resources/titlebar_end.gif create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/stylesheet.css create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0.jar create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0.jar.properties create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/allclasses-frame.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/allclasses-noframe.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/com/parse/ParseFacebookUtils.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/com/parse/class-use/ParseFacebookUtils.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/com/parse/package-frame.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/com/parse/package-summary.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/com/parse/package-tree.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/com/parse/package-use.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/constant-values.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/deprecated-list.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/help-doc.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/index-all.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/index.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/overview-tree.html create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/package-list create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/resources/background.gif create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/resources/tab.gif create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/resources/titlebar.gif create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/resources/titlebar_end.gif create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/stylesheet.css create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0.jar create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0.jar.properties create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/bolts-android-1.1.4-javadoc.jar create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/bolts-android-1.1.4.jar create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/bolts-android-1.1.4.jar.properties create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/third_party_licenses.txt create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parseplugin.xml create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/CDVParsePlugin.h create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/CDVParsePlugin.m create mode 120000 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Bolts create mode 120000 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Headers create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Bolts create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFAppLink.h create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFAppLinkNavigation.h create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFAppLinkResolving.h create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFAppLinkReturnToRefererController.h create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFAppLinkReturnToRefererView.h create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFAppLinkTarget.h create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFExecutor.h create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFMeasurementEvent.h create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFTask.h create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFTaskCompletionSource.h create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFURL.h create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFWebViewAppLinkResolver.h create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/Bolts.h create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BoltsVersion.h create mode 120000 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/Current create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFACL.h create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFAnalytics.h create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFAnonymousUtils.h create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFCloud.h create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFConfig.h create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFConstants.h create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFFile.h create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFGeoPoint.h create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFInstallation.h create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFNetworkActivityIndicatorManager.h create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFObject+Subclass.h create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFObject.h create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFProduct.h create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFPurchase.h create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFPush.h create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFQuery.h create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFRelation.h create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFRole.h create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFSubclassing.h create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFTwitterUtils.h create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFUser.h create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PF_Twitter.h create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/Parse.h create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Info.plist create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Modules/module.modulemap create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Parse create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Resources/Localizable.strings create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/third_party_licenses.txt create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/wp8/ParsePlugin.cs create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/wp8/parse/Parse.Phone.dll create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/wp8/parse/Parse.Phone.xml create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/wp8/parse/Parse.dll create mode 100644 StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/wp8/parse/Parse.xml (limited to 'StoneIsland/plugins/com.parse.cordova.core.pushplugin/src') diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/ParsePlugin.java b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/ParsePlugin.java new file mode 100644 index 00000000..0ae772be --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/ParsePlugin.java @@ -0,0 +1,216 @@ +package org.apache.cordova.core; + +import android.app.Application; +import android.util.Log; + +import java.util.Set; + +import org.apache.cordova.CallbackContext; +import org.apache.cordova.CordovaPlugin; +import org.apache.cordova.CordovaWebView; +import org.apache.cordova.CordovaInterface; + +import org.json.JSONArray; +import org.json.JSONException; +import org.json.JSONObject; + +import com.parse.Parse; +import com.parse.ParseInstallation; +import com.parse.PushService; +import com.parse.ParsePush; + +import android.util.Log; + +public class ParsePlugin extends CordovaPlugin { + + private static final String TAG = "ParsePlugin"; + private static final String ACTION_INITIALIZE = "initialize"; + private static final String ACTION_GET_INSTALLATION_ID = "getInstallationId"; + private static final String ACTION_GET_INSTALLATION_OBJECT_ID = "getInstallationObjectId"; + private static final String ACTION_GET_SUBSCRIPTIONS = "getSubscriptions"; + private static final String ACTION_SUBSCRIBE = "subscribe"; + private static final String ACTION_UNSUBSCRIBE = "unsubscribe"; + private static final String ACTION_REGISTER_CALLBACK = "registerCallback"; + + private static CordovaWebView sWebView; + private static String sEventCallback = null; + private static boolean sForeground = false; + private static JSONObject sLaunchNotification = null; + + public static void initializeParseWithApplication(Application app) { + String appId = getStringByKey(app, "parse_app_id"); + String clientKey = getStringByKey(app, "parse_client_key"); + Parse.enableLocalDatastore(app); + Log.d(TAG, "Initializing with parse_app_id: " + appId + " and parse_client_key:" + clientKey); + Parse.initialize(app, appId, clientKey); + } + + private static String getStringByKey(Application app, String key) { + int resourceId = app.getResources().getIdentifier(key, "string", app.getPackageName()); + return app.getString(resourceId); + } + + @Override + public boolean execute(String action, JSONArray args, CallbackContext callbackContext) throws JSONException { + if (action.equals(ACTION_REGISTER_CALLBACK)) { + this.registerCallback(callbackContext, args); + return true; + } + if (action.equals(ACTION_INITIALIZE)) { + this.initialize(callbackContext, args); + return true; + } + if (action.equals(ACTION_GET_INSTALLATION_ID)) { + this.getInstallationId(callbackContext); + return true; + } + + if (action.equals(ACTION_GET_INSTALLATION_OBJECT_ID)) { + this.getInstallationObjectId(callbackContext); + return true; + } + if (action.equals(ACTION_GET_SUBSCRIPTIONS)) { + this.getSubscriptions(callbackContext); + return true; + } + if (action.equals(ACTION_SUBSCRIBE)) { + this.subscribe(args.getString(0), callbackContext); + return true; + } + if (action.equals(ACTION_UNSUBSCRIBE)) { + this.unsubscribe(args.getString(0), callbackContext); + return true; + } + return false; + } + + private void registerCallback(final CallbackContext callbackContext, final JSONArray args) { + cordova.getThreadPool().execute(new Runnable() { + public void run() { + try { + sEventCallback = args.getString(0); + callbackContext.success(); + // if the app was opened from a notification, handle it now that the device is ready + handleLaunchNotification(); + } catch (JSONException e) { + callbackContext.error("JSONException"); + } + } + }); + } + + private void initialize(final CallbackContext callbackContext, final JSONArray args) { + cordova.getThreadPool().execute(new Runnable() { + public void run() { + try { + String appId = args.getString(0); + String clientKey = args.getString(1); + Parse.initialize(cordova.getActivity(), appId, clientKey); + ParseInstallation.getCurrentInstallation().saveInBackground(); + callbackContext.success(); + } catch (JSONException e) { + callbackContext.error("JSONException"); + } + } + }); + } + + private void getInstallationId(final CallbackContext callbackContext) { + cordova.getThreadPool().execute(new Runnable() { + public void run() { + String installationId = ParseInstallation.getCurrentInstallation().getInstallationId(); + callbackContext.success(installationId); + } + }); + } + + private void getInstallationObjectId(final CallbackContext callbackContext) { + cordova.getThreadPool().execute(new Runnable() { + public void run() { + String objectId = ParseInstallation.getCurrentInstallation().getObjectId(); + callbackContext.success(objectId); + } + }); + } + + private void getSubscriptions(final CallbackContext callbackContext) { + cordova.getThreadPool().execute(new Runnable() { + public void run() { + Set subscriptions = PushService.getSubscriptions(cordova.getActivity()); + callbackContext.success(subscriptions.toString()); + } + }); + } + + private void subscribe(final String channel, final CallbackContext callbackContext) { + cordova.getThreadPool().execute(new Runnable() { + public void run() { + ParsePush.subscribeInBackground(channel); + callbackContext.success(); + } + }); + } + + private void unsubscribe(final String channel, final CallbackContext callbackContext) { + cordova.getThreadPool().execute(new Runnable() { + public void run() { + ParsePush.unsubscribeInBackground(channel); + callbackContext.success(); + } + }); + } + + /* + * Use the cordova bridge to call the jsCB and pass it jsonPayload as param + */ + public static void javascriptEventCallback(JSONObject jsonPayload) { + if (sEventCallback != null && !sEventCallback.isEmpty() && sWebView != null) { + String snippet = "javascript:" + sEventCallback + "(" + jsonPayload.toString() + ")"; + Log.v(TAG, "javascriptCB: " + snippet); + sWebView.sendJavascript(snippet); + } + } + + @Override + public void initialize(CordovaInterface cordova, CordovaWebView webView) { + super.initialize(cordova, webView); + sEventCallback = null; + sWebView = this.webView; + sForeground = true; + } + + @Override + public void onDestroy() { + super.onDestroy(); + sEventCallback = null; + sWebView = null; + sForeground = false; + } + + @Override + public void onPause(boolean multitasking) { + super.onPause(multitasking); + sForeground = false; + } + + @Override + public void onResume(boolean multitasking) { + super.onResume(multitasking); + sForeground = true; + } + + public static boolean isInForeground() { + return sForeground; + } + + public static void setLaunchNotification(JSONObject jsonPayload) { + sLaunchNotification = jsonPayload; + } + + private void handleLaunchNotification() { + if (isInForeground() && sLaunchNotification != null) { + javascriptEventCallback(sLaunchNotification); + sLaunchNotification = null; + } + } +} diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/ParsePluginReceiver.java b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/ParsePluginReceiver.java new file mode 100644 index 00000000..fa917a48 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/ParsePluginReceiver.java @@ -0,0 +1,61 @@ +package org.apache.cordova.core; + +import com.parse.ParsePushBroadcastReceiver; +import com.parse.ParseAnalytics; + +import android.app.Activity; +import android.app.TaskStackBuilder; +import android.content.Context; +import android.content.Intent; +import android.os.Build; +import android.net.Uri; +import android.util.Log; + +import org.json.JSONObject; +import org.json.JSONException; + +public class ParsePluginReceiver extends ParsePushBroadcastReceiver +{ + private static final String TAG = "ParsePluginReceiver"; + private static final String RECEIVED_IN_FOREGROUND = "receivedInForeground"; + + @Override + protected void onPushReceive(Context context, Intent intent) { + JSONObject pushData = getPushData(intent); + + if (pushData != null) { + if (ParsePlugin.isInForeground()) { + ParsePlugin.javascriptEventCallback(pushData); + } else { + super.onPushReceive(context, intent); + } + } + } + + @Override + protected void onPushOpen(Context context, Intent intent) { + JSONObject pushData = getPushData(intent); + + if (pushData != null) { + if (ParsePlugin.isInForeground()) { + ParseAnalytics.trackAppOpened(intent); + ParsePlugin.javascriptEventCallback(pushData); + } else { + super.onPushOpen(context, intent); + ParsePlugin.setLaunchNotification(pushData); + } + } + } + + private static JSONObject getPushData(Intent intent){ + JSONObject pushData = null; + try { + pushData = new JSONObject(intent.getStringExtra("com.parse.Data")); + pushData.put(RECEIVED_IN_FOREGROUND, ParsePlugin.isInForeground()); + } catch (JSONException e) { + Log.e(TAG, "JSONException while parsing push data:", e); + } finally{ + return pushData; + } + } +} diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/allclasses-frame.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/allclasses-frame.html new file mode 100644 index 00000000..9060d554 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/allclasses-frame.html @@ -0,0 +1,57 @@ + + + + +All Classes + + + +

All Classes

+ + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/allclasses-noframe.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/allclasses-noframe.html new file mode 100644 index 00000000..ad90582c --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/allclasses-noframe.html @@ -0,0 +1,57 @@ + + + + +All Classes + + + +

All Classes

+ + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ConfigCallback.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ConfigCallback.html new file mode 100644 index 00000000..784b1e59 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ConfigCallback.html @@ -0,0 +1,228 @@ + + + + +ConfigCallback + + + + + + + + + + +
+
com.parse
+

Interface ConfigCallback

+
+
+
+
    +
  • +
    +
    +
    public interface ConfigCallback
    +
    A ConfigCallback is used to run code after ParseConfig.getInBackground() is used + to fetch a new configuration object from the server in a background thread. +

    + The easiest way to use a ConfigCallback is through an anonymous inner class. Override the + done function to specify what the callback should do after the fetch is complete. + The done function will be run in the UI thread, while the fetch happens in a + background thread. This ensures that the UI does not freeze while the fetch happens. +

    +

    + ParseConfig.getInBackground(new ConfigCallback() {
    +   public void done(ParseConfig config, ParseException e) {
    +     if (e == null) {
    +       configFetchSuccess(object);
    +     } else {
    +       configFetchFailed(e);
    +     }
    +   }
    + });
    + 
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      voiddone(ParseConfig config, + ParseException e) +
      Override this function with the code you want to run after the fetch is complete.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        done

        +
        void done(ParseConfig config,
        +        ParseException e)
        +
        Override this function with the code you want to run after the fetch is complete.
        +
        Parameters:
        config - A new ParseConfig instance from the server, or null if it did not + succeed.
        e - The exception raised by the fetch, or null if it succeeded.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/CountCallback.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/CountCallback.html new file mode 100644 index 00000000..019665d5 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/CountCallback.html @@ -0,0 +1,231 @@ + + + + +CountCallback + + + + + + + + + + +
+
com.parse
+

Interface CountCallback

+
+
+
+
    +
  • +
    +
    +
    public interface CountCallback
    +
    A CountCallback is used to run code after a ParseQuery is used to count objects + matching a query in a background thread. +

    + The easiest way to use a CountCallback is through an anonymous inner class. Override the + done function to specify what the callback should do after the count is complete. + The done function will be run in the UI thread, while the count happens in a + background thread. This ensures that the UI does not freeze while the fetch happens. +

    + For example, this sample code counts objects of class "MyClass". It calls a + different function depending on whether the count succeeded or not. +

    +

    + ParseQuery<ParseObject> query = ParseQuery.getQuery("MyClass");
    + query.countInBackground(new CountCallback() {
    +   public void done(int count, ParseException e) {
    +     if (e == null) {
    +       objectsWereCountedSuccessfully(count);
    +     } else {
    +       objectCountingFailed();
    +     }
    +   }
    + });
    + 
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      voiddone(int count, + ParseException e) +
      Override this function with the code you want to run after the count is complete.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        done

        +
        void done(int count,
        +        ParseException e)
        +
        Override this function with the code you want to run after the count is complete.
        +
        Parameters:
        count - The number of objects matching the query, or -1 if it failed.
        e - The exception raised by the count, or null if it succeeded.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/DeleteCallback.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/DeleteCallback.html new file mode 100644 index 00000000..bf4ee443 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/DeleteCallback.html @@ -0,0 +1,228 @@ + + + + +DeleteCallback + + + + + + + + + + +
+
com.parse
+

Interface DeleteCallback

+
+
+
+
    +
  • +
    +
    +
    public interface DeleteCallback
    +
    A DeleteCallback is used to run code after saving a ParseObject in a background + thread. +

    + The easiest way to use a DeleteCallback is through an anonymous inner class. Override the + done function to specify what the callback should do after the delete is complete. + The done function will be run in the UI thread, while the delete happens in a + background thread. This ensures that the UI does not freeze while the delete happens. +

    + For example, this sample code deletes the object myObject and calls a different + function depending on whether the save succeeded or not. +

    +

    + myObject.deleteInBackground(new DeleteCallback() {
    +   public void done(ParseException e) {
    +     if (e == null) {
    +       myObjectWasDeletedSuccessfully();
    +     } else {
    +       myObjectDeleteDidNotSucceed();
    +     }
    +   }
    + });
    + 
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      voiddone(ParseException e) +
      Override this function with the code you want to run after the delete is complete.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        done

        +
        void done(ParseException e)
        +
        Override this function with the code you want to run after the delete is complete.
        +
        Parameters:
        e - The exception raised by the delete, or null if it succeeded.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/FindCallback.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/FindCallback.html new file mode 100644 index 00000000..352b5524 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/FindCallback.html @@ -0,0 +1,231 @@ + + + + +FindCallback + + + + + + + + + + +
+
com.parse
+

Interface FindCallback<T extends ParseObject>

+
+
+
+
    +
  • +
    +
    +
    public interface FindCallback<T extends ParseObject>
    +
    A FindCallback is used to run code after a ParseQuery is used to fetch a list of + ParseObjects in a background thread. +

    + The easiest way to use a FindCallback is through an anonymous inner class. Override the + done function to specify what the callback should do after the fetch is complete. + The done function will be run in the UI thread, while the fetch happens in a + background thread. This ensures that the UI does not freeze while the fetch happens. +

    + For example, this sample code fetches all objects of class "MyClass". It calls a + different function depending on whether the fetch succeeded or not. +

    +

    + ParseQuery<ParseObject> query = ParseQuery.getQuery("MyClass");
    + query.findInBackground(new FindCallback<ParseObject>() {
    +   public void done(List<ParseObject> objects, ParseException e) {
    +     if (e == null) {
    +       objectsWereRetrievedSuccessfully(objects);
    +     } else {
    +       objectRetrievalFailed();
    +     }
    +   }
    + });
    + 
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      voiddone(List<T> objects, + ParseException e) +
      Override this function with the code you want to run after the fetch is complete.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        done

        +
        void done(List<T> objects,
        +        ParseException e)
        +
        Override this function with the code you want to run after the fetch is complete.
        +
        Parameters:
        objects - The objects that were retrieved, or null if it did not succeed.
        e - The exception raised by the save, or null if it succeeded.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/FunctionCallback.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/FunctionCallback.html new file mode 100644 index 00000000..b26050a3 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/FunctionCallback.html @@ -0,0 +1,233 @@ + + + + +FunctionCallback + + + + + + + + + + +
+
com.parse
+

Interface FunctionCallback<T>

+
+
+
+
    +
  • +
    Type Parameters:
    T - The type of object returned by the Cloud Function.
    +
    +
    +
    public interface FunctionCallback<T>
    +
    A FunctionCallback is used to run code after ParseCloud.callFunction(java.lang.String, java.util.Map<java.lang.String, ?>) is used to + run a Cloud Function in a background thread. +

    + The easiest way to use a FunctionCallback is through an anonymous inner class. Override + the done function to specify what the callback should do after the cloud function is + complete. The done function will be run in the UI thread, while the fetch happens in + a background thread. This ensures that the UI does not freeze while the fetch happens. +

    + For example, this sample code calls a cloud function "MyFunction" with + params and calls a different function depending on whether the function succeeded. +

    +

    + ParseCloud.callFunctionInBackground("MyFunction"new, params, FunctionCallback() {
    +   public void done(ParseObject object, ParseException e) {
    +     if (e == null) {
    +       cloudFunctionSucceeded(object);
    +     } else {
    +       cloudFunctionFailed();
    +     }
    +   }
    + });
    + 
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      voiddone(T object, + ParseException e) +
      Override this function with the code you want to run after the cloud function is complete.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + + + +
        +
      • +

        done

        +
        void done(T object,
        +        ParseException e)
        +
        Override this function with the code you want to run after the cloud function is complete.
        +
        Parameters:
        object - The object that was returned by the cloud function.
        e - The exception raised by the cloud call, or null if it succeeded.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/GetCallback.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/GetCallback.html new file mode 100644 index 00000000..6a0018d4 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/GetCallback.html @@ -0,0 +1,233 @@ + + + + +GetCallback + + + + + + + + + + +
+
com.parse
+

Interface GetCallback<T extends ParseObject>

+
+
+
+
    +
  • +
    +
    +
    public interface GetCallback<T extends ParseObject>
    +
    A GetCallback is used to run code after a ParseQuery is used to fetch a + ParseObject in a background thread. +

    + The easiest way to use a GetCallback is through an anonymous inner class. Override the + done function to specify what the callback should do after the fetch is complete. + The done function will be run in the UI thread, while the fetch happens in a + background thread. This ensures that the UI does not freeze while the fetch happens. +

    + For example, this sample code fetches an object of class "MyClass" and id + myId. It calls a different function depending on whether the fetch succeeded or not. +

    +

    + ParseQuery<ParseObject> query = ParseQuery.getQuery("MyClass");
    + query.getInBackground(myId, new GetCallback<ParseObject>() {
    +   public void done(ParseObject object, ParseException e) {
    +     if (e == null) {
    +       objectWasRetrievedSuccessfully(object);
    +     } else {
    +       objectRetrievalFailed();
    +     }
    +   }
    + });
    + 
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      voiddone(T object, + ParseException e) +
      Override this function with the code you want to run after the fetch is complete.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + + + +
        +
      • +

        done

        +
        void done(T object,
        +        ParseException e)
        +
        Override this function with the code you want to run after the fetch is complete.
        +
        Parameters:
        object - The object that was retrieved, or null if it did not succeed.
        e - The exception raised by the fetch, or null if it succeeded.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/GetDataCallback.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/GetDataCallback.html new file mode 100644 index 00000000..9609dbe0 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/GetDataCallback.html @@ -0,0 +1,223 @@ + + + + +GetDataCallback + + + + + + + + + + +
+
com.parse
+

Interface GetDataCallback

+
+
+
+
    +
  • +
    +
    +
    public interface GetDataCallback
    +
    A GetDataCallback is used to run code after a ParseFile fetches its data on a + background thread. +

    + The easiest way to use a GetDataCallback is through an anonymous inner class. Override + the done function to specify what the callback should do after the fetch is complete. + The done function will be run in the UI thread, while the fetch happens in a + background thread. This ensures that the UI does not freeze while the fetch happens. +

    +

    + file.getDataInBackground(new GetDataCallback() {
    +   public void done(byte[] data, ParseException e) {
    +     // ...
    +   }
    + });
    + 
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      voiddone(byte[] data, + ParseException e) +
      Override this function with the code you want to run after the fetch is complete.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        done

        +
        void done(byte[] data,
        +        ParseException e)
        +
        Override this function with the code you want to run after the fetch is complete.
        +
        Parameters:
        data - The data that was retrieved, or null if it did not succeed.
        e - The exception raised by the fetch, or null if it succeeded.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/LocationCallback.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/LocationCallback.html new file mode 100644 index 00000000..da439c09 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/LocationCallback.html @@ -0,0 +1,231 @@ + + + + +LocationCallback + + + + + + + + + + +
+
com.parse
+

Interface LocationCallback

+
+
+
+
    +
  • +
    +
    +
    public interface LocationCallback
    +
    A LocationCallback is used to run code after a Location has been fetched by + ParseGeoPoint.getCurrentLocationInBackground(long, android.location.Criteria). +

    + The easiest way to use a LocationCallback is through an anonymous inner class. Override the + done function to specify what the callback should do after the location has been + fetched. The done function will be run in the UI thread, while the location check + happens in a background thread. This ensures that the UI does not freeze while the fetch happens. +

    + For example, this sample code defines a timeout for fetching the user's current location, and + provides a callback. Within the callback, the success and failure cases are handled differently. +

    +

    + ParseGeoPoint.getCurrentLocationAsync(1000, new LocationCallback() {
    +   public void done(ParseGeoPoint geoPoint, ParseException e) {
    +     if (e == null) {
    +       // do something with your new ParseGeoPoint
    +     } else {
    +       // handle your error
    +       e.printStackTrace();
    +     }
    +   }
    + });
    + 
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      voiddone(ParseGeoPoint geoPoint, + ParseException e) +
      Override this function with the code you want to run after the location fetch is complete.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        done

        +
        void done(ParseGeoPoint geoPoint,
        +        ParseException e)
        +
        Override this function with the code you want to run after the location fetch is complete.
        +
        Parameters:
        geoPoint - The ParseGeoPoint returned by the location fetch.
        e - The exception raised by the location fetch, or null if it succeeded.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/LogInCallback.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/LogInCallback.html new file mode 100644 index 00000000..ce9d521a --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/LogInCallback.html @@ -0,0 +1,231 @@ + + + + +LogInCallback + + + + + + + + + + +
+
com.parse
+

Interface LogInCallback

+
+
+
+
    +
  • +
    +
    +
    public interface LogInCallback
    +
    A LogInCallback is used to run code after logging in a user. +

    + The easiest way to use a LogInCallback is through an anonymous inner class. Override the + done function to specify what the callback should do after the login is complete. + The done function will be run in the UI thread, while the login happens in a + background thread. This ensures that the UI does not freeze while the save happens. +

    + For example, this sample code logs in a user and calls a different function depending on whether + the login succeeded or not. +

    +

    + ParseUser.logInInBackground("username", "password", new LogInCallback() {
    +   public void done(ParseUser user, ParseException e) {
    +     if (e == null && user != null) {
    +       loginSuccessful();
    +     } else if (user == null) {
    +       usernameOrPasswordIsInvalid();
    +     } else {
    +       somethingWentWrong();
    +     }
    +   }
    + });
    + 
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      voiddone(ParseUser user, + ParseException e) +
      Override this function with the code you want to run after the save is complete.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        done

        +
        void done(ParseUser user,
        +        ParseException e)
        +
        Override this function with the code you want to run after the save is complete.
        +
        Parameters:
        user - The user that logged in, if the username and password is valid.
        e - The exception raised by the login, or null if it succeeded.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/LogOutCallback.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/LogOutCallback.html new file mode 100644 index 00000000..b3a7e84c --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/LogOutCallback.html @@ -0,0 +1,227 @@ + + + + +LogOutCallback + + + + + + + + + + +
+
com.parse
+

Interface LogOutCallback

+
+
+
+
    +
  • +
    +
    +
    public interface LogOutCallback
    +
    A LogOutCallback is used to run code after logging out a user. +

    + The easiest way to use a LogOutCallback is through an anonymous inner class. Override the + done function to specify what the callback should do after the login is complete. + The done function will be run in the UI thread, while the login happens in a + background thread. This ensures that the UI does not freeze while the save happens. +

    + For example, this sample code logs out a user and calls a different function depending on whether + the log out succeeded or not. +

    +

    + ParseUser.logOutInBackground(new LogOutCallback() {
    +   public void done(ParseException e) {
    +     if (e == null) {
    +       logOutSuccessful();
    +     } else {
    +       somethingWentWrong();
    +     }
    +   }
    + });
    + 
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      voiddone(ParseException e) +
      Override this function with the code you want to run after the save is complete.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        done

        +
        void done(ParseException e)
        +
        Override this function with the code you want to run after the save is complete.
        +
        Parameters:
        e - The exception raised by the log out, or null if it succeeded.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/Parse.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/Parse.html new file mode 100644 index 00000000..74364e17 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/Parse.html @@ -0,0 +1,473 @@ + + + + +Parse + + + + + + + + + + +
+
com.parse
+

Class Parse

+
+
+
    +
  • Object
  • +
  • +
      +
    • com.parse.Parse
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    public class Parse
    +extends Object
    +
    The Parse class contains static functions that handle global configuration for the Parse + library.
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        enableLocalDatastore

        +
        public static void enableLocalDatastore(Context context)
        +
        Enable pinning in your application. This must be called before your application can use + pinning. You must invoke Parse.enableLocalDatastore before + Parse.initialize: +

        +

        + public class MyApplication extends Application {
        +   public void onCreate() {
        +     Parse.enableLocalDatastore(this);
        +     Parse.initialize(this);
        +   }
        + }
        + 
        +
        Parameters:
        context - The active Context for your application.
        +
      • +
      + + + +
        +
      • +

        initialize

        +
        public static void initialize(Context context)
        +
        Authenticates this client as belonging to your application. +

        + You must define com.parse.APPLICATION_ID and com.parse.CLIENT_KEY + meta-data in your AndroidManifest.xml: +

        + <manifest ...>
        +
        + ...
        +
        +   <application ...>
        +     <meta-data
        +       android:name="com.parse.APPLICATION_ID"
        +       android:value="@string/parse_app_id" />
        +     <meta-data
        +       android:name="com.parse.CLIENT_KEY"
        +       android:value="@string/parse_client_key" />
        +
        +       ...
        +
        +   </application>
        + </manifest>
        + 
        +

        + This must be called before your application can use the Parse library. + The recommended way is to put a call to Parse.initialize + in your Application's onCreate method: +

        +

        + public class MyApplication extends Application {
        +   public void onCreate() {
        +     Parse.initialize(this);
        +   }
        + }
        + 
        +
        Parameters:
        context - The active Context for your application.
        +
      • +
      + + + +
        +
      • +

        initialize

        +
        public static void initialize(Context context,
        +              String applicationId,
        +              String clientKey)
        +
        Authenticates this client as belonging to your application. +

        + This method is only required if you intend to use a different applicationId or + clientKey than is defined by com.parse.APPLICATION_ID or + com.parse.CLIENT_KEY in your AndroidManifest.xml. +

        + This must be called before your + application can use the Parse library. The recommended way is to put a call to + Parse.initialize in your Application's onCreate method: +

        +

        + public class MyApplication extends Application {
        +   public void onCreate() {
        +     Parse.initialize(this, "your application id", "your client key");
        +   }
        + }
        + 
        +
        Parameters:
        context - The active Context for your application.
        applicationId - The application id provided in the Parse dashboard.
        clientKey - The client key provided in the Parse dashboard.
        +
      • +
      + + + + + + + +
        +
      • +

        getLogLevel

        +
        public static int getLogLevel()
        +
        Returns the level of logging that will be displayed.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseACL.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseACL.html new file mode 100644 index 00000000..46601a74 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseACL.html @@ -0,0 +1,663 @@ + + + + +ParseACL + + + + + + + + + + +
+
com.parse
+

Class ParseACL

+
+
+
    +
  • Object
  • +
  • +
      +
    • com.parse.ParseACL
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    public class ParseACL
    +extends Object
    +
    A ParseACL is used to control which users can access or modify a particular object. Each + ParseObject can have its own ParseACL. You can grant read and write permissions + separately to specific users, to groups of users that belong to roles, or you can grant + permissions to "the public" so that, for example, any user could read a particular object but + only a particular set of users could write to that object.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + +
      Constructors 
      Constructor and Description
      ParseACL() +
      Creates an ACL with no permissions granted.
      +
      ParseACL(ParseUser owner) +
      Creates an ACL where only the provided user has access.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      booleangetPublicReadAccess() +
      Get whether the public is allowed to read this object.
      +
      booleangetPublicWriteAccess() +
      Set whether the public is allowed to write this object.
      +
      booleangetReadAccess(ParseUser user) +
      Get whether the given user id is *explicitly* allowed to read this object.
      +
      booleangetReadAccess(String userId) +
      Get whether the given user id is *explicitly* allowed to read this object.
      +
      booleangetRoleReadAccess(ParseRole role) +
      Get whether users belonging to the given role are allowed to read this object.
      +
      booleangetRoleReadAccess(String roleName) +
      Get whether users belonging to the role with the given roleName are allowed to read this + object.
      +
      booleangetRoleWriteAccess(ParseRole role) +
      Get whether users belonging to the given role are allowed to write this object.
      +
      booleangetRoleWriteAccess(String roleName) +
      Get whether users belonging to the role with the given roleName are allowed to write this + object.
      +
      booleangetWriteAccess(ParseUser user) +
      Get whether the given user id is *explicitly* allowed to write this object.
      +
      booleangetWriteAccess(String userId) +
      Get whether the given user id is *explicitly* allowed to write this object.
      +
      static voidsetDefaultACL(ParseACL acl, + boolean withAccessForCurrentUser) +
      Sets a default ACL that will be applied to all ParseObjects when they are created.
      +
      voidsetPublicReadAccess(boolean allowed) +
      Set whether the public is allowed to read this object.
      +
      voidsetPublicWriteAccess(boolean allowed) +
      Set whether the public is allowed to write this object.
      +
      voidsetReadAccess(ParseUser user, + boolean allowed) +
      Set whether the given user is allowed to read this object.
      +
      voidsetReadAccess(String userId, + boolean allowed) +
      Set whether the given user id is allowed to read this object.
      +
      voidsetRoleReadAccess(ParseRole role, + boolean allowed) +
      Set whether users belonging to the given role are allowed to read this object.
      +
      voidsetRoleReadAccess(String roleName, + boolean allowed) +
      Set whether users belonging to the role with the given roleName are allowed to read this + object.
      +
      voidsetRoleWriteAccess(ParseRole role, + boolean allowed) +
      Set whether users belonging to the given role are allowed to write this object.
      +
      voidsetRoleWriteAccess(String roleName, + boolean allowed) +
      Set whether users belonging to the role with the given roleName are allowed to write this + object.
      +
      voidsetWriteAccess(ParseUser user, + boolean allowed) +
      Set whether the given user is allowed to write this object.
      +
      voidsetWriteAccess(String userId, + boolean allowed) +
      Set whether the given user id is allowed to write this object.
      +
      + +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ParseACL

        +
        public ParseACL()
        +
        Creates an ACL with no permissions granted.
        +
      • +
      + + + +
        +
      • +

        ParseACL

        +
        public ParseACL(ParseUser owner)
        +
        Creates an ACL where only the provided user has access.
        +
        Parameters:
        owner - The only user that can read or write objects governed by this ACL.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        setDefaultACL

        +
        public static void setDefaultACL(ParseACL acl,
        +                 boolean withAccessForCurrentUser)
        +
        Sets a default ACL that will be applied to all ParseObjects when they are created.
        +
        Parameters:
        acl - The ACL to use as a template for all ParseObjects created after setDefaultACL + has been called. This value will be copied and used as a template for the creation of + new ACLs, so changes to the instance after setDefaultACL(ParseACL, boolean) + has been called will not be reflected in new ParseObjects.
        withAccessForCurrentUser - If true, the ParseACL that is applied to newly-created + ParseObjects will provide read and write access to the + ParseUser.getCurrentUser() at the time of creation. If false, the + provided ACL will be used without modification. If acl is null, this value is + ignored.
        +
      • +
      + + + +
        +
      • +

        setPublicReadAccess

        +
        public void setPublicReadAccess(boolean allowed)
        +
        Set whether the public is allowed to read this object.
        +
      • +
      + + + +
        +
      • +

        getPublicReadAccess

        +
        public boolean getPublicReadAccess()
        +
        Get whether the public is allowed to read this object.
        +
      • +
      + + + +
        +
      • +

        setPublicWriteAccess

        +
        public void setPublicWriteAccess(boolean allowed)
        +
        Set whether the public is allowed to write this object.
        +
      • +
      + + + +
        +
      • +

        getPublicWriteAccess

        +
        public boolean getPublicWriteAccess()
        +
        Set whether the public is allowed to write this object.
        +
      • +
      + + + +
        +
      • +

        setReadAccess

        +
        public void setReadAccess(String userId,
        +                 boolean allowed)
        +
        Set whether the given user id is allowed to read this object.
        +
      • +
      + + + +
        +
      • +

        getReadAccess

        +
        public boolean getReadAccess(String userId)
        +
        Get whether the given user id is *explicitly* allowed to read this object. Even if this returns + false, the user may still be able to access it if getPublicReadAccess returns + true or a role that the user belongs to has read access.
        +
      • +
      + + + +
        +
      • +

        setWriteAccess

        +
        public void setWriteAccess(String userId,
        +                  boolean allowed)
        +
        Set whether the given user id is allowed to write this object.
        +
      • +
      + + + +
        +
      • +

        getWriteAccess

        +
        public boolean getWriteAccess(String userId)
        +
        Get whether the given user id is *explicitly* allowed to write this object. Even if this + returns false, the user may still be able to write it if getPublicWriteAccess returns + true or a role that the user belongs to has write access.
        +
      • +
      + + + +
        +
      • +

        setReadAccess

        +
        public void setReadAccess(ParseUser user,
        +                 boolean allowed)
        +
        Set whether the given user is allowed to read this object.
        +
      • +
      + + + +
        +
      • +

        getReadAccess

        +
        public boolean getReadAccess(ParseUser user)
        +
        Get whether the given user id is *explicitly* allowed to read this object. Even if this returns + false, the user may still be able to access it if getPublicReadAccess returns + true or a role that the user belongs to has read access.
        +
      • +
      + + + +
        +
      • +

        setWriteAccess

        +
        public void setWriteAccess(ParseUser user,
        +                  boolean allowed)
        +
        Set whether the given user is allowed to write this object.
        +
      • +
      + + + +
        +
      • +

        getWriteAccess

        +
        public boolean getWriteAccess(ParseUser user)
        +
        Get whether the given user id is *explicitly* allowed to write this object. Even if this + returns false, the user may still be able to write it if getPublicWriteAccess returns + true or a role that the user belongs to has write access.
        +
      • +
      + + + +
        +
      • +

        getRoleReadAccess

        +
        public boolean getRoleReadAccess(String roleName)
        +
        Get whether users belonging to the role with the given roleName are allowed to read this + object. Even if this returns false, the role may still be able to read it if a parent + role has read access.
        +
        Parameters:
        roleName - The name of the role.
        +
        Returns:
        true if the role has read access. false otherwise.
        +
      • +
      + + + +
        +
      • +

        setRoleReadAccess

        +
        public void setRoleReadAccess(String roleName,
        +                     boolean allowed)
        +
        Set whether users belonging to the role with the given roleName are allowed to read this + object.
        +
        Parameters:
        roleName - The name of the role.
        allowed - Whether the given role can read this object.
        +
      • +
      + + + +
        +
      • +

        getRoleWriteAccess

        +
        public boolean getRoleWriteAccess(String roleName)
        +
        Get whether users belonging to the role with the given roleName are allowed to write this + object. Even if this returns false, the role may still be able to write it if a parent + role has write access.
        +
        Parameters:
        roleName - The name of the role.
        +
        Returns:
        true if the role has write access. false otherwise.
        +
      • +
      + + + +
        +
      • +

        setRoleWriteAccess

        +
        public void setRoleWriteAccess(String roleName,
        +                      boolean allowed)
        +
        Set whether users belonging to the role with the given roleName are allowed to write this + object.
        +
        Parameters:
        roleName - The name of the role.
        allowed - Whether the given role can write this object.
        +
      • +
      + + + +
        +
      • +

        getRoleReadAccess

        +
        public boolean getRoleReadAccess(ParseRole role)
        +
        Get whether users belonging to the given role are allowed to read this object. Even if this + returns false, the role may still be able to read it if a parent role has read access. + The role must already be saved on the server and its data must have been fetched in order to + use this method.
        +
        Parameters:
        role - The role to check for access.
        +
        Returns:
        true if the role has read access. false otherwise.
        +
      • +
      + + + +
        +
      • +

        setRoleReadAccess

        +
        public void setRoleReadAccess(ParseRole role,
        +                     boolean allowed)
        +
        Set whether users belonging to the given role are allowed to read this object. The role must + already be saved on the server and its data must have been fetched in order to use this method.
        +
        Parameters:
        role - The role to assign access.
        allowed - Whether the given role can read this object.
        +
      • +
      + + + +
        +
      • +

        getRoleWriteAccess

        +
        public boolean getRoleWriteAccess(ParseRole role)
        +
        Get whether users belonging to the given role are allowed to write this object. Even if this + returns false, the role may still be able to write it if a parent role has write + access. The role must already be saved on the server and its data must have been fetched in + order to use this method.
        +
        Parameters:
        role - The role to check for access.
        +
        Returns:
        true if the role has write access. false otherwise.
        +
      • +
      + + + +
        +
      • +

        setRoleWriteAccess

        +
        public void setRoleWriteAccess(ParseRole role,
        +                      boolean allowed)
        +
        Set whether users belonging to the given role are allowed to write this object. The role must + already be saved on the server and its data must have been fetched in order to use this method.
        +
        Parameters:
        role - The role to assign access.
        allowed - Whether the given role can write this object.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseAnalytics.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseAnalytics.html new file mode 100644 index 00000000..cc7968e5 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseAnalytics.html @@ -0,0 +1,462 @@ + + + + +ParseAnalytics + + + + + + + + + + +
+
com.parse
+

Class ParseAnalytics

+
+
+
    +
  • Object
  • +
  • +
      +
    • com.parse.ParseAnalytics
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    public class ParseAnalytics
    +extends Object
    +
    The ParseAnalytics class provides an interface to Parse's logging and analytics backend. + Methods will return immediately and cache requests (+ timestamps) to be handled "eventually." + That is, the request will be sent immediately if possible or the next time a network connection + is available otherwise.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ParseAnalytics

        +
        public ParseAnalytics()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        trackAppOpenedInBackground

        +
        public static Task<Void> trackAppOpenedInBackground(Intent intent)
        +
        Tracks this application being launched (and if this happened as the result of the user opening + a push notification, this method sends along information to correlate this open with that + push).
        +
        Parameters:
        intent - The Intent that started an Activity, if any. Can be null.
        +
        Returns:
        A Task that is resolved when the event has been tracked by Parse.
        +
      • +
      + + + + + + + +
        +
      • +

        trackAppOpenedInBackground

        +
        public static void trackAppOpenedInBackground(Intent intent,
        +                              SaveCallback callback)
        +
        Tracks this application being launched (and if this happened as the result of the user opening + a push notification, this method sends along information to correlate this open with that + push).
        +
        Parameters:
        intent - The Intent that started an Activity, if any. Can be null.
        callback - callback.done(e) is called when the event has been tracked by Parse.
        +
      • +
      + + + + + + + +
        +
      • +

        trackEventInBackground

        +
        public static void trackEventInBackground(String name,
        +                          SaveCallback callback)
        +
        Tracks the occurrence of a custom event. Parse will store a data point at the time of + invocation with the given event name.
        +
        Parameters:
        name - The name of the custom event to report to Parse as having happened.
        callback - callback.done(e) is called when the event has been tracked by Parse.
        +
      • +
      + + + + + + + +
        +
      • +

        trackEventInBackground

        +
        public static void trackEventInBackground(String name,
        +                          Map<String,String> dimensions,
        +                          SaveCallback callback)
        +
        Tracks the occurrence of a custom event with additional dimensions. Parse will store a data + point at the time of invocation with the given event name. Dimensions will allow segmentation + of the occurrences of this custom event. +

        + To track a user signup along with additional metadata, consider the following: +

        + Map dimensions = new HashMap();
        + dimensions.put("gender", "m");
        + dimensions.put("source", "web");
        + dimensions.put("dayType", "weekend");
        + ParseAnalytics.trackEvent("signup", dimensions);
        + 
        + There is a default limit of 8 dimensions per event tracked.
        +
        Parameters:
        name - The name of the custom event to report to Parse as having happened.
        dimensions - The dictionary of information by which to segment this event.
        callback - callback.done(e) is called when the event has been tracked by Parse.
        +
      • +
      + + + +
        +
      • +

        trackEventInBackground

        +
        public static Task<Void> trackEventInBackground(String name)
        +
        Tracks the occurrence of a custom event with additional dimensions. Parse will store a data + point at the time of invocation with the given event name. Dimensions will allow segmentation + of the occurrences of this custom event. +

        + To track a user signup along with additional metadata, consider the following: +

        + Map dimensions = new HashMap();
        + dimensions.put("gender", "m");
        + dimensions.put("source", "web");
        + dimensions.put("dayType", "weekend");
        + ParseAnalytics.trackEvent("signup", dimensions);
        + 
        + There is a default limit of 8 dimensions per event tracked.
        +
        Parameters:
        name - The name of the custom event to report to Parse as having happened.
        +
        Returns:
        A Task that is resolved when the event has been tracked by Parse.
        +
      • +
      + + + +
        +
      • +

        trackEventInBackground

        +
        public static Task<Void> trackEventInBackground(String name,
        +                                Map<String,String> dimensions)
        +
        Tracks the occurrence of a custom event with additional dimensions. Parse will store a data + point at the time of invocation with the given event name. Dimensions will allow segmentation + of the occurrences of this custom event. +

        + To track a user signup along with additional metadata, consider the following: +

        + Map dimensions = new HashMap();
        + dimensions.put("gender", "m");
        + dimensions.put("source", "web");
        + dimensions.put("dayType", "weekend");
        + ParseAnalytics.trackEvent("signup", dimensions);
        + 
        + There is a default limit of 8 dimensions per event tracked.
        +
        Parameters:
        name - The name of the custom event to report to Parse as having happened.
        dimensions - The dictionary of information by which to segment this event.
        +
        Returns:
        A Task that is resolved when the event has been tracked by Parse.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseAnonymousUtils.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseAnonymousUtils.html new file mode 100644 index 00000000..01eb8695 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseAnonymousUtils.html @@ -0,0 +1,277 @@ + + + + +ParseAnonymousUtils + + + + + + + + + + +
+
com.parse
+

Class ParseAnonymousUtils

+
+
+
    +
  • Object
  • +
  • +
      +
    • com.parse.ParseAnonymousUtils
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    public final class ParseAnonymousUtils
    +extends Object
    +
    Provides utility functions for working with Anonymously logged-in users. Anonymous users have + some unique characteristics: +
      +
    • Anonymous users don't need a user name or password.
    • +
    • Once logged out, an anonymous user cannot be recovered.
    • +
    • When the current user is anonymous, the following methods can be used to switch to a + different user or convert the anonymous user into a regular one: +
        +
      • signUp converts an anonymous user to a standard user with the given username and password. + Data associated with the anonymous user is retained.
      • +
      • logIn switches users without converting the anonymous user. Data associated with the + anonymous user will be lost.
      • +
      • Service logIn (e.g. Facebook, Twitter) will attempt to convert the anonymous user into a + standard user by linking it to the service. If a user already exists that is linked to the + service, it will instead switch to the existing user.
      • +
      • Service linking (e.g. Facebook, Twitter) will convert the anonymous user into a standard user + by linking it to the service.
      • +
      +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        isLinked

        +
        public static boolean isLinked(ParseUser user)
        +
        Whether the user is logged in anonymously.
        +
        Parameters:
        user - User to check for anonymity. The user must be logged in on this device.
        +
        Returns:
        True if the user is anonymous. False if the user is not the current user or is not + anonymous.
        +
      • +
      + + + +
        +
      • +

        logInInBackground

        +
        public static Task<ParseUser> logInInBackground()
        +
        Creates an anonymous user in the background.
        +
        Returns:
        A Task that will be resolved when logging in is completed.
        +
      • +
      + + + +
        +
      • +

        logIn

        +
        public static void logIn(LogInCallback callback)
        +
        Creates an anonymous user in the background.
        +
        Parameters:
        callback - The callback to execute when anonymous user creation is complete.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseClassName.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseClassName.html new file mode 100644 index 00000000..ec252a4e --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseClassName.html @@ -0,0 +1,199 @@ + + + + +ParseClassName + + + + + + + + + + +
+
com.parse
+

Annotation Type ParseClassName

+
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Required Element Summary

      + + + + + + + + + + +
      Required Elements 
      Modifier and TypeRequired Element and Description
      Stringvalue 
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        value

        +
        public abstract String value
        +
        Returns:
        The Parse class name associated with the ParseObject subclass.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseCloud.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseCloud.html new file mode 100644 index 00000000..83a10eff --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseCloud.html @@ -0,0 +1,296 @@ + + + + +ParseCloud + + + + + + + + + + +
+
com.parse
+

Class ParseCloud

+
+
+
    +
  • Object
  • +
  • +
      +
    • com.parse.ParseCloud
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    public final class ParseCloud
    +extends Object
    +
    The ParseCloud class defines provides methods for interacting with Parse Cloud Functions. A Cloud + Function can be called with ParseCloud.callFunctionInBackground(String, Map, FunctionCallback) + using a FunctionCallback. For example, this sample code calls the "validateGame" Cloud + Function and calls processResponse if the call succeeded and handleError if it failed. + +
    + ParseCloud.callFunctionInBackground("validateGame", parameters, new FunctionCallback() {
    +      public void done(Object object, ParseException e) {
    +        if (e == null) {
    +          processResponse(object);
    +        } else {
    +          handleError();
    +        }
    +      }
    + }
    + 
    +
    + Using the callback methods is usually preferred because the network operation will not block the
    + calling thread. However, in some cases it may be easier to use the
    + ParseCloud.callFunction(String, Map) call which do block the calling thread. For example, if your
    + application has already spawned a background task to perform work, that background task could use
    + the blocking calls and avoid the code complexity of callbacks.
    +
    +
    +
    +
    + +
    +
    +
      +
    • + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          callFunctionInBackground

          +
          public static <T> Task<T> callFunctionInBackground(String name,
          +                                   Map<String,?> params)
          +
          Calls a cloud function in the background.
          +
          Parameters:
          name - The cloud function to call.
          params - The parameters to send to the cloud function. This map can contain anything that could + be placed in a ParseObject except for ParseObjects themselves.
          +
          Returns:
          A Task that will be resolved when the cloud function has returned.
          +
        • +
        + + + +
          +
        • +

          callFunction

          +
          public static <T> T callFunction(String name,
          +                 Map<String,?> params)
          +                      throws ParseException
          +
          Calls a cloud function.
          +
          Parameters:
          name - The cloud function to call.
          params - The parameters to send to the cloud function. This map can contain anything that could + be placed in a ParseObject except for ParseObjects themselves.
          +
          Returns:
          The result of the cloud call. Result may be a @{link Map}< String, ?>, + ParseObject, List<?>, or any type that can be set as a field in a + ParseObject.
          +
          Throws:
          +
          ParseException
          +
        • +
        + + + +
          +
        • +

          callFunctionInBackground

          +
          public static <T> void callFunctionInBackground(String name,
          +                                Map<String,?> params,
          +                                FunctionCallback<T> callback)
          +
          Calls a cloud function in the background.
          +
          Parameters:
          name - The cloud function to call.
          params - The parameters to send to the cloud function. This map can contain anything that could + be placed in a ParseObject except for ParseObjects themselves.
          callback - The callback that will be called when the cloud function has returned.
          +
        • +
        +
      • +
      +
    • +
    +
    + + + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseConfig.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseConfig.html new file mode 100644 index 00000000..c80a3e88 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseConfig.html @@ -0,0 +1,843 @@ + + + + +ParseConfig + + + + + + + + + + +
    +
    com.parse
    +

    Class ParseConfig

    +
    +
    +
      +
    • Object
    • +
    • +
        +
      • com.parse.ParseConfig
      • +
      +
    • +
    +
    +
      +
    • +
      +
      +
      public class ParseConfig
      +extends Object
      +
      The ParseConfig is a local representation of configuration data that can be set from the + Parse dashboard.
      +
    • +
    +
    +
    + +
    +
    +
      +
    • + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          getCurrentConfig

          +
          public static ParseConfig getCurrentConfig()
          +
          Retrieves the most recently-fetched configuration object, either from memory or + disk if necessary.
          +
          Returns:
          The most recently-fetched ParseConfig if it exists, else an empty + ParseConfig
          +
        • +
        + + + +
          +
        • +

          get

          +
          public static ParseConfig get()
          +                       throws ParseException
          +
          Fetches a new configuration object from the server.
          +
          Returns:
          The ParseConfig that was fetched.
          +
          Throws:
          +
          ParseException - Throws an exception if the server is inaccessible.
          +
        • +
        + + + +
          +
        • +

          getInBackground

          +
          public static void getInBackground(ConfigCallback callback)
          +
          Fetches a new configuration object from the server in a background thread. This is preferable + to using ParseConfig.get(), unless your code is already running from a background thread.
          +
          Parameters:
          callback - callback.done(config, e) is called when the fetch completes.
          +
        • +
        + + + +
          +
        • +

          getInBackground

          +
          public static Task<ParseConfig> getInBackground()
          +
          Fetches a new configuration object from the server in a background thread. This is preferable + to using ParseConfig.get(), unless your code is already running from a background thread.
          +
          Returns:
          A Task that is resolved when the fetch completes.
          +
        • +
        + + + + + + + +
          +
        • +

          get

          +
          public Object get(String key,
          +         Object defaultValue)
          +
          Access a value, returning a default value if the key doesn't exist. In most cases it is more + convenient to use a helper function such as ParseConfig.getString(java.lang.String) or ParseConfig.getInt(java.lang.String).
          +
          Parameters:
          key - The key to access the value for.
          defaultValue - The value to return if the key is not present in the configuration object.
          +
          Returns:
          The default value if there is no such key.
          +
        • +
        + + + +
          +
        • +

          getBoolean

          +
          public boolean getBoolean(String key)
          +
          Access a boolean value.
          +
          Parameters:
          key - The key to access the value for.
          +
          Returns:
          Returns false if there is no such key or if it is not a boolean.
          +
        • +
        + + + +
          +
        • +

          getBoolean

          +
          public boolean getBoolean(String key,
          +                 boolean defaultValue)
          +
          Access a boolean value, returning a default value if it doesn't exist.
          +
          Parameters:
          key - The key to access the value for.
          defaultValue - The value to return if the key is not present or has the wrong type.
          +
          Returns:
          The default value if there is no such key or if it is not a boolean.
          +
        • +
        + + + +
          +
        • +

          getDate

          +
          public Date getDate(String key)
          +
          Access a Date value.
          +
          Parameters:
          key - The key to access the value for.
          +
          Returns:
          Returns null if there is no such key or if it is not a Date.
          +
        • +
        + + + +
          +
        • +

          getDate

          +
          public Date getDate(String key,
          +           Date defaultValue)
          +
          Access a Date value, returning a default value if it doesn't exist.
          +
          Parameters:
          key - The key to access the value for.
          defaultValue - The value to return if the key is not present or has the wrong type.
          +
          Returns:
          The default value if there is no such key or if it is not a Date.
          +
        • +
        + + + +
          +
        • +

          getDouble

          +
          public double getDouble(String key)
          +
          Access a double value.
          +
          Parameters:
          key - The key to access the value for.
          +
          Returns:
          Returns 0 if there is no such key or if it is not a number.
          +
        • +
        + + + +
          +
        • +

          getDouble

          +
          public double getDouble(String key,
          +               double defaultValue)
          +
          Access a double value, returning a default value if it doesn't exist.
          +
          Parameters:
          key - The key to access the value for.
          defaultValue - The value to return if the key is not present or has the wrong type.
          +
          Returns:
          The default value if there is no such key or if it is not a number.
          +
        • +
        + + + +
          +
        • +

          getInt

          +
          public int getInt(String key)
          +
          Access an int value.
          +
          Parameters:
          key - The key to access the value for.
          +
          Returns:
          Returns 0 if there is no such key or if it is not a number.
          +
        • +
        + + + +
          +
        • +

          getInt

          +
          public int getInt(String key,
          +         int defaultValue)
          +
          Access an int value, returning a default value if it doesn't exist.
          +
          Parameters:
          key - The key to access the value for.
          defaultValue - The value to return if the key is not present or has the wrong type.
          +
          Returns:
          The default value if there is no such key or if it is not a number.
          +
        • +
        + + + +
          +
        • +

          getJSONArray

          +
          public JSONArray getJSONArray(String key)
          +
          Access a JSONArray value.
          +
          Parameters:
          key - The key to access the value for.
          +
          Returns:
          Returns null if there is no such key or if it is not a JSONArray.
          +
        • +
        + + + +
          +
        • +

          getJSONArray

          +
          public JSONArray getJSONArray(String key,
          +                     JSONArray defaultValue)
          +
          Access a JSONArray value, returning a default value if it doesn't exist.
          +
          Parameters:
          key - The key to access the value for.
          defaultValue - The value to return if the key is not present or has the wrong type.
          +
          Returns:
          The default value if there is no such key or if it is not a JSONArray.
          +
        • +
        + + + +
          +
        • +

          getJSONObject

          +
          public JSONObject getJSONObject(String key)
          +
          Access a JSONObject value.
          +
          Parameters:
          key - The key to access the value for.
          +
          Returns:
          Returns null if there is no such key or if it is not a JSONObject.
          +
        • +
        + + + +
          +
        • +

          getJSONObject

          +
          public JSONObject getJSONObject(String key,
          +                       JSONObject defaultValue)
          +
          Access a JSONObject value, returning a default value if it doesn't exist.
          +
          Parameters:
          key - The key to access the value for.
          defaultValue - The value to return if the key is not present or has the wrong type.
          +
          Returns:
          The default value if there is no such key or if it is not a JSONObject.
          +
        • +
        + + + +
          +
        • +

          getList

          +
          public <T> List<T> getList(String key)
          +
          Access a List value.
          +
          Parameters:
          key - The key to access the value for.
          +
          Returns:
          Returns null if there is no such key or if it cannot be converted to a + List.
          +
        • +
        + + + +
          +
        • +

          getList

          +
          public <T> List<T> getList(String key,
          +                  List<T> defaultValue)
          +
          Access a List value, returning a default value if it doesn't exist.
          +
          Parameters:
          key - The key to access the value for.
          defaultValue - The value to return if the key is not present or has the wrong type.
          +
          Returns:
          The default value if there is no such key or if it cannot be + converted to a List.
          +
        • +
        + + + +
          +
        • +

          getLong

          +
          public long getLong(String key)
          +
          Access a long value.
          +
          Parameters:
          key - The key to access the value for.
          +
          Returns:
          Returns 0 if there is no such key or if it is not a number.
          +
        • +
        + + + +
          +
        • +

          getLong

          +
          public long getLong(String key,
          +           long defaultValue)
          +
          Access a long value, returning a default value if it doesn't exist.
          +
          Parameters:
          key - The key to access the value for.
          defaultValue - The value to return if the key is not present or has the wrong type.
          +
          Returns:
          The default value if there is no such key or if it is not a number.
          +
        • +
        + + + +
          +
        • +

          getMap

          +
          public <V> Map<String,V> getMap(String key)
          +
          Access a Map value.
          +
          Parameters:
          key - The key to access the value for.
          +
          Returns:
          null if there is no such key or if it cannot be converted to a + Map.
          +
        • +
        + + + +
          +
        • +

          getMap

          +
          public <V> Map<String,V> getMap(String key,
          +                       Map<String,V> defaultValue)
          +
          Access a Map value, returning a default value if it doesn't exist.
          +
          Parameters:
          key - The key to access the value for.
          defaultValue - The value to return if the key is not present or has the wrong type.
          +
          Returns:
          The default value if there is no such key or if it cannot be converted + to a Map.
          +
        • +
        + + + +
          +
        • +

          getNumber

          +
          public Number getNumber(String key)
          +
          Access a numerical value.
          +
          Parameters:
          key - The key to access the value for.
          +
          Returns:
          Returns null if there is no such key or if it is not a Number.
          +
        • +
        + + + +
          +
        • +

          getNumber

          +
          public Number getNumber(String key,
          +               Number defaultValue)
          +
          Access a numerical value, returning a default value if it doesn't exist.
          +
          Parameters:
          key - The key to access the value for.
          defaultValue - The value to return if the key is not present or has the wrong type.
          +
          Returns:
          The default value if there is no such key or if it is not a Number.
          +
        • +
        + + + + + + + +
          +
        • +

          getParseFile

          +
          public ParseFile getParseFile(String key,
          +                     ParseFile defaultValue)
          +
          Access a ParseFile value, returning a default value if it doesn't exist. This function + will not perform a network request. Unless the ParseFile has been downloaded + (e.g. by calling ParseFile.getData()), ParseFile.isDataAvailable() will return + false.
          +
          Parameters:
          key - The key to access the value for.
          defaultValue - The value to return if the key is not present or has the wrong type.
          +
          Returns:
          The default value if there is no such key or if it is not a ParseFile.
          +
        • +
        + + + +
          +
        • +

          getParseGeoPoint

          +
          public ParseGeoPoint getParseGeoPoint(String key)
          +
          Access a ParseGeoPoint value.
          +
          Parameters:
          key - The key to access the value for
          +
          Returns:
          null if there is no such key or if it is not a ParseGeoPoint.
          +
        • +
        + + + +
          +
        • +

          getParseGeoPoint

          +
          public ParseGeoPoint getParseGeoPoint(String key,
          +                             ParseGeoPoint defaultValue)
          +
          Access a ParseGeoPoint value, returning a default value if it doesn't exist.
          +
          Parameters:
          key - The key to access the value for
          defaultValue - The value to return if the key is not present or has the wrong type.
          +
          Returns:
          The default value if there is no such key or if it is not a ParseGeoPoint.
          +
        • +
        + + + +
          +
        • +

          getString

          +
          public String getString(String key)
          +
          Access a String value.
          +
          Parameters:
          key - The key to access the value for.
          +
          Returns:
          Returns null if there is no such key or if it is not a String.
          +
        • +
        + + + +
          +
        • +

          getString

          +
          public String getString(String key,
          +               String defaultValue)
          +
          Access a String value, returning a default value if it doesn't exist.
          +
          Parameters:
          key - The key to access the value for.
          defaultValue - The value to return if the key is not present or has the wrong type.
          +
          Returns:
          The default value if there is no such key or if it is not a String.
          +
        • +
        + + + + +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseException.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseException.html new file mode 100644 index 00000000..f5b6b3bc --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseException.html @@ -0,0 +1,1106 @@ + + + + +ParseException + + + + + + + + + + +
    +
    com.parse
    +

    Class ParseException

    +
    +
    + +
    +
      +
    • +
      +
      All Implemented Interfaces:
      +
      Serializable
      +
      +
      +
      +
      public class ParseException
      +extends Exception
      +
      A ParseException gets raised whenever a ParseObject issues an invalid request, such as + deleting or editing an object that no longer exists on the server, or when there is a network + failure preventing communication with the Parse server.
      +
      See Also:
      Serialized Form
      +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Field Summary

        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
        Fields 
        Modifier and TypeField and Description
        static intACCOUNT_ALREADY_LINKED +
        Error code indicating that an an account being linked is already linked to another user.
        +
        static intCACHE_MISS +
        Error code indicating the result was not found in the cache.
        +
        static intCOMMAND_UNAVAILABLE +
        Error code indicating that the feature you tried to access is only available internally for + testing purposes.
        +
        static intCONNECTION_FAILED +
        Error code indicating the connection to the Parse servers failed.
        +
        static intDUPLICATE_VALUE +
        Error code indicating that a unique field was given a value that is already taken.
        +
        static intEMAIL_MISSING +
        Error code indicating that the email is missing, but must be specified.
        +
        static intEMAIL_NOT_FOUND +
        Error code indicating that a user with the specified email was not found.
        +
        static intEMAIL_TAKEN +
        Error code indicating that the email has already been taken.
        +
        static intEXCEEDED_QUOTA +
        Error code indicating that an application quota was exceeded.
        +
        static intFILE_DELETE_ERROR +
        Error code indicating that deleting a file failed.
        +
        static intINCORRECT_TYPE +
        Error code indicating that a field was set to an inconsistent type.
        +
        static intINTERNAL_SERVER_ERROR +
        Error code indicating that something has gone wrong with the server.
        +
        static intINVALID_ACL +
        Error code indicating an invalid ACL was provided.
        +
        static intINVALID_CHANNEL_NAME +
        Error code indicating an invalid channel name.
        +
        static intINVALID_CLASS_NAME +
        Error code indicating a missing or invalid classname.
        +
        static intINVALID_EMAIL_ADDRESS +
        Error code indicating that the email address was invalid.
        +
        static intINVALID_EVENT_NAME +
        Error code indicating that the provided event name is invalid.
        +
        static intINVALID_FILE_NAME +
        Error code indicating that an invalid filename was used for ParseFile.
        +
        static intINVALID_JSON +
        Error code indicating that badly formed JSON was received upstream.
        +
        static intINVALID_KEY_NAME +
        Error code indicating an invalid key name.
        +
        static intINVALID_LINKED_SESSION +
        Error code indicating that a user with a linked (e.g.
        +
        static intINVALID_NESTED_KEY +
        Error code indicating that an invalid key was used in a nested JSONObject.
        +
        static intINVALID_POINTER +
        Error code indicating a malformed pointer.
        +
        static intINVALID_QUERY +
        Error code indicating you tried to query with a datatype that doesn't support it, like exact + matching an array or object.
        +
        static intINVALID_ROLE_NAME +
        Error code indicating that a role's name is invalid.
        +
        static intINVALID_SESSION_TOKEN +
        Error code indicating that the current session token is invalid.
        +
        static intLINKED_ID_MISSING +
        Error code indicating that a user cannot be linked to an account because that account's id + could not be found.
        +
        static intMISSING_OBJECT_ID +
        Error code indicating an unspecified object id.
        +
        static intMUST_CREATE_USER_THROUGH_SIGNUP +
        Error code indicating that a user can only be created through signup.
        +
        static intNOT_INITIALIZED +
        You must call Parse.initialize before using the Parse library.
        +
        static intOBJECT_NOT_FOUND +
        Error code indicating the specified object doesn't exist.
        +
        static intOBJECT_TOO_LARGE +
        Error code indicating that the object is too large.
        +
        static intOPERATION_FORBIDDEN +
        Error code indicating that the operation isn't allowed for clients.
        +
        static intOTHER_CAUSE 
        static intPASSWORD_MISSING +
        Error code indicating that the password is missing or empty.
        +
        static intPUSH_MISCONFIGURED +
        Error code indicating that push is misconfigured.
        +
        static intREQUEST_LIMIT_EXCEEDED +
        Error code indicating that the application has exceeded its request limit.
        +
        static intSCRIPT_ERROR +
        Error code indicating that a Cloud Code script failed.
        +
        static intSESSION_MISSING +
        Error code indicating that a user object without a valid session could not be altered.
        +
        static intTIMEOUT +
        Error code indicating that the request timed out on the server.
        +
        static intUNSUPPORTED_SERVICE +
        Error code indicating that a service being linked (e.g.
        +
        static intUSERNAME_MISSING +
        Error code indicating that the username is missing or empty.
        +
        static intUSERNAME_TAKEN +
        Error code indicating that the username has already been taken.
        +
        static intVALIDATION_ERROR +
        Error code indicating that cloud code validation failed.
        +
        +
      • +
      + +
        +
      • + + +

        Constructor Summary

        + + + + + + + + + + + + + + +
        Constructors 
        Constructor and Description
        ParseException(int theCode, + String theMessage) +
        Construct a new ParseException with a particular error code.
        +
        ParseException(int theCode, + String message, + Throwable cause) +
        Construct a new ParseException with an external cause.
        +
        ParseException(Throwable cause) +
        Construct a new ParseException with an external cause.
        +
        +
      • +
      + + +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Field Detail

        + + + + + + + +
          +
        • +

          INTERNAL_SERVER_ERROR

          +
          public static final int INTERNAL_SERVER_ERROR
          +
          Error code indicating that something has gone wrong with the server. If you get this error + code, it is Parse's fault. Contact us at https://parse.com/help
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          CONNECTION_FAILED

          +
          public static final int CONNECTION_FAILED
          +
          Error code indicating the connection to the Parse servers failed.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          OBJECT_NOT_FOUND

          +
          public static final int OBJECT_NOT_FOUND
          +
          Error code indicating the specified object doesn't exist.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          INVALID_QUERY

          +
          public static final int INVALID_QUERY
          +
          Error code indicating you tried to query with a datatype that doesn't support it, like exact + matching an array or object.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          INVALID_CLASS_NAME

          +
          public static final int INVALID_CLASS_NAME
          +
          Error code indicating a missing or invalid classname. Classnames are case-sensitive. They must + start with a letter, and a-zA-Z0-9_ are the only valid characters.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          MISSING_OBJECT_ID

          +
          public static final int MISSING_OBJECT_ID
          +
          Error code indicating an unspecified object id.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          INVALID_KEY_NAME

          +
          public static final int INVALID_KEY_NAME
          +
          Error code indicating an invalid key name. Keys are case-sensitive. They must start with a + letter, and a-zA-Z0-9_ are the only valid characters.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          INVALID_POINTER

          +
          public static final int INVALID_POINTER
          +
          Error code indicating a malformed pointer. You should not see this unless you have been mucking + about changing internal Parse code.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          INVALID_JSON

          +
          public static final int INVALID_JSON
          +
          Error code indicating that badly formed JSON was received upstream. This either indicates you + have done something unusual with modifying how things encode to JSON, or the network is failing + badly.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          COMMAND_UNAVAILABLE

          +
          public static final int COMMAND_UNAVAILABLE
          +
          Error code indicating that the feature you tried to access is only available internally for + testing purposes.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          NOT_INITIALIZED

          +
          public static final int NOT_INITIALIZED
          +
          You must call Parse.initialize before using the Parse library.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          INCORRECT_TYPE

          +
          public static final int INCORRECT_TYPE
          +
          Error code indicating that a field was set to an inconsistent type.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          INVALID_CHANNEL_NAME

          +
          public static final int INVALID_CHANNEL_NAME
          +
          Error code indicating an invalid channel name. A channel name is either an empty string (the + broadcast channel) or contains only a-zA-Z0-9_ characters and starts with a letter.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          PUSH_MISCONFIGURED

          +
          public static final int PUSH_MISCONFIGURED
          +
          Error code indicating that push is misconfigured.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          OBJECT_TOO_LARGE

          +
          public static final int OBJECT_TOO_LARGE
          +
          Error code indicating that the object is too large.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          OPERATION_FORBIDDEN

          +
          public static final int OPERATION_FORBIDDEN
          +
          Error code indicating that the operation isn't allowed for clients.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          CACHE_MISS

          +
          public static final int CACHE_MISS
          +
          Error code indicating the result was not found in the cache.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          INVALID_NESTED_KEY

          +
          public static final int INVALID_NESTED_KEY
          +
          Error code indicating that an invalid key was used in a nested JSONObject.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          INVALID_FILE_NAME

          +
          public static final int INVALID_FILE_NAME
          +
          Error code indicating that an invalid filename was used for ParseFile. A valid file name + contains only a-zA-Z0-9_. characters and is between 1 and 128 characters.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          INVALID_ACL

          +
          public static final int INVALID_ACL
          +
          Error code indicating an invalid ACL was provided.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          TIMEOUT

          +
          public static final int TIMEOUT
          +
          Error code indicating that the request timed out on the server. Typically this indicates that + the request is too expensive to run.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          INVALID_EMAIL_ADDRESS

          +
          public static final int INVALID_EMAIL_ADDRESS
          +
          Error code indicating that the email address was invalid.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          DUPLICATE_VALUE

          +
          public static final int DUPLICATE_VALUE
          +
          Error code indicating that a unique field was given a value that is already taken.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          INVALID_ROLE_NAME

          +
          public static final int INVALID_ROLE_NAME
          +
          Error code indicating that a role's name is invalid.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          EXCEEDED_QUOTA

          +
          public static final int EXCEEDED_QUOTA
          +
          Error code indicating that an application quota was exceeded. Upgrade to resolve.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          SCRIPT_ERROR

          +
          public static final int SCRIPT_ERROR
          +
          Error code indicating that a Cloud Code script failed.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          VALIDATION_ERROR

          +
          public static final int VALIDATION_ERROR
          +
          Error code indicating that cloud code validation failed.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          FILE_DELETE_ERROR

          +
          public static final int FILE_DELETE_ERROR
          +
          Error code indicating that deleting a file failed.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          REQUEST_LIMIT_EXCEEDED

          +
          public static final int REQUEST_LIMIT_EXCEEDED
          +
          Error code indicating that the application has exceeded its request limit.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          INVALID_EVENT_NAME

          +
          public static final int INVALID_EVENT_NAME
          +
          Error code indicating that the provided event name is invalid.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          USERNAME_MISSING

          +
          public static final int USERNAME_MISSING
          +
          Error code indicating that the username is missing or empty.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          PASSWORD_MISSING

          +
          public static final int PASSWORD_MISSING
          +
          Error code indicating that the password is missing or empty.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          USERNAME_TAKEN

          +
          public static final int USERNAME_TAKEN
          +
          Error code indicating that the username has already been taken.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          EMAIL_TAKEN

          +
          public static final int EMAIL_TAKEN
          +
          Error code indicating that the email has already been taken.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          EMAIL_MISSING

          +
          public static final int EMAIL_MISSING
          +
          Error code indicating that the email is missing, but must be specified.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          EMAIL_NOT_FOUND

          +
          public static final int EMAIL_NOT_FOUND
          +
          Error code indicating that a user with the specified email was not found.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          SESSION_MISSING

          +
          public static final int SESSION_MISSING
          +
          Error code indicating that a user object without a valid session could not be altered.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          MUST_CREATE_USER_THROUGH_SIGNUP

          +
          public static final int MUST_CREATE_USER_THROUGH_SIGNUP
          +
          Error code indicating that a user can only be created through signup.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          ACCOUNT_ALREADY_LINKED

          +
          public static final int ACCOUNT_ALREADY_LINKED
          +
          Error code indicating that an an account being linked is already linked to another user.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          INVALID_SESSION_TOKEN

          +
          public static final int INVALID_SESSION_TOKEN
          +
          Error code indicating that the current session token is invalid.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          LINKED_ID_MISSING

          +
          public static final int LINKED_ID_MISSING
          +
          Error code indicating that a user cannot be linked to an account because that account's id + could not be found.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          INVALID_LINKED_SESSION

          +
          public static final int INVALID_LINKED_SESSION
          +
          Error code indicating that a user with a linked (e.g. Facebook) account has an invalid session.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          UNSUPPORTED_SERVICE

          +
          public static final int UNSUPPORTED_SERVICE
          +
          Error code indicating that a service being linked (e.g. Facebook or Twitter) is unsupported.
          +
          See Also:
          Constant Field Values
          +
        • +
        +
      • +
      + +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          ParseException

          +
          public ParseException(int theCode,
          +              String theMessage)
          +
          Construct a new ParseException with a particular error code.
          +
          Parameters:
          theCode - The error code to identify the type of exception.
          theMessage - A message describing the error in more detail.
          +
        • +
        + + + +
          +
        • +

          ParseException

          +
          public ParseException(int theCode,
          +              String message,
          +              Throwable cause)
          +
          Construct a new ParseException with an external cause.
          +
          Parameters:
          message - A message describing the error in more detail.
          cause - The cause of the error.
          +
        • +
        + + + +
          +
        • +

          ParseException

          +
          public ParseException(Throwable cause)
          +
          Construct a new ParseException with an external cause.
          +
          Parameters:
          cause - The cause of the error.
          +
        • +
        +
      • +
      + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          getCode

          +
          public int getCode()
          +
          Access the code for this error.
          +
          Returns:
          The numerical code for this error.
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseFile.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseFile.html new file mode 100644 index 00000000..038a7c53 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseFile.html @@ -0,0 +1,594 @@ + + + + +ParseFile + + + + + + + + + + +
    +
    com.parse
    +

    Class ParseFile

    +
    +
    +
      +
    • Object
    • +
    • +
        +
      • com.parse.ParseFile
      • +
      +
    • +
    +
    +
      +
    • +
      +
      +
      public class ParseFile
      +extends Object
      +
      ParseFile is a local representation of a file that is saved to the Parse cloud. +

      + The workflow is to construct a ParseFile with data and optionally a filename. Then save + it and set it as a field on a ParseObject. +

      + Example: +

      + ParseFile file = new ParseFile("hello".getBytes());
      + file.save();
      +
      + ParseObject object = new ParseObject("TestObject");
      + object.put("file", file);
      + object.save();
      + 
      +
    • +
    +
    +
    + +
    +
    +
      +
    • + +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          ParseFile

          +
          public ParseFile(String name,
          +         byte[] data,
          +         String contentType)
          +
          Creates a new file from a byte array, file name, and content type. Content type will be used + instead of auto-detection by file extension.
          +
          Parameters:
          name - The file's name, ideally with extension. The file name must begin with an alphanumeric + character, and consist of alphanumeric characters, periods, spaces, underscores, or + dashes.
          data - The file's data.
          contentType - The file's content type.
          +
        • +
        + + + +
          +
        • +

          ParseFile

          +
          public ParseFile(byte[] data)
          +
          Creates a new file from a byte array.
          +
          Parameters:
          data - The file's data.
          +
        • +
        + + + +
          +
        • +

          ParseFile

          +
          public ParseFile(String name,
          +         byte[] data)
          +
          Creates a new file from a byte array and a name. Giving a name with a proper file extension + (e.g. ".png") is ideal because it allows Parse to deduce the content type of the file and set + appropriate HTTP headers when it is fetched.
          +
          Parameters:
          name - The file's name, ideally with extension. The file name must begin with an alphanumeric + character, and consist of alphanumeric characters, periods, spaces, underscores, or + dashes.
          data - The file's data.
          +
        • +
        + + + +
          +
        • +

          ParseFile

          +
          public ParseFile(byte[] data,
          +         String contentType)
          +
          Creates a new file from a byte array, and content type. Content type will be used instead of + auto-detection by file extension.
          +
          Parameters:
          data - The file's data.
          contentType - The file's content type.
          +
        • +
        +
      • +
      + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          getName

          +
          public String getName()
          +
          The filename. Before save is called, this is just the filename given by the user (if any). + After save is called, that name gets prefixed with a unique identifier.
          +
          Returns:
          The file's name.
          +
        • +
        + + + +
          +
        • +

          isDirty

          +
          public boolean isDirty()
          +
          Whether the file still needs to be saved.
          +
          Returns:
          Whether the file needs to be saved.
          +
        • +
        + + + +
          +
        • +

          isDataAvailable

          +
          public boolean isDataAvailable()
          +
          Whether the file has available data.
          +
        • +
        + + + +
          +
        • +

          getUrl

          +
          public String getUrl()
          +
          This returns the url of the file. It's only available after you save or after you get the file + from a ParseObject.
          +
          Returns:
          The url of the file.
          +
        • +
        + + + + + + + +
          +
        • +

          saveInBackground

          +
          public Task<Void> saveInBackground(ProgressCallback uploadProgressCallback)
          +
          Saves the file to the Parse cloud in a background thread. + `progressCallback` is guaranteed to be called with 100 before saveCallback is called.
          +
          Parameters:
          uploadProgressCallback - A ProgressCallback that is called periodically with progress updates.
          +
          Returns:
          A Task that will be resolved when the save completes.
          +
        • +
        + + + +
          +
        • +

          saveInBackground

          +
          public Task<Void> saveInBackground()
          +
          Saves the file to the Parse cloud in a background thread.
          +
          Returns:
          A Task that will be resolved when the save completes.
          +
        • +
        + + + +
          +
        • +

          saveInBackground

          +
          public void saveInBackground(SaveCallback saveCallback,
          +                    ProgressCallback progressCallback)
          +
          Saves the file to the Parse cloud in a background thread. + `progressCallback` is guaranteed to be called with 100 before saveCallback is called.
          +
          Parameters:
          saveCallback - A SaveCallback that gets called when the save completes.
          progressCallback - A ProgressCallback that is called periodically with progress updates.
          +
        • +
        + + + +
          +
        • +

          saveInBackground

          +
          public void saveInBackground(SaveCallback callback)
          +
          Saves the file to the Parse cloud in a background thread.
          +
          Parameters:
          callback - A SaveCallback that gets called when the save completes.
          +
        • +
        + + + + + + + +
          +
        • +

          getDataInBackground

          +
          public Task<byte[]> getDataInBackground(ProgressCallback progressCallback)
          +
          Gets the data for this object in a background thread. `progressCallback` is guaranteed to be + called with 100 before dataCallback is called.
          +
          Parameters:
          progressCallback - A ProgressCallback that is called periodically with progress updates.
          +
          Returns:
          A Task that is resolved when the data has been fetched.
          +
        • +
        + + + +
          +
        • +

          getDataInBackground

          +
          public Task<byte[]> getDataInBackground()
          +
          Gets the data for this object in a background thread. `progressCallback` is guaranteed to be + called with 100 before dataCallback is called.
          +
          Returns:
          A Task that is resolved when the data has been fetched.
          +
        • +
        + + + +
          +
        • +

          getDataInBackground

          +
          public void getDataInBackground(GetDataCallback dataCallback,
          +                       ProgressCallback progressCallback)
          +
          Gets the data for this object in a background thread. `progressCallback` is guaranteed to be + called with 100 before dataCallback is called.
          +
          Parameters:
          dataCallback - A GetDataCallback that is called when the get completes.
          progressCallback - A ProgressCallback that is called periodically with progress updates.
          +
        • +
        + + + +
          +
        • +

          getDataInBackground

          +
          public void getDataInBackground(GetDataCallback dataCallback)
          +
          Gets the data for this object in a background thread.
          +
          Parameters:
          dataCallback - A GetDataCallback that is called when the get completes.
          +
        • +
        + + + +
          +
        • +

          cancel

          +
          public void cancel()
          +
          Cancels the current network request and callbacks whether it's uploading or fetching data from + the server.
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseGeoPoint.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseGeoPoint.html new file mode 100644 index 00000000..f6ab4c35 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseGeoPoint.html @@ -0,0 +1,520 @@ + + + + +ParseGeoPoint + + + + + + + + + + +
    +
    com.parse
    +

    Class ParseGeoPoint

    +
    +
    +
      +
    • Object
    • +
    • +
        +
      • com.parse.ParseGeoPoint
      • +
      +
    • +
    +
    +
      +
    • +
      +
      +
      public class ParseGeoPoint
      +extends Object
      +
      ParseGeoPoint represents a latitude / longitude point that may be associated with a key + in a ParseObject or used as a reference point for geo queries. This allows proximity + based queries on the key. +

      + Only one key in a class may contain a ParseGeoPoint. +

      + Example: +

      + ParseGeoPoint point = new ParseGeoPoint(30.0, -20.0);
      + ParseObject object = new ParseObject("PlaceObject");
      + object.put("location", point);
      + object.save();
      + 
      +
    • +
    +
    +
    + +
    +
    +
      +
    • + +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          ParseGeoPoint

          +
          public ParseGeoPoint()
          +
          Creates a new default point with latitude and longitude set to 0.0.
          +
        • +
        + + + +
          +
        • +

          ParseGeoPoint

          +
          public ParseGeoPoint(double latitude,
          +             double longitude)
          +
          Creates a new point with the specified latitude and longitude.
          +
          Parameters:
          latitude - The point's latitude.
          longitude - The point's longitude.
          +
        • +
        +
      • +
      + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          setLatitude

          +
          public void setLatitude(double latitude)
          +
          Set latitude. Valid range is (-90.0, 90.0). Extremes should not be used.
          +
          Parameters:
          latitude - The point's latitude.
          +
        • +
        + + + +
          +
        • +

          getLatitude

          +
          public double getLatitude()
          +
          Get latitude.
          +
        • +
        + + + +
          +
        • +

          setLongitude

          +
          public void setLongitude(double longitude)
          +
          Set longitude. Valid range is (-180.0, 180.0). Extremes should not be used.
          +
          Parameters:
          longitude - The point's longitude.
          +
        • +
        + + + +
          +
        • +

          getLongitude

          +
          public double getLongitude()
          +
          Get longitude.
          +
        • +
        + + + +
          +
        • +

          distanceInRadiansTo

          +
          public double distanceInRadiansTo(ParseGeoPoint point)
          +
          Get distance in radians between this point and another ParseGeoPoint. This is the + smallest angular distance between the two points.
          +
          Parameters:
          point - ParseGeoPoint describing the other point being measured against.
          +
        • +
        + + + +
          +
        • +

          distanceInKilometersTo

          +
          public double distanceInKilometersTo(ParseGeoPoint point)
          +
          Get distance between this point and another ParseGeoPoint in kilometers.
          +
          Parameters:
          point - ParseGeoPoint describing the other point being measured against.
          +
        • +
        + + + +
          +
        • +

          distanceInMilesTo

          +
          public double distanceInMilesTo(ParseGeoPoint point)
          +
          Get distance between this point and another ParseGeoPoint in kilometers.
          +
          Parameters:
          point - ParseGeoPoint describing the other point being measured against.
          +
        • +
        + + + + + + + + + + + + + + + + + + + + +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseImageView.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseImageView.html new file mode 100644 index 00000000..68fa45dc --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseImageView.html @@ -0,0 +1,473 @@ + + + + +ParseImageView + + + + + + + + + + +
    +
    com.parse
    +

    Class ParseImageView

    +
    +
    + +
    +
      +
    • +
      +
      All Implemented Interfaces:
      +
      Drawable.Callback, AccessibilityEventSource, KeyEvent.Callback
      +
      +
      +
      +
      public class ParseImageView
      +extends ImageView
      +
      A specialized ImageView that downloads and displays remote images stored on Parse's + servers. +

      + Given a ParseFile storing an image, a ParseImageView works seamlessly to fetch + the file data and display it in the background. See below for an example: + +

      + ParseImageView imageView = (ParseImageView) findViewById(android.R.id.icon);
      + // The placeholder will be used before and during the fetch, to be replaced by the fetched image
      + // data.
      + imageView.setPlaceholder(getResources().getDrawable(R.drawable.placeholder));
      + imageView.setParseFile(file);
      + imageView.loadInBackground(new GetDataCallback() {
      +   @Override
      +   public void done(byte[] data, ParseException e) {
      +     Log.i("ParseImageView",
      +         "Fetched! Data length: " + data.length + ", or exception: " + e.getMessage());
      +   }
      + });
      + 
      +
    • +
    +
    +
    + +
    +
    +
      +
    • + +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          ParseImageView

          +
          public ParseImageView(Context context)
          +
          Simple constructor to use when creating a ParseImageView from code.
          +
          Parameters:
          context - Context for this View
          +
        • +
        + + + +
          +
        • +

          ParseImageView

          +
          public ParseImageView(Context context,
          +              AttributeSet attributeSet)
          +
          Constructor that is called when inflating a ParseImageView from XML.
          +
          Parameters:
          context - Context for this View
          attributeSet - AttributeSet defined for this View in XML
          +
        • +
        + + + +
          +
        • +

          ParseImageView

          +
          public ParseImageView(Context context,
          +              AttributeSet attributeSet,
          +              int defStyle)
          +
          Perform inflation from XML and apply a class-specific base style.
          +
          Parameters:
          context - Context for this View
          attributeSet - AttributeSet defined for this View in XML
          defStyle - Class-specific base style.
          +
        • +
        +
      • +
      + +
        +
      • + + +

        Method Detail

        + + + + + + + + + + + +
          +
        • +

          setPlaceholder

          +
          public void setPlaceholder(Drawable placeholder)
          +
          Sets the placeholder to be used while waiting for an image to be loaded.
          +
          Parameters:
          placeholder - A Drawable to be displayed while the remote image data is being fetched. This + value can be null, and this ImageView will simply be blank while data is + fetched.
          +
        • +
        + + + +
          +
        • +

          setParseFile

          +
          public void setParseFile(ParseFile file)
          +
          Sets the remote file on Parse's server that stores the image.
          +
          Parameters:
          file - The remote file on Parse's server.
          +
        • +
        + + + +
          +
        • +

          loadInBackground

          +
          public Task<byte[]> loadInBackground()
          +
          Kick off downloading of remote image. When the download is finished, the image data will be + displayed.
          +
          Returns:
          A Task that is resolved when the image data is fetched and this View displays the image.
          +
        • +
        + + + +
          +
        • +

          loadInBackground

          +
          public void loadInBackground(GetDataCallback completionCallback)
          +
          Kick off downloading of remote image. When the download is finished, the image data will be + displayed and the completionCallback will be triggered.
          +
          Parameters:
          completionCallback - A custom GetDataCallback to be called after the image data is fetched and this + ImageView displays the image.
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseInstallation.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseInstallation.html new file mode 100644 index 00000000..2b2623ab --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseInstallation.html @@ -0,0 +1,325 @@ + + + + +ParseInstallation + + + + + + + + + + +
    +
    com.parse
    +

    Class ParseInstallation

    +
    +
    + +
    +
      +
    • +
      +
      +
      public class ParseInstallation
      +extends ParseObject
      +
      The ParseInstallation is a local representation of installation data that can be saved + and retrieved from the Parse cloud.
      +
    • +
    +
    +
    + +
    +
    +
      +
    • + +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          ParseInstallation

          +
          public ParseInstallation()
          +
        • +
        +
      • +
      + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          getCurrentInstallation

          +
          public static ParseInstallation getCurrentInstallation()
          +
        • +
        + + + +
          +
        • +

          getQuery

          +
          public static ParseQuery<ParseInstallation> getQuery()
          +
          Constructs a query for ParseInstallation. +

          + Note: We only allow the following types of queries for installations: +

          + query.get(objectId)
          + query.whereEqualTo("installationId", value)
          + query.whereMatchesKeyInQuery("installationId", keyInQuery, query)
          + 
          +

          + You can add additional query clauses, but one of the above must appear as a top-level + AND clause in the query.

          +
          See Also:
          ParseQuery.getQuery(Class)
          +
        • +
        + + + +
          +
        • +

          getInstallationId

          +
          public String getInstallationId()
          +
          Returns the unique ID of this installation.
          +
          Returns:
          A UUID that represents this device.
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseObject.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseObject.html new file mode 100644 index 00000000..608e0b13 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseObject.html @@ -0,0 +1,2491 @@ + + + + +ParseObject + + + + + + + + + + +
    +
    com.parse
    +

    Class ParseObject

    +
    +
    +
      +
    • Object
    • +
    • +
        +
      • com.parse.ParseObject
      • +
      +
    • +
    +
    + +
    +
    + +
    +
    +
      +
    • + + + +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          ParseObject

          +
          protected ParseObject()
          +
          The base class constructor to call in subclasses. Uses the class name specified with the + ParseClassName annotation on the subclass.
          +
        • +
        + + + +
          +
        • +

          ParseObject

          +
          public ParseObject(String theClassName)
          +
          Constructs a new ParseObject with no data in it. A ParseObject constructed in + this way will not have an objectId and will not persist to the database until ParseObject.save() + is called. +

          + Class names must be alphanumerical plus underscore, and start with a letter. It is recommended + to name classes in PascalCaseLikeThis.

          +
          Parameters:
          theClassName - The className for this ParseObject.
          +
        • +
        +
      • +
      + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          create

          +
          public static ParseObject create(String className)
          +
          Creates a new ParseObject based upon a class name. If the class name is a special type + (e.g. for ParseUser), then the appropriate type of ParseObject is returned.
          +
          Parameters:
          className - The class of object to create.
          +
          Returns:
          A new ParseObject for the given class name.
          +
        • +
        + + + +
          +
        • +

          create

          +
          public static <T extends ParseObject> T create(Class<T> subclass)
          +
          Creates a new ParseObject based upon a subclass type. Note that the object will be + created based upon the ParseClassName of the given subclass type. For example, calling + create(ParseUser.class) may create an instance of a custom subclass of ParseUser.
          +
          Parameters:
          subclass - The class of object to create.
          +
          Returns:
          A new ParseObject based upon the class name of the given subclass type.
          +
        • +
        + + + +
          +
        • +

          createWithoutData

          +
          public static ParseObject createWithoutData(String className,
          +                            String objectId)
          +
          Creates a reference to an existing ParseObject for use in creating associations between + ParseObjects. Calling ParseObject.isDataAvailable() on this object will return + false until ParseObject.fetchIfNeeded() or ParseObject.refresh() has been called. No network + request will be made.
          +
          Parameters:
          className - The object's class.
          objectId - The object id for the referenced object.
          +
          Returns:
          A ParseObject without data.
          +
        • +
        + + + +
          +
        • +

          createWithoutData

          +
          public static <T extends ParseObject> T createWithoutData(Class<T> subclass,
          +                                          String objectId)
          +
          Creates a reference to an existing ParseObject for use in creating associations between + ParseObjects. Calling ParseObject.isDataAvailable() on this object will return + false until ParseObject.fetchIfNeeded() or ParseObject.refresh() has been called. No network + request will be made.
          +
          Parameters:
          subclass - The ParseObject subclass to create.
          objectId - The object id for the referenced object.
          +
          Returns:
          A ParseObject without data.
          +
        • +
        + + + +
          +
        • +

          registerSubclass

          +
          public static void registerSubclass(Class<? extends ParseObject> subclass)
          +
          Registers a custom subclass type with the Parse SDK, enabling strong-typing of those + ParseObjects whenever they appear. Subclasses must specify the ParseClassName + annotation and have a default constructor.
          +
          Parameters:
          subclass - The subclass type to register.
          +
        • +
        + + + +
          +
        • +

          getClassName

          +
          public String getClassName()
          +
          Accessor to the class name.
          +
        • +
        + + + +
          +
        • +

          getUpdatedAt

          +
          public Date getUpdatedAt()
          +
          This reports time as the server sees it, so that if you make changes to a ParseObject, then + wait a while, and then call ParseObject.save(), the updated time will be the time of the + ParseObject.save() call rather than the time the object was changed locally.
          +
          Returns:
          The last time this object was updated on the server.
          +
        • +
        + + + +
          +
        • +

          getCreatedAt

          +
          public Date getCreatedAt()
          +
          This reports time as the server sees it, so that if you create a ParseObject, then wait a + while, and then call ParseObject.save(), the creation time will be the time of the first + ParseObject.save() call rather than the time the object was created locally.
          +
          Returns:
          The first time this object was saved on the server.
          +
        • +
        + + + +
          +
        • +

          keySet

          +
          public Set<String> keySet()
          +
          Returns a set view of the keys contained in this object. This does not include createdAt, + updatedAt, authData, or objectId. It does include things like username and ACL.
          +
        • +
        + + + +
          +
        • +

          isDirty

          +
          public boolean isDirty()
          +
          Whether any key-value pair in this object (or its children) has been added/updated/removed and + not saved yet.
          +
          Returns:
          Whether this object has been altered and not saved yet.
          +
        • +
        + + + +
          +
        • +

          isDirty

          +
          public boolean isDirty(String key)
          +
          Whether a value associated with a key has been added/updated/removed and not saved yet.
          +
          Parameters:
          key - The key to check for
          +
          Returns:
          Whether this key has been altered and not saved yet.
          +
        • +
        + + + +
          +
        • +

          getObjectId

          +
          public String getObjectId()
          +
          Accessor to the object id. An object id is assigned as soon as an object is saved to the + server. The combination of a className and an objectId uniquely identifies an object in your + application.
          +
          Returns:
          The object id.
          +
        • +
        + + + +
          +
        • +

          setObjectId

          +
          public void setObjectId(String newObjectId)
          +
          Setter for the object id. In general you do not need to use this. However, in some cases this + can be convenient. For example, if you are serializing a ParseObject yourself and wish + to recreate it, you can use this to recreate the ParseObject exactly.
          +
        • +
        + + + +
          +
        • +

          save

          +
          public final void save()
          +                throws ParseException
          +
          Saves this object to the server. Typically, you should use ParseObject.saveInBackground() instead of + this, unless you are managing your own threading.
          +
          Throws:
          +
          ParseException - Throws an exception if the server is inaccessible.
          +
        • +
        + + + +
          +
        • +

          saveInBackground

          +
          public final Task<Void> saveInBackground()
          +
          Saves this object to the server in a background thread. This is preferable to using ParseObject.save(), + unless your code is already running from a background thread.
          +
          Returns:
          A Task that is resolved when the save completes.
          +
        • +
        + + + +
          +
        • +

          saveInBackground

          +
          public final void saveInBackground(SaveCallback callback)
          +
          Saves this object to the server in a background thread. This is preferable to using ParseObject.save(), + unless your code is already running from a background thread.
          +
          Parameters:
          callback - callback.done(e) is called when the save completes.
          +
        • +
        + + + +
          +
        • +

          saveEventually

          +
          public final void saveEventually(SaveCallback callback)
          +
          Saves this object to the server at some unspecified time in the future, even if Parse is + currently inaccessible. Use this when you may not have a solid network connection, and don't + need to know when the save completes. If there is some problem with the object such that it + can't be saved, it will be silently discarded. Objects saved with this method will be stored + locally in an on-disk cache until they can be delivered to Parse. They will be sent immediately + if possible. Otherwise, they will be sent the next time a network connection is available. + Objects saved this way will persist even after the app is closed, in which case they will be + sent the next time the app is opened. If more than 10MB of data is waiting to be sent, + subsequent calls to #saveEventually() or ParseObject.deleteEventually() will cause old + saves to be silently discarded until the connection can be re-established, and the queued + objects can be saved.
          +
          Parameters:
          callback - - A callback which will be called if the save completes before the app exits.
          +
        • +
        + + + +
          +
        • +

          saveEventually

          +
          public final Task<Void> saveEventually()
          +
          Saves this object to the server at some unspecified time in the future, even if Parse is + currently inaccessible. Use this when you may not have a solid network connection, and don't + need to know when the save completes. If there is some problem with the object such that it + can't be saved, it will be silently discarded. Objects saved with this method will be stored + locally in an on-disk cache until they can be delivered to Parse. They will be sent immediately + if possible. Otherwise, they will be sent the next time a network connection is available. + Objects saved this way will persist even after the app is closed, in which case they will be + sent the next time the app is opened. If more than 10MB of data is waiting to be sent, + subsequent calls to #saveEventually() or ParseObject.deleteEventually() will cause old + saves to be silently discarded until the connection can be re-established, and the queued + objects can be saved.
          +
          Returns:
          A Task that is resolved when the save completes.
          +
        • +
        + + + +
          +
        • +

          deleteEventually

          +
          public final void deleteEventually(DeleteCallback callback)
          +
          Deletes this object from the server at some unspecified time in the future, even if Parse is + currently inaccessible. Use this when you may not have a solid network connection, and don't + need to know when the delete completes. If there is some problem with the object such that it + can't be deleted, the request will be silently discarded. Delete requests made with this method + will be stored locally in an on-disk cache until they can be transmitted to Parse. They will be + sent immediately if possible. Otherwise, they will be sent the next time a network connection + is available. Delete instructions saved this way will persist even after the app is closed, in + which case they will be sent the next time the app is opened. If more than 10MB of commands are + waiting to be sent, subsequent calls to #deleteEventually() or + ParseObject.saveEventually() will cause old instructions to be silently discarded until the + connection can be re-established, and the queued objects can be saved.
          +
          Parameters:
          callback - - A callback which will be called if the delete completes before the app exits.
          +
        • +
        + + + +
          +
        • +

          deleteEventually

          +
          public final Task<Void> deleteEventually()
          +
          Deletes this object from the server at some unspecified time in the future, even if Parse is + currently inaccessible. Use this when you may not have a solid network connection, and don't + need to know when the delete completes. If there is some problem with the object such that it + can't be deleted, the request will be silently discarded. Delete requests made with this method + will be stored locally in an on-disk cache until they can be transmitted to Parse. They will be + sent immediately if possible. Otherwise, they will be sent the next time a network connection + is available. Delete instructions saved this way will persist even after the app is closed, in + which case they will be sent the next time the app is opened. If more than 10MB of commands are + waiting to be sent, subsequent calls to #deleteEventually() or + ParseObject.saveEventually() will cause old instructions to be silently discarded until the + connection can be re-established, and the queued objects can be saved.
          +
          Returns:
          A Task that is resolved when the delete completes.
          +
        • +
        + + + +
          +
        • +

          refresh

          +
          @Deprecated
          +public final void refresh()
          +                   throws ParseException
          +
          Deprecated. Please use ParseObject.fetch() instead.
          +
          Refreshes this object with the data from the server. Call this whenever you want the state of + the object to reflect exactly what is on the server.
          +
          Throws:
          +
          ParseException - Throws an exception if the server is inaccessible.
          +
        • +
        + + + +
          +
        • +

          refreshInBackground

          +
          @Deprecated
          +public final void refreshInBackground(RefreshCallback callback)
          +
          Deprecated. Please use ParseObject.fetchInBackground(GetCallback) instead.
          +
          Refreshes this object with the data from the server in a background thread. This is preferable + to using refresh(), unless your code is already running from a background thread.
          +
          Parameters:
          callback - callback.done(object, e) is called when the refresh completes.
          +
        • +
        + + + +
          +
        • +

          fetch

          +
          public <T extends ParseObject> T fetch()
          +                            throws ParseException
          +
          Fetches this object with the data from the server. Call this whenever you want the state of the + object to reflect exactly what is on the server.
          +
          Returns:
          The ParseObject that was fetched.
          +
          Throws:
          +
          ParseException - Throws an exception if the server is inaccessible.
          +
        • +
        + + + +
          +
        • +

          fetchInBackground

          +
          public final <T extends ParseObjectTask<T> fetchInBackground()
          +
          Fetches this object with the data from the server in a background thread. This is preferable to + using fetch(), unless your code is already running from a background thread.
          +
          Returns:
          A Task that is resolved when fetch completes.
          +
        • +
        + + + +
          +
        • +

          fetchInBackground

          +
          public final <T extends ParseObject> void fetchInBackground(GetCallback<T> callback)
          +
          Fetches this object with the data from the server in a background thread. This is preferable to + using fetch(), unless your code is already running from a background thread.
          +
          Parameters:
          callback - callback.done(object, e) is called when the fetch completes.
          +
        • +
        + + + +
          +
        • +

          fetchIfNeededInBackground

          +
          public final <T extends ParseObjectTask<T> fetchIfNeededInBackground()
          +
          If this ParseObject has not been fetched (i.e. ParseObject.isDataAvailable() returns false), + fetches this object with the data from the server in a background thread. This is preferable to + using ParseObject.fetchIfNeeded(), unless your code is already running from a background thread.
          +
          Returns:
          A Task that is resolved when fetch completes.
          +
        • +
        + + + +
          +
        • +

          fetchIfNeeded

          +
          public <T extends ParseObject> T fetchIfNeeded()
          +                                    throws ParseException
          +
          If this ParseObject has not been fetched (i.e. ParseObject.isDataAvailable() returns false), + fetches this object with the data from the server.
          +
          Returns:
          The fetched ParseObject.
          +
          Throws:
          +
          ParseException - Throws an exception if the server is inaccessible.
          +
        • +
        + + + +
          +
        • +

          fetchIfNeededInBackground

          +
          public final <T extends ParseObject> void fetchIfNeededInBackground(GetCallback<T> callback)
          +
          If this ParseObject has not been fetched (i.e. ParseObject.isDataAvailable() returns false), + fetches this object with the data from the server in a background thread. This is preferable to + using ParseObject.fetchIfNeeded(), unless your code is already running from a background thread.
          +
          Parameters:
          callback - callback.done(object, e) is called when the fetch completes.
          +
        • +
        + + + +
          +
        • +

          deleteInBackground

          +
          public final Task<Void> deleteInBackground()
          +
          Deletes this object on the server in a background thread. This is preferable to using + ParseObject.delete(), unless your code is already running from a background thread.
          +
          Returns:
          A Task that is resolved when delete completes.
          +
        • +
        + + + +
          +
        • +

          delete

          +
          public final void delete()
          +                  throws ParseException
          +
          Deletes this object on the server. This does not delete or destroy the object locally.
          +
          Throws:
          +
          ParseException - Throws an error if the object does not exist or if the internet fails.
          +
        • +
        + + + +
          +
        • +

          deleteInBackground

          +
          public final void deleteInBackground(DeleteCallback callback)
          +
          Deletes this object on the server in a background thread. This is preferable to using + ParseObject.delete(), unless your code is already running from a background thread.
          +
          Parameters:
          callback - callback.done(e) is called when the save completes.
          +
        • +
        + + + +
          +
        • +

          deleteAll

          +
          public static <T extends ParseObject> void deleteAll(List<T> objects)
          +                      throws ParseException
          +
          Deletes each object in the provided list. This is faster than deleting each object individually + because it batches the requests.
          +
          Parameters:
          objects - The objects to delete.
          +
          Throws:
          +
          ParseException - Throws an exception if the server returns an error or is inaccessible.
          +
        • +
        + + + +
          +
        • +

          deleteAllInBackground

          +
          public static <T extends ParseObject> void deleteAllInBackground(List<T> objects,
          +                                                 DeleteCallback callback)
          +
          Deletes each object in the provided list. This is faster than deleting each object individually + because it batches the requests.
          +
          Parameters:
          objects - The objects to delete.
          callback - The callback method to execute when completed.
          +
        • +
        + + + +
          +
        • +

          deleteAllInBackground

          +
          public static <T extends ParseObjectTask<Void> deleteAllInBackground(List<T> objects)
          +
          Deletes each object in the provided list. This is faster than deleting each object individually + because it batches the requests.
          +
          Parameters:
          objects - The objects to delete.
          +
          Returns:
          A Task that is resolved when deleteAll completes.
          +
        • +
        + + + +
          +
        • +

          saveAll

          +
          public static <T extends ParseObject> void saveAll(List<T> objects)
          +                    throws ParseException
          +
          Saves each object in the provided list. This is faster than saving each object individually + because it batches the requests.
          +
          Parameters:
          objects - The objects to save.
          +
          Throws:
          +
          ParseException - Throws an exception if the server returns an error or is inaccessible.
          +
        • +
        + + + +
          +
        • +

          saveAllInBackground

          +
          public static <T extends ParseObject> void saveAllInBackground(List<T> objects,
          +                                               SaveCallback callback)
          +
          Saves each object in the provided list to the server in a background thread. This is preferable + to using saveAll, unless your code is already running from a background thread.
          +
          Parameters:
          objects - The objects to save.
          callback - callback.done(e) is called when the save completes.
          +
        • +
        + + + +
          +
        • +

          saveAllInBackground

          +
          public static <T extends ParseObjectTask<Void> saveAllInBackground(List<T> objects)
          +
          Saves each object in the provided list to the server in a background thread. This is preferable + to using saveAll, unless your code is already running from a background thread.
          +
          Parameters:
          objects - The objects to save.
          +
          Returns:
          A Task that is resolved when saveAll completes.
          +
        • +
        + + + +
          +
        • +

          fetchAllIfNeededInBackground

          +
          public static <T extends ParseObjectTask<List<T>> fetchAllIfNeededInBackground(List<T> objects)
          +
          Fetches all the objects that don't have data in the provided list in the background.
          +
          Parameters:
          objects - The list of objects to fetch.
          +
          Returns:
          A Task that is resolved when fetchAllIfNeeded completes.
          +
        • +
        + + + +
          +
        • +

          fetchAllIfNeeded

          +
          public static <T extends ParseObjectList<T> fetchAllIfNeeded(List<T> objects)
          +                                                    throws ParseException
          +
          Fetches all the objects that don't have data in the provided list.
          +
          Parameters:
          objects - The list of objects to fetch.
          +
          Returns:
          The list passed in for convenience.
          +
          Throws:
          +
          ParseException - Throws an exception if the server returns an error or is inaccessible.
          +
        • +
        + + + +
          +
        • +

          fetchAllIfNeededInBackground

          +
          public static <T extends ParseObject> void fetchAllIfNeededInBackground(List<T> objects,
          +                                                        FindCallback<T> callback)
          +
          Fetches all the objects that don't have data in the provided list in the background.
          +
          Parameters:
          objects - The list of objects to fetch.
          callback - callback.done(result, e) is called when the fetch completes.
          +
        • +
        + + + +
          +
        • +

          fetchAllInBackground

          +
          public static <T extends ParseObjectTask<List<T>> fetchAllInBackground(List<T> objects)
          +
          Fetches all the objects in the provided list in the background.
          +
          Parameters:
          objects - The list of objects to fetch.
          +
          Returns:
          A Task that is resolved when fetch completes.
          +
        • +
        + + + +
          +
        • +

          fetchAll

          +
          public static <T extends ParseObjectList<T> fetchAll(List<T> objects)
          +                                            throws ParseException
          +
          Fetches all the objects in the provided list.
          +
          Parameters:
          objects - The list of objects to fetch.
          +
          Returns:
          The list passed in.
          +
          Throws:
          +
          ParseException - Throws an exception if the server returns an error or is inaccessible.
          +
        • +
        + + + +
          +
        • +

          fetchAllInBackground

          +
          public static <T extends ParseObject> void fetchAllInBackground(List<T> objects,
          +                                                FindCallback<T> callback)
          +
          Fetches all the objects in the provided list in the background.
          +
          Parameters:
          objects - The list of objects to fetch.
          callback - callback.done(result, e) is called when the fetch completes.
          +
        • +
        + + + +
          +
        • +

          put

          +
          public void put(String key,
          +       Object value)
          +
          Add a key-value pair to this object. It is recommended to name keys in + camelCaseLikeThis.
          +
          Parameters:
          key - Keys must be alphanumerical plus underscore, and start with a letter.
          value - Values may be numerical, String, JSONObject, JSONArray, + JSONObject.NULL, or other ParseObjects. value may not be null.
          +
        • +
        + + + +
          +
        • +

          has

          +
          public boolean has(String key)
          +
          Whether this object has a particular key. Same as ParseObject.containsKey(String).
          +
          Parameters:
          key - The key to check for
          +
          Returns:
          Whether this object contains the key
          +
        • +
        + + + +
          +
        • +

          increment

          +
          public void increment(String key)
          +
          Atomically increments the given key by 1.
          +
          Parameters:
          key - The key to increment.
          +
        • +
        + + + +
          +
        • +

          increment

          +
          public void increment(String key,
          +             Number amount)
          +
          Atomically increments the given key by the given number.
          +
          Parameters:
          key - The key to increment.
          amount - The amount to increment by.
          +
        • +
        + + + +
          +
        • +

          add

          +
          public void add(String key,
          +       Object value)
          +
          Atomically adds an object to the end of the array associated with a given key.
          +
          Parameters:
          key - The key.
          value - The object to add.
          +
        • +
        + + + +
          +
        • +

          addAll

          +
          public void addAll(String key,
          +          Collection<?> values)
          +
          Atomically adds the objects contained in a Collection to the end of the array + associated with a given key.
          +
          Parameters:
          key - The key.
          values - The objects to add.
          +
        • +
        + + + +
          +
        • +

          addUnique

          +
          public void addUnique(String key,
          +             Object value)
          +
          Atomically adds an object to the array associated with a given key, only if it is not already + present in the array. The position of the insert is not guaranteed.
          +
          Parameters:
          key - The key.
          value - The object to add.
          +
        • +
        + + + +
          +
        • +

          addAllUnique

          +
          public void addAllUnique(String key,
          +                Collection<?> values)
          +
          Atomically adds the objects contained in a Collection to the array associated with a + given key, only adding elements which are not already present in the array. The position of the + insert is not guaranteed.
          +
          Parameters:
          key - The key.
          values - The objects to add.
          +
        • +
        + + + +
          +
        • +

          remove

          +
          public void remove(String key)
          +
          Removes a key from this object's data if it exists.
          +
          Parameters:
          key - The key to remove.
          +
        • +
        + + + +
          +
        • +

          removeAll

          +
          public void removeAll(String key,
          +             Collection<?> values)
          +
          Atomically removes all instances of the objects contained in a Collection from the + array associated with a given key. To maintain consistency with the Java Collection API, there + is no method removing all instances of a single object. Instead, you can call + parseObject.removeAll(key, Arrays.asList(value)).
          +
          Parameters:
          key - The key.
          values - The objects to remove.
          +
        • +
        + + + +
          +
        • +

          containsKey

          +
          public boolean containsKey(String key)
          +
          Whether this object has a particular key. Same as ParseObject.has(String).
          +
          Parameters:
          key - The key to check for
          +
          Returns:
          Whether this object contains the key
          +
        • +
        + + + +
          +
        • +

          getString

          +
          public String getString(String key)
          +
          Access a String value.
          +
          Parameters:
          key - The key to access the value for.
          +
          Returns:
          null if there is no such key or if it is not a String.
          +
        • +
        + + + +
          +
        • +

          getBytes

          +
          public byte[] getBytes(String key)
          +
          Access a byte[] value.
          +
          Parameters:
          key - The key to access the value for.
          +
          Returns:
          null if there is no such key or if it is not a byte[].
          +
        • +
        + + + +
          +
        • +

          getNumber

          +
          public Number getNumber(String key)
          +
          Access a Number value.
          +
          Parameters:
          key - The key to access the value for.
          +
          Returns:
          null if there is no such key or if it is not a Number.
          +
        • +
        + + + +
          +
        • +

          getJSONArray

          +
          public JSONArray getJSONArray(String key)
          +
          Access a JSONArray value.
          +
          Parameters:
          key - The key to access the value for.
          +
          Returns:
          null if there is no such key or if it is not a JSONArray.
          +
        • +
        + + + +
          +
        • +

          getList

          +
          public <T> List<T> getList(String key)
          +
          Access a List value.
          +
          Parameters:
          key - The key to access the value for
          +
          Returns:
          null if there is no such key or if the value can't be converted to a + List.
          +
        • +
        + + + +
          +
        • +

          getMap

          +
          public <V> Map<String,V> getMap(String key)
          +
          Access a Map value
          +
          Parameters:
          key - The key to access the value for
          +
          Returns:
          null if there is no such key or if the value can't be converted to a + Map.
          +
        • +
        + + + +
          +
        • +

          getJSONObject

          +
          public JSONObject getJSONObject(String key)
          +
          Access a JSONObject value.
          +
          Parameters:
          key - The key to access the value for.
          +
          Returns:
          null if there is no such key or if it is not a JSONObject.
          +
        • +
        + + + +
          +
        • +

          getInt

          +
          public int getInt(String key)
          +
          Access an int value.
          +
          Parameters:
          key - The key to access the value for.
          +
          Returns:
          0 if there is no such key or if it is not a int.
          +
        • +
        + + + +
          +
        • +

          getDouble

          +
          public double getDouble(String key)
          +
          Access a double value.
          +
          Parameters:
          key - The key to access the value for.
          +
          Returns:
          0 if there is no such key or if it is not a double.
          +
        • +
        + + + +
          +
        • +

          getLong

          +
          public long getLong(String key)
          +
          Access a long value.
          +
          Parameters:
          key - The key to access the value for.
          +
          Returns:
          0 if there is no such key or if it is not a long.
          +
        • +
        + + + +
          +
        • +

          getBoolean

          +
          public boolean getBoolean(String key)
          +
          Access a boolean value.
          +
          Parameters:
          key - The key to access the value for.
          +
          Returns:
          false if there is no such key or if it is not a boolean.
          +
        • +
        + + + +
          +
        • +

          getDate

          +
          public Date getDate(String key)
          +
          Access a Date value.
          +
          Parameters:
          key - The key to access the value for.
          +
          Returns:
          null if there is no such key or if it is not a Date.
          +
        • +
        + + + + + + + + + + + + + + + +
          +
        • +

          getParseGeoPoint

          +
          public ParseGeoPoint getParseGeoPoint(String key)
          +
          Access a ParseGeoPoint value.
          +
          Parameters:
          key - The key to access the value for
          +
          Returns:
          null if there is no such key or if it is not a ParseGeoPoint.
          +
        • +
        + + + +
          +
        • +

          getACL

          +
          public ParseACL getACL()
          +
          Access the ParseACL governing this object.
          +
        • +
        + + + +
          +
        • +

          setACL

          +
          public void setACL(ParseACL acl)
          +
          Set the ParseACL governing this object.
          +
        • +
        + + + +
          +
        • +

          isDataAvailable

          +
          public boolean isDataAvailable()
          +
          Gets whether the ParseObject has been fetched.
          +
          Returns:
          true if the ParseObject is new or has been fetched or refreshed. false + otherwise.
          +
        • +
        + + + +
          +
        • +

          getRelation

          +
          public <T extends ParseObjectParseRelation<T> getRelation(String key)
          +
          Access or create a ParseRelation value for a key
          +
          Parameters:
          key - The key to access the relation for.
          +
          Returns:
          the ParseRelation object if the relation already exists for the key or can be created + for this key.
          +
        • +
        + + + + + + + +
          +
        • +

          hasSameId

          +
          public boolean hasSameId(ParseObject other)
          +
        • +
        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
          +
        • +

          unpinAllInBackground

          +
          public static Task<Void> unpinAllInBackground(String name)
          +
          Removes the objects and every object they point to in the local datastore, recursively.
          +
          Parameters:
          name - the name
          +
          Returns:
          A Task that is resolved when unpinning all completes.
          See Also:
          ParseObject.pinAll(String, java.util.List)
          +
        • +
        + + + + + + + + + + + + + + + + + + + +
          +
        • +

          fetchFromLocalDatastoreInBackground

          +
          public <T extends ParseObject> void fetchFromLocalDatastoreInBackground(GetCallback<T> callback)
          +
          Loads data from the local datastore into this object, if it has not been fetched from the + server already. If the object is not stored in the local datastore, this method with do + nothing.
          +
        • +
        + + + +
          +
        • +

          fetchFromLocalDatastore

          +
          public void fetchFromLocalDatastore()
          +                             throws ParseException
          +
          Loads data from the local datastore into this object, if it has not been fetched from the + server already. If the object is not stored in the local datastore, this method with throw a + CACHE_MISS exception.
          +
          Throws:
          +
          ParseException
          +
        • +
        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
          +
        • +

          unpinInBackground

          +
          public Task<Void> unpinInBackground(String name)
          +
          Removes the object and every object it points to in the local datastore, recursively.
          +
          Returns:
          A Task that is resolved when unpinning completes.
          See Also:
          ParseObject.pinInBackground(String)
          +
        • +
        + + + + + + + + + + + + + + + + +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParsePush.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParsePush.html new file mode 100644 index 00000000..e414c525 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParsePush.html @@ -0,0 +1,660 @@ + + + + +ParsePush + + + + + + + + + + +
    +
    com.parse
    +

    Class ParsePush

    +
    +
    +
      +
    • Object
    • +
    • +
        +
      • com.parse.ParsePush
      • +
      +
    • +
    +
    +
      +
    • +
      +
      +
      public class ParsePush
      +extends Object
      +
      The ParsePush is a local representation of data that can be sent as a push notification. +

      + The typical workflow for sending a push notification from the client is to construct a new + ParsePush, use the setter functions to fill it with data, and then use + ParsePush.sendInBackground() to send it.

      +
    • +
    +
    +
    + +
    +
    +
      +
    • + + + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          subscribeInBackground

          +
          public static Task<Void> subscribeInBackground(String channel)
          +
          Adds 'channel' to the 'channels' list in the current ParseInstallation and saves it in + a background thread.
          +
          Parameters:
          channel - The channel to subscribe to.
          +
          Returns:
          A Task that is resolved when the the subscription is complete.
          +
        • +
        + + + +
          +
        • +

          subscribeInBackground

          +
          public static void subscribeInBackground(String channel,
          +                         SaveCallback callback)
          +
          Adds 'channel' to the 'channels' list in the current ParseInstallation and saves it in + a background thread.
          +
          Parameters:
          channel - The channel to subscribe to.
          callback - The SaveCallback that is called after the Installation is saved.
          +
        • +
        + + + +
          +
        • +

          unsubscribeInBackground

          +
          public static Task<Void> unsubscribeInBackground(String channel)
          +
          Removes 'channel' from the 'channels' list in the current ParseInstallation and saves + it in a background thread.
          +
          Parameters:
          channel - The channel to unsubscribe from.
          +
          Returns:
          A Task that is resolved when the the unsubscription is complete.
          +
        • +
        + + + +
          +
        • +

          unsubscribeInBackground

          +
          public static void unsubscribeInBackground(String channel,
          +                           SaveCallback callback)
          +
          Removes 'channel' from the 'channels' list in the current ParseInstallation and saves + it in a background thread.
          +
          Parameters:
          channel - The channel to unsubscribe from.
          callback - The SaveCallback that is called after the Installation is saved.
          +
        • +
        + + + +
          +
        • +

          sendMessageInBackground

          +
          public static Task<Void> sendMessageInBackground(String message,
          +                                 ParseQuery<ParseInstallation> query)
          +
          A helper method to concisely send a push message to a query. This method is equivalent to + ParsePush push = new ParsePush(); push.setMessage(message); push.setQuery(query); + push.sendInBackground();
          +
          Parameters:
          message - The message that will be shown in the notification.
          query - A ParseInstallation query which specifies the recipients of a push.
          +
          Returns:
          A task that is resolved when the message is sent.
          +
        • +
        + + + +
          +
        • +

          sendMessageInBackground

          +
          public static void sendMessageInBackground(String message,
          +                           ParseQuery<ParseInstallation> query,
          +                           SendCallback callback)
          +
          A helper method to concisely send a push message to a query. This method is equivalent to + ParsePush push = new ParsePush(); push.setMessage(message); push.setQuery(query); + push.sendInBackground(callback);
          +
          Parameters:
          message - The message that will be shown in the notification.
          query - A ParseInstallation query which specifies the recipients of a push.
          callback - callback.done(e) is called when the send completes.
          +
        • +
        + + + +
          +
        • +

          sendDataInBackground

          +
          public static Task<Void> sendDataInBackground(JSONObject data,
          +                              ParseQuery<ParseInstallation> query)
          +
          A helper method to concisely send a push to a query. This method is equivalent to ParsePush + push = new ParsePush(); push.setData(data); push.setQuery(query); push.sendInBackground();
          +
          Parameters:
          data - The entire data of the push message. See the push guide for more details on the data + format.
          query - A ParseInstallation query which specifies the recipients of a push.
          +
          Returns:
          A task that is resolved when the data is sent.
          +
        • +
        + + + +
          +
        • +

          sendDataInBackground

          +
          public static void sendDataInBackground(JSONObject data,
          +                        ParseQuery<ParseInstallation> query,
          +                        SendCallback callback)
          +
          A helper method to concisely send a push to a query. This method is equivalent to ParsePush + push = new ParsePush(); push.setData(data); push.setQuery(query); + push.sendInBackground(callback);
          +
          Parameters:
          data - The entire data of the push message. See the push guide for more details on the data + format.
          query - A ParseInstallation query which specifies the recipients of a push.
          callback - callback.done(e) is called when the send completes.
          +
        • +
        + + + +
          +
        • +

          setChannel

          +
          public void setChannel(String channel)
          +
          Sets the channel on which this push notification will be sent. The channel name must start with + a letter and contain only letters, numbers, dashes, and underscores. A push can either have + channels or a query. Setting this will unset the query.
          +
        • +
        + + + +
          +
        • +

          setChannels

          +
          public void setChannels(Collection<String> channels)
          +
          Sets the collection of channels on which this push notification will be sent. Each channel name + must start with a letter and contain only letters, numbers, dashes, and underscores. A push can + either have channels or a query. Setting this will unset the query.
          +
        • +
        + + + +
          +
        • +

          setQuery

          +
          public void setQuery(ParseQuery<ParseInstallation> query)
          +
          Sets the query for this push for which this push notification will be sent. This query will be + executed in the Parse cloud; this push notification will be sent to Installations which this + query yields. A push can either have channels or a query. Setting this will unset the channels.
          +
          Parameters:
          query - A query to which this push should target. This must be a ParseInstallation query.
          +
        • +
        + + + +
          +
        • +

          setExpirationTime

          +
          public void setExpirationTime(long time)
          +
          Sets a UNIX epoch timestamp at which this notification should expire, in seconds (UTC). This + notification will be sent to devices which are either online at the time the notification is + sent, or which come online before the expiration time is reached. Because device clocks are not + guaranteed to be accurate, most applications should instead use + ParsePush.setExpirationTimeInterval(long).
          +
        • +
        + + + +
          +
        • +

          setExpirationTimeInterval

          +
          public void setExpirationTimeInterval(long timeInterval)
          +
          Sets the time interval after which this notification should expire, in seconds. This + notification will be sent to devices which are either online at the time the notification is + sent, or which come online within the given number of seconds of the notification being + received by Parse's server. An interval which is less than or equal to zero indicates that the + message should only be sent to devices which are currently online.
          +
        • +
        + + + +
          +
        • +

          clearExpiration

          +
          public void clearExpiration()
          +
          Clears both expiration values, indicating that the notification should never expire.
          +
        • +
        + + + +
          +
        • +

          setPushToIOS

          +
          @Deprecated
          +public void setPushToIOS(boolean pushToIOS)
          +
          Deprecated. 
          +
        • +
        + + + +
          +
        • +

          setPushToAndroid

          +
          @Deprecated
          +public void setPushToAndroid(boolean pushToAndroid)
          +
          Deprecated. 
          +
        • +
        + + + +
          +
        • +

          setData

          +
          public void setData(JSONObject data)
          +
          Sets the entire data of the push message. See the push guide for more details on the data + format. This will overwrite any data specified in ParsePush.setMessage(String).
          +
        • +
        + + + +
          +
        • +

          setMessage

          +
          public void setMessage(String message)
          +
          Sets the message that will be shown in the notification. This will overwrite any data specified + in ParsePush.setData(JSONObject).
          +
        • +
        + + + +
          +
        • +

          sendInBackground

          +
          public Task<Void> sendInBackground()
          +
          Sends this push notification in a background thread. Use this when you do not have code to run + on completion of the push.
          +
          Returns:
          A Task is resolved when the push has been sent.
          +
        • +
        + + + +
          +
        • +

          send

          +
          public void send()
          +          throws ParseException
          +
          Sends this push notification while blocking this thread until the push notification has + successfully reached the Parse servers. Typically, you should use ParsePush.sendInBackground() + instead of this, unless you are managing your own threading.
          +
          Throws:
          +
          ParseException - Throws an exception if the server is inaccessible.
          +
        • +
        + + + +
          +
        • +

          sendInBackground

          +
          public void sendInBackground(SendCallback callback)
          +
          Sends this push notification in a background thread. This is preferable to using + send(), unless your code is already running from a background thread.
          +
          Parameters:
          callback - callback.done(e) is called when the send completes.
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParsePushBroadcastReceiver.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParsePushBroadcastReceiver.html new file mode 100644 index 00000000..453295ec --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParsePushBroadcastReceiver.html @@ -0,0 +1,633 @@ + + + + +ParsePushBroadcastReceiver + + + + + + + + + + +
    +
    com.parse
    +

    Class ParsePushBroadcastReceiver

    +
    +
    + +
    + +
    +
    + +
    +
    +
      +
    • + +
        +
      • + + +

        Field Detail

        + + + +
          +
        • +

          KEY_PUSH_CHANNEL

          +
          public static final String KEY_PUSH_CHANNEL
          +
          The name of the Intent extra which contains a channel used to route this notification. + May be null.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          KEY_PUSH_DATA

          +
          public static final String KEY_PUSH_DATA
          +
          The name of the Intent extra which contains the JSON payload of the Notification.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          ACTION_PUSH_RECEIVE

          +
          public static final String ACTION_PUSH_RECEIVE
          +
          The name of the Intent fired when a push has been received.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          ACTION_PUSH_OPEN

          +
          public static final String ACTION_PUSH_OPEN
          +
          The name of the Intent fired when a notification has been opened.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          ACTION_PUSH_DELETE

          +
          public static final String ACTION_PUSH_DELETE
          +
          The name of the Intent fired when a notification has been dismissed.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          PROPERTY_PUSH_ICON

          +
          public static final String PROPERTY_PUSH_ICON
          +
          The name of the meta-data field used to override the icon used in Notifications.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          SMALL_NOTIFICATION_MAX_CHARACTER_LIMIT

          +
          protected static final int SMALL_NOTIFICATION_MAX_CHARACTER_LIMIT
          +
          See Also:
          Constant Field Values
          +
        • +
        +
      • +
      + +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          ParsePushBroadcastReceiver

          +
          public ParsePushBroadcastReceiver()
          +
        • +
        +
      • +
      + +
        +
      • + + +

        Method Detail

        + + + + + + + +
          +
        • +

          onPushReceive

          +
          protected void onPushReceive(Context context,
          +                 Intent intent)
          +
          Called when the push notification is received. By default, a broadcast intent will be sent if + an "action" is present in the data and a notification will be show if "alert" and "title" are + present in the data.
          +
          Parameters:
          context - The Context in which the receiver is running.
          intent - An Intent containing the channel and data of the current push notification.
          +
        • +
        + + + +
          +
        • +

          onPushDismiss

          +
          protected void onPushDismiss(Context context,
          +                 Intent intent)
          +
          Called when the push notification is dismissed. By default, nothing is performed + on notification dismissal.
          +
          Parameters:
          context - The Context in which the receiver is running.
          intent - An Intent containing the channel and data of the current push notification.
          +
        • +
        + + + + + + + +
          +
        • +

          getActivity

          +
          protected Class<? extends Activity> getActivity(Context context,
          +                                    Intent intent)
          +
          Used by ParsePushBroadcastReceiver.onPushOpen(android.content.Context, android.content.Intent) to determine which activity to launch or insert into the back + stack. The default implementation retrieves the launch activity class for the package.
          +
          Parameters:
          context - The Context in which the receiver is running.
          intent - An Intent containing the channel and data of the current push notification.
          +
          Returns:
          The default Activity class of the package or null if no launch intent is + defined in AndroidManifest.xml.
          +
        • +
        + + + +
          +
        • +

          getSmallIconId

          +
          protected int getSmallIconId(Context context,
          +                 Intent intent)
          +
          Retrieves the small icon to be used in a Notification. The default implementation uses + the icon specified by com.parse.push.notification_icon meta-data in your + AndroidManifest.xml with a fallback to the launcher icon for this package. To conform + to Android style guides, it is highly recommended that developers specify an explicit push + icon.
          +
          Parameters:
          context - The Context in which the receiver is running.
          intent - An Intent containing the channel and data of the current push notification.
          +
          Returns:
          The resource id of the default small icon for the package
          See Also:
          Android Notification Style Guide
          +
        • +
        + + + +
          +
        • +

          getLargeIcon

          +
          protected Bitmap getLargeIcon(Context context,
          +                  Intent intent)
          +
          Retrieves the large icon to be used in a Notification. This Bitmap should be + used to provide special context for a particular Notification, such as the avatar of + user who generated the Notification. The default implementation returns null, + causing the Notification to display only the small icon.
          +
          Parameters:
          context - The Context in which the receiver is running.
          intent - An Intent containing the channel and data of the current push notification.
          +
          Returns:
          Bitmap of the default large icon for the package
          See Also:
          Android Notification UI Overview
          +
        • +
        + + + +
          +
        • +

          getNotification

          +
          protected Notification getNotification(Context context,
          +                           Intent intent)
          +
          Creates a Notification with reasonable defaults. If "alert" and "title" are + both missing from data, then returns null. If the text in the notification is longer + than 38 characters long, the style of the notification will be set to + Notification.BigTextStyle. +

          + As a security precaution, developers overriding this method should be sure to set the package + on notification Intents to avoid leaking information to other apps.

          +
          Parameters:
          context - The Context in which the receiver is running.
          intent - An Intent containing the channel and data of the current push notification.
          +
          Returns:
          The notification to be displayed.
          See Also:
          ParsePushBroadcastReceiver.onPushReceive(Context, Intent)
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseQuery.CachePolicy.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseQuery.CachePolicy.html new file mode 100644 index 00000000..cdfca978 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseQuery.CachePolicy.html @@ -0,0 +1,409 @@ + + + + +ParseQuery.CachePolicy + + + + + + + + + + +
    +
    com.parse
    +

    Enum ParseQuery.CachePolicy

    +
    +
    + +
    +
      +
    • +
      +
      All Implemented Interfaces:
      +
      Serializable, Comparable<ParseQuery.CachePolicy>
      +
      +
      +
      Enclosing class:
      +
      ParseQuery<T extends ParseObject>
      +
      +
      +
      +
      public static enum ParseQuery.CachePolicy
      +extends Enum<ParseQuery.CachePolicy>
      +
      CachePolicy specifies different caching policies that could be used with + ParseQuery. +

      + This lets you show data when the user's device is offline, or when the app has just started and + network requests have not yet had time to complete. Parse takes care of automatically flushing + the cache when it takes up too much space. +

      + Note: Cache policy can only be set when Local Datastore is not enabled.

      +
      See Also:
      ParseQuery
      +
    • +
    +
    +
    + +
    +
    +
      +
    • + +
        +
      • + + +

        Enum Constant Detail

        + + + +
          +
        • +

          IGNORE_CACHE

          +
          public static final ParseQuery.CachePolicy IGNORE_CACHE
          +
          The query does not load from the cache or save results to the cache. +

          + This is the default cache policy.

          +
        • +
        + + + + + + + +
          +
        • +

          NETWORK_ONLY

          +
          public static final ParseQuery.CachePolicy NETWORK_ONLY
          +
          The query does not load from the cache, but it will save results to the cache.
          +
        • +
        + + + +
          +
        • +

          CACHE_ELSE_NETWORK

          +
          public static final ParseQuery.CachePolicy CACHE_ELSE_NETWORK
          +
          The query first tries to load from the cache, but if that fails, it loads results from the + network. +

          + If there are no cached results, this causes a ParseException.CACHE_MISS.

          +
        • +
        + + + +
          +
        • +

          NETWORK_ELSE_CACHE

          +
          public static final ParseQuery.CachePolicy NETWORK_ELSE_CACHE
          +
          The query first tries to load from the network, but if that fails, it loads results from the + cache. +

          + If there are no cached results, this causes a ParseException.CACHE_MISS.

          +
        • +
        + + + +
          +
        • +

          CACHE_THEN_NETWORK

          +
          public static final ParseQuery.CachePolicy CACHE_THEN_NETWORK
          +
          The query first loads from the cache, then loads from the network. + The callback will be called twice - first with the cached results, then with the network + results. Since it returns two results at different times, this cache policy cannot be used + with synchronous or task methods.
          +
        • +
        +
      • +
      + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          values

          +
          public static ParseQuery.CachePolicy[] values()
          +
          Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
          +for (ParseQuery.CachePolicy c : ParseQuery.CachePolicy.values())
          +    System.out.println(c);
          +
          +
          Returns:
          an array containing the constants of this enum type, in the order they are declared
          +
        • +
        + + + +
          +
        • +

          valueOf

          +
          public static ParseQuery.CachePolicy valueOf(String name)
          +
          Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
          +
          Parameters:
          name - the name of the enum constant to be returned.
          +
          Returns:
          the enum constant with the specified name
          +
          Throws:
          +
          IllegalArgumentException - if this enum type has no constant with the specified name
          +
          NullPointerException - if the argument is null
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseQuery.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseQuery.html new file mode 100644 index 00000000..7b5f22bf --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseQuery.html @@ -0,0 +1,1693 @@ + + + + +ParseQuery + + + + + + + + + + +
    +
    com.parse
    +

    Class ParseQuery<T extends ParseObject>

    +
    +
    +
      +
    • Object
    • +
    • +
        +
      • com.parse.ParseQuery<T>
      • +
      +
    • +
    +
    +
      +
    • +
      +
      +
      public class ParseQuery<T extends ParseObject>
      +extends Object
      +
      The ParseQuery class defines a query that is used to fetch ParseObjects. The most + common use case is finding all objects that match a query through the ParseQuery.findInBackground() + method, using a FindCallback. For example, this sample code fetches all objects of class + "MyClass". It calls a different function depending on whether the fetch succeeded or not. +

      +

      + ParseQuery<ParseObject> query = ParseQuery.getQuery("MyClass");
      + query.findInBackground(new FindCallback<ParseObject>() {
      +     public void done(List<ParseObject> objects, ParseException e) {
      +         if (e == null) {
      +             objectsWereRetrievedSuccessfully(objects);
      +         } else {
      +             objectRetrievalFailed();
      +         }
      +     }
      + }
      + 
      +

      + A ParseQuery can also be used to retrieve a single object whose id is known, through the + ParseQuery.getInBackground(String) method, using a GetCallback. For example, this + sample code fetches an object of class "MyClass" and id myId. It calls + a different function depending on whether the fetch succeeded or not. +

      +

      + ParseQuery<ParseObject> query = ParseQuery.getQuery("MyClass");
      + query.getInBackground(myId, new GetCallback<ParseObject>() {
      +     public void done(ParseObject object, ParseException e) {
      +         if (e == null) {
      +             objectWasRetrievedSuccessfully(object);
      +         } else {
      +             objectRetrievalFailed();
      +         }
      +     }
      + }
      + 
      +

      + A ParseQuery can also be used to count the number of objects that match the query without + retrieving all of those objects. For example, this sample code counts the number of objects of + the class "MyClass". +

      +

      + ParseQuery<ParseObject> query = ParseQuery.getQuery("MyClass");
      + query.countInBackground(new CountCallback() {
      +     public void done(int count, ParseException e) {
      +         if (e == null) {
      +             objectsWereCounted(count);
      +         } else {
      +             objectCountFailed();
      +         }
      +     }
      + }
      + 
      +

      + Using the callback methods is usually preferred because the network operation will not block the + calling thread. However, in some cases it may be easier to use the ParseQuery.find(), + ParseQuery.get(String) or ParseQuery.count() calls, which do block the calling thread. For example, + if your application has already spawned a background task to perform work, that background task + could use the blocking calls and avoid the code complexity of callbacks.

      +
    • +
    +
    +
    + +
    +
    +
      +
    • + +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          ParseQuery

          +
          public ParseQuery(Class<T> subclass)
          +
          Constructs a query for a ParseObject subclass type. A default query with no further + parameters will retrieve all ParseObjects of the provided class.
          +
          Parameters:
          subclass - The ParseObject subclass type to retrieve.
          +
        • +
        + + + +
          +
        • +

          ParseQuery

          +
          public ParseQuery(String theClassName)
          +
          Constructs a query. A default query with no further parameters will retrieve all + ParseObjects of the provided class.
          +
          Parameters:
          theClassName - The name of the class to retrieve ParseObjects for.
          +
        • +
        +
      • +
      + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          or

          +
          public static <T extends ParseObjectParseQuery<T> or(List<ParseQuery<T>> queries)
          +
          Constructs a query that is the or of the given queries.
          +
          Parameters:
          queries - The list of ParseQuerys to 'or' together
          +
          Returns:
          A ParseQuery that is the 'or' of the passed in queries
          +
        • +
        + + + +
          +
        • +

          getQuery

          +
          public static <T extends ParseObjectParseQuery<T> getQuery(Class<T> subclass)
          +
          Creates a new query for the given ParseObject subclass type. A default query with no + further parameters will retrieve all ParseObjects of the provided class.
          +
          Parameters:
          subclass - The ParseObject subclass type to retrieve.
          +
          Returns:
          A new ParseQuery.
          +
        • +
        + + + +
          +
        • +

          getQuery

          +
          public static <T extends ParseObjectParseQuery<T> getQuery(String className)
          +
          Creates a new query for the given class name. A default query with no further parameters will + retrieve all ParseObjects of the provided class name.
          +
          Parameters:
          className - The name of the class to retrieve ParseObjects for.
          +
          Returns:
          A new ParseQuery.
          +
        • +
        + + + + + + + +
          +
        • +

          cancel

          +
          public void cancel()
          +
          Cancels the current network request (if one is running).
          +
        • +
        + + + + + + + + + + + + + + + + + + + +
          +
        • +

          fromLocalDatastore

          +
          public ParseQuery<T> fromLocalDatastore()
          +
          Change the source of this query to all pinned objects. +

          + Requires Local Datastore to be enabled.

          +
          Returns:
          this, so you can chain this call.
          See Also:
          ParseQuery.setCachePolicy(CachePolicy)
          +
        • +
        + + + + + + + +
          +
        • +

          fromPin

          +
          public ParseQuery<T> fromPin(String name)
          +
          Change the source of this query to a specific group of pinned objects. +

          + Requires Local Datastore to be enabled.

          +
          Parameters:
          name - the pinned group
          +
          Returns:
          this, so you can chain this call.
          See Also:
          ParseQuery.setCachePolicy(CachePolicy)
          +
        • +
        + + + +
          +
        • +

          ignoreACLs

          +
          public ParseQuery<T> ignoreACLs()
          +
          Ignore ACLs when querying from the Local Datastore. +

          + This is particularly useful when querying for objects with Role based ACLs set on them.

          +
          Returns:
          this, so you can chain this call.
          +
        • +
        + + + +
          +
        • +

          setMaxCacheAge

          +
          public ParseQuery<T> setMaxCacheAge(long maxAgeInMilliseconds)
          +
          Sets the maximum age of cached data that will be considered in this query.
          +
          Returns:
          this, so you can chain this call.
          +
        • +
        + + + +
          +
        • +

          getMaxCacheAge

          +
          public long getMaxCacheAge()
          +
          Gets the maximum age of cached data that will be considered in this query. The returned value + is in milliseconds
          +
        • +
        + + + +
          +
        • +

          findInBackground

          +
          public Task<List<T>> findInBackground()
          +
          Retrieves a list of ParseObjects that satisfy this query from the source in a + background thread. +

          + This is preferable to using ParseQuery.find(), unless your code is already running in a + background thread.

          +
          Returns:
          A Task that will be resolved when the find has completed.
          +
        • +
        + + + +
          +
        • +

          findInBackground

          +
          public void findInBackground(FindCallback<T> callback)
          +
          Retrieves a list of ParseObjects that satisfy this query from the source in a + background thread. +

          + This is preferable to using ParseQuery.find(), unless your code is already running in a + background thread.

          +
          Parameters:
          callback - callback.done(objectList, e) is called when the find completes.
          +
        • +
        + + + +
          +
        • +

          getFirstInBackground

          +
          public Task<T> getFirstInBackground()
          +
          Retrieves at most one ParseObject that satisfies this query from the source in a + background thread. +

          + This is preferable to using ParseQuery.getFirst(), unless your code is already running in a + background thread. +

          + Note:This mutates the ParseQuery.

          +
          Returns:
          A Task that will be resolved when the get has completed.
          +
        • +
        + + + +
          +
        • +

          getFirstInBackground

          +
          public void getFirstInBackground(GetCallback<T> callback)
          +
          Retrieves at most one ParseObject that satisfies this query from the source in a + background thread. +

          + This is preferable to using ParseQuery.getFirst(), unless your code is already running in a + background thread. +

          + Note:This mutates the ParseQuery.

          +
          Parameters:
          callback - callback.done(object, e) is called when the find completes.
          +
        • +
        + + + +
          +
        • +

          count

          +
          public int count()
          +          throws ParseException
          +
          Counts the number of objects that match this query. This does not use caching.
          +
          Throws:
          +
          ParseException - Throws an exception when the network connection fails or when the query is invalid.
          +
        • +
        + + + +
          +
        • +

          countInBackground

          +
          public Task<Integer> countInBackground()
          +
          Counts the number of objects that match this query in a background thread. This does not use + caching.
          +
          Returns:
          A Task that will be resolved when the count has completed.
          +
        • +
        + + + +
          +
        • +

          countInBackground

          +
          public void countInBackground(CountCallback callback)
          +
          Counts the number of objects that match this query in a background thread. This does not use + caching.
          +
          Parameters:
          callback - callback.done(count, e) will be called when the count completes.
          +
        • +
        + + + + + + + +
          +
        • +

          hasCachedResult

          +
          public boolean hasCachedResult()
          +
          Returns whether or not this query has a cached result.
          +
        • +
        + + + +
          +
        • +

          clearCachedResult

          +
          public void clearCachedResult()
          +
          Removes the previously cached result for this query, forcing the next find() to hit the + network. If there is no cached result for this query, then this is a no-op.
          +
        • +
        + + + +
          +
        • +

          clearAllCachedResults

          +
          public static void clearAllCachedResults()
          +
          Clears the cached result for all queries.
          +
        • +
        + + + +
          +
        • +

          getInBackground

          +
          public Task<T> getInBackground(String objectId)
          +
          Constructs a ParseObject whose id is already known by fetching data from the source in a + background thread. This does not use caching. +

          + This is preferable to using the ParseObject.createWithoutData(String, String), unless + your code is already running in a background thread.

          +
          Parameters:
          objectId - Object id of the ParseObject to fetch.
          +
          Returns:
          A Task that is resolved when the fetch completes.
          +
        • +
        + + + +
          +
        • +

          getInBackground

          +
          public void getInBackground(String objectId,
          +                   GetCallback<T> callback)
          +
          Constructs a ParseObject whose id is already known by fetching data from the source in + a background thread. This does not use caching. +

          + This is preferable to using the ParseObject.createWithoutData(String, String), unless + your code is already running in a background thread.

          +
          Parameters:
          objectId - Object id of the ParseObject to fetch.
          callback - callback.done(object, e) will be called when the fetch completes.
          +
        • +
        + + + +
          +
        • +

          whereEqualTo

          +
          public ParseQuery<T> whereEqualTo(String key,
          +                         Object value)
          +
          Add a constraint to the query that requires a particular key's value to be equal to the + provided value.
          +
          Parameters:
          key - The key to check.
          value - The value that the ParseObject must contain.
          +
          Returns:
          this, so you can chain this call.
          +
        • +
        + + + +
          +
        • +

          whereLessThan

          +
          public ParseQuery<T> whereLessThan(String key,
          +                          Object value)
          +
          Add a constraint to the query that requires a particular key's value to be less than the + provided value.
          +
          Parameters:
          key - The key to check.
          value - The value that provides an upper bound.
          +
          Returns:
          this, so you can chain this call.
          +
        • +
        + + + +
          +
        • +

          whereNotEqualTo

          +
          public ParseQuery<T> whereNotEqualTo(String key,
          +                            Object value)
          +
          Add a constraint to the query that requires a particular key's value to be not equal to the + provided value.
          +
          Parameters:
          key - The key to check.
          value - The value that must not be equalled.
          +
          Returns:
          this, so you can chain this call.
          +
        • +
        + + + +
          +
        • +

          whereGreaterThan

          +
          public ParseQuery<T> whereGreaterThan(String key,
          +                             Object value)
          +
          Add a constraint to the query that requires a particular key's value to be greater than the + provided value.
          +
          Parameters:
          key - The key to check.
          value - The value that provides an lower bound.
          +
          Returns:
          this, so you can chain this call.
          +
        • +
        + + + +
          +
        • +

          whereLessThanOrEqualTo

          +
          public ParseQuery<T> whereLessThanOrEqualTo(String key,
          +                                   Object value)
          +
          Add a constraint to the query that requires a particular key's value to be less than or equal + to the provided value.
          +
          Parameters:
          key - The key to check.
          value - The value that provides an upper bound.
          +
          Returns:
          this, so you can chain this call.
          +
        • +
        + + + +
          +
        • +

          whereGreaterThanOrEqualTo

          +
          public ParseQuery<T> whereGreaterThanOrEqualTo(String key,
          +                                      Object value)
          +
          Add a constraint to the query that requires a particular key's value to be greater than or + equal to the provided value.
          +
          Parameters:
          key - The key to check.
          value - The value that provides an lower bound.
          +
          Returns:
          this, so you can chain this call.
          +
        • +
        + + + +
          +
        • +

          whereContainedIn

          +
          public ParseQuery<T> whereContainedIn(String key,
          +                             Collection<? extends Object> values)
          +
          Add a constraint to the query that requires a particular key's value to be contained in the + provided list of values.
          +
          Parameters:
          key - The key to check.
          values - The values that will match.
          +
          Returns:
          this, so you can chain this call.
          +
        • +
        + + + +
          +
        • +

          whereContainsAll

          +
          public ParseQuery<T> whereContainsAll(String key,
          +                             Collection<?> values)
          +
          Add a constraint to the query that requires a particular key's value match another + ParseQuery. +

          + This only works on keys whose values are ParseObjects or lists of ParseObjects. + Add a constraint to the query that requires a particular key's value to contain every one of + the provided list of values.

          +
          Parameters:
          key - The key to check. This key's value must be an array.
          values - The values that will match.
          +
          Returns:
          this, so you can chain this call.
          +
        • +
        + + + +
          +
        • +

          whereMatchesQuery

          +
          public ParseQuery<T> whereMatchesQuery(String key,
          +                              ParseQuery<?> query)
          +
          Add a constraint to the query that requires a particular key's value match another + ParseQuery. +

          + This only works on keys whose values are ParseObjects or lists of ParseObjects.

          +
          Parameters:
          key - The key to check.
          query - The query that the value should match
          +
          Returns:
          this, so you can chain this call.
          +
        • +
        + + + +
          +
        • +

          whereDoesNotMatchQuery

          +
          public ParseQuery<T> whereDoesNotMatchQuery(String key,
          +                                   ParseQuery<?> query)
          +
          Add a constraint to the query that requires a particular key's value does not match another + ParseQuery. +

          + This only works on keys whose values are ParseObjects or lists of ParseObjects.

          +
          Parameters:
          key - The key to check.
          query - The query that the value should not match
          +
          Returns:
          this, so you can chain this call.
          +
        • +
        + + + +
          +
        • +

          whereMatchesKeyInQuery

          +
          public ParseQuery<T> whereMatchesKeyInQuery(String key,
          +                                   String keyInQuery,
          +                                   ParseQuery<?> query)
          +
          Add a constraint to the query that requires a particular key's value matches a value for a key + in the results of another ParseQuery.
          +
          Parameters:
          key - The key whose value is being checked
          keyInQuery - The key in the objects from the sub query to look in
          query - The sub query to run
          +
          Returns:
          this, so you can chain this call.
          +
        • +
        + + + +
          +
        • +

          whereDoesNotMatchKeyInQuery

          +
          public ParseQuery<T> whereDoesNotMatchKeyInQuery(String key,
          +                                        String keyInQuery,
          +                                        ParseQuery<?> query)
          +
          Add a constraint to the query that requires a particular key's value does not match any value + for a key in the results of another ParseQuery.
          +
          Parameters:
          key - The key whose value is being checked and excluded
          keyInQuery - The key in the objects from the sub query to look in
          query - The sub query to run
          +
          Returns:
          this, so you can chain this call.
          +
        • +
        + + + +
          +
        • +

          whereNotContainedIn

          +
          public ParseQuery<T> whereNotContainedIn(String key,
          +                                Collection<? extends Object> values)
          +
          Add a constraint to the query that requires a particular key's value not be contained in the + provided list of values.
          +
          Parameters:
          key - The key to check.
          values - The values that will not match.
          +
          Returns:
          this, so you can chain this call.
          +
        • +
        + + + +
          +
        • +

          whereNear

          +
          public ParseQuery<T> whereNear(String key,
          +                      ParseGeoPoint point)
          +
          Add a proximity based constraint for finding objects with key point values near the point + given.
          +
          Parameters:
          key - The key that the ParseGeoPoint is stored in.
          point - The reference ParseGeoPoint that is used.
          +
          Returns:
          this, so you can chain this call.
          +
        • +
        + + + +
          +
        • +

          whereWithinMiles

          +
          public ParseQuery<T> whereWithinMiles(String key,
          +                             ParseGeoPoint point,
          +                             double maxDistance)
          +
          Add a proximity based constraint for finding objects with key point values near the point given + and within the maximum distance given. +

          + Radius of earth used is 3958.8 miles.

          +
          Parameters:
          key - The key that the ParseGeoPoint is stored in.
          point - The reference ParseGeoPoint that is used.
          maxDistance - Maximum distance (in miles) of results to return.
          +
          Returns:
          this, so you can chain this call.
          +
        • +
        + + + +
          +
        • +

          whereWithinKilometers

          +
          public ParseQuery<T> whereWithinKilometers(String key,
          +                                  ParseGeoPoint point,
          +                                  double maxDistance)
          +
          Add a proximity based constraint for finding objects with key point values near the point given + and within the maximum distance given. +

          + Radius of earth used is 6371.0 kilometers.

          +
          Parameters:
          key - The key that the ParseGeoPoint is stored in.
          point - The reference ParseGeoPoint that is used.
          maxDistance - Maximum distance (in kilometers) of results to return.
          +
          Returns:
          this, so you can chain this call.
          +
        • +
        + + + +
          +
        • +

          whereWithinRadians

          +
          public ParseQuery<T> whereWithinRadians(String key,
          +                               ParseGeoPoint point,
          +                               double maxDistance)
          +
          Add a proximity based constraint for finding objects with key point values near the point given + and within the maximum distance given.
          +
          Parameters:
          key - The key that the ParseGeoPoint is stored in.
          point - The reference ParseGeoPoint that is used.
          maxDistance - Maximum distance (in radians) of results to return.
          +
          Returns:
          this, so you can chain this call.
          +
        • +
        + + + +
          +
        • +

          whereWithinGeoBox

          +
          public ParseQuery<T> whereWithinGeoBox(String key,
          +                              ParseGeoPoint southwest,
          +                              ParseGeoPoint northeast)
          +
          Add a constraint to the query that requires a particular key's coordinates be contained within + a given rectangular geographic bounding box.
          +
          Parameters:
          key - The key to be constrained.
          southwest - The lower-left inclusive corner of the box.
          northeast - The upper-right inclusive corner of the box.
          +
          Returns:
          this, so you can chain this call.
          +
        • +
        + + + +
          +
        • +

          whereMatches

          +
          public ParseQuery<T> whereMatches(String key,
          +                         String regex)
          +
          Add a regular expression constraint for finding string values that match the provided regular + expression. +

          + This may be slow for large datasets.

          +
          Parameters:
          key - The key that the string to match is stored in.
          regex - The regular expression pattern to match.
          +
          Returns:
          this, so you can chain this call.
          +
        • +
        + + + +
          +
        • +

          whereMatches

          +
          public ParseQuery<T> whereMatches(String key,
          +                         String regex,
          +                         String modifiers)
          +
          Add a regular expression constraint for finding string values that match the provided regular + expression. +

          + This may be slow for large datasets.

          +
          Parameters:
          key - The key that the string to match is stored in.
          regex - The regular expression pattern to match.
          modifiers - Any of the following supported PCRE modifiers:
          + i - Case insensitive search
          + m - Search across multiple lines of input
          +
          Returns:
          this, so you can chain this call.
          +
        • +
        + + + +
          +
        • +

          whereContains

          +
          public ParseQuery<T> whereContains(String key,
          +                          String substring)
          +
          Add a constraint for finding string values that contain a provided string. +

          + This will be slow for large datasets.

          +
          Parameters:
          key - The key that the string to match is stored in.
          substring - The substring that the value must contain.
          +
          Returns:
          this, so you can chain this call.
          +
        • +
        + + + +
          +
        • +

          whereStartsWith

          +
          public ParseQuery<T> whereStartsWith(String key,
          +                            String prefix)
          +
          Add a constraint for finding string values that start with a provided string. +

          + This query will use the backend index, so it will be fast even for large datasets.

          +
          Parameters:
          key - The key that the string to match is stored in.
          prefix - The substring that the value must start with.
          +
          Returns:
          this, so you can chain this call.
          +
        • +
        + + + +
          +
        • +

          whereEndsWith

          +
          public ParseQuery<T> whereEndsWith(String key,
          +                          String suffix)
          +
          Add a constraint for finding string values that end with a provided string. +

          + This will be slow for large datasets.

          +
          Parameters:
          key - The key that the string to match is stored in.
          suffix - The substring that the value must end with.
          +
          Returns:
          this, so you can chain this call.
          +
        • +
        + + + +
          +
        • +

          include

          +
          public ParseQuery<T> include(String key)
          +
          Include nested ParseObjects for the provided key. +

          + You can use dot notation to specify which fields in the included object that are also fetched.

          +
          Parameters:
          key - The key that should be included.
          +
          Returns:
          this, so you can chain this call.
          +
        • +
        + + + +
          +
        • +

          selectKeys

          +
          public ParseQuery<T> selectKeys(Collection<String> keys)
          +
          Restrict the fields of returned ParseObjects to only include the provided keys. +

          + If this is called multiple times, then all of the keys specified in each of the calls will be + included. +

          + Note: This option will be ignored when querying from the local datastore. This + is done since all the keys will be in memory anyway and there will be no performance gain from + removing them.

          +
          Parameters:
          keys - The set of keys to include in the result.
          +
          Returns:
          this, so you can chain this call.
          +
        • +
        + + + +
          +
        • +

          whereExists

          +
          public ParseQuery<T> whereExists(String key)
          +
          Add a constraint for finding objects that contain the given key.
          +
          Parameters:
          key - The key that should exist.
          +
          Returns:
          this, so you can chain this call.
          +
        • +
        + + + +
          +
        • +

          whereDoesNotExist

          +
          public ParseQuery<T> whereDoesNotExist(String key)
          +
          Add a constraint for finding objects that do not contain a given key.
          +
          Parameters:
          key - The key that should not exist
          +
          Returns:
          this, so you can chain this call.
          +
        • +
        + + + +
          +
        • +

          orderByAscending

          +
          public ParseQuery<T> orderByAscending(String key)
          +
          Sorts the results in ascending order by the given key.
          +
          Parameters:
          key - The key to order by.
          +
          Returns:
          this, so you can chain this call.
          +
        • +
        + + + +
          +
        • +

          addAscendingOrder

          +
          public ParseQuery<T> addAscendingOrder(String key)
          +
          Also sorts the results in ascending order by the given key. +

          + The previous sort keys have precedence over this key.

          +
          Parameters:
          key - The key to order by
          +
          Returns:
          this, so you can chain this call.
          +
        • +
        + + + +
          +
        • +

          orderByDescending

          +
          public ParseQuery<T> orderByDescending(String key)
          +
          Sorts the results in descending order by the given key.
          +
          Parameters:
          key - The key to order by.
          +
          Returns:
          this, so you can chain this call.
          +
        • +
        + + + +
          +
        • +

          addDescendingOrder

          +
          public ParseQuery<T> addDescendingOrder(String key)
          +
          Also sorts the results in descending order by the given key. +

          + The previous sort keys have precedence over this key.

          +
          Parameters:
          key - The key to order by
          +
          Returns:
          this, so you can chain this call.
          +
        • +
        + + + +
          +
        • +

          setLimit

          +
          public ParseQuery<T> setLimit(int newLimit)
          +
          Controls the maximum number of results that are returned. +

          + Setting a negative limit denotes retrieval without a limit. The default limit is 100, + with a maximum of 1000 results being returned at a time.

          +
          Parameters:
          newLimit - The new limit.
          +
          Returns:
          this, so you can chain this call.
          +
        • +
        + + + +
          +
        • +

          setTrace

          +
          public ParseQuery<T> setTrace(boolean shouldTrace)
          +
          Turn on performance tracing of finds. +

          + If performance tracing is already turned on this does nothing. In general you don't need to call trace.

          +
          Returns:
          this, so you can chain this call.
          +
        • +
        + + + +
          +
        • +

          getLimit

          +
          public int getLimit()
          +
          Accessor for the limit.
          +
        • +
        + + + +
          +
        • +

          setSkip

          +
          public ParseQuery<T> setSkip(int newSkip)
          +
          Controls the number of results to skip before returning any results. +

          + This is useful for pagination. Default is to skip zero results.

          +
          Parameters:
          newSkip - The new skip
          +
          Returns:
          this, so you can chain this call.
          +
        • +
        + + + +
          +
        • +

          getSkip

          +
          public int getSkip()
          +
          Accessor for the skip value.
          +
        • +
        + + + +
          +
        • +

          getClassName

          +
          public String getClassName()
          +
          Accessor for the class name.
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseQueryAdapter.OnQueryLoadListener.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseQueryAdapter.OnQueryLoadListener.html new file mode 100644 index 00000000..864f1f40 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseQueryAdapter.OnQueryLoadListener.html @@ -0,0 +1,223 @@ + + + + +ParseQueryAdapter.OnQueryLoadListener + + + + + + + + + + +
    +
    com.parse
    +

    Interface ParseQueryAdapter.OnQueryLoadListener<T extends ParseObject>

    +
    +
    +
    +
      +
    • +
      +
      Enclosing class:
      +
      ParseQueryAdapter<T extends ParseObject>
      +
      +
      +
      +
      public static interface ParseQueryAdapter.OnQueryLoadListener<T extends ParseObject>
      +
      Implement with logic that is called before and after objects are fetched from Parse by the + adapter.
      +
    • +
    +
    +
    +
      +
    • + + +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          onLoading

          +
          void onLoading()
          +
        • +
        + + + + +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseQueryAdapter.QueryFactory.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseQueryAdapter.QueryFactory.html new file mode 100644 index 00000000..a6881398 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseQueryAdapter.QueryFactory.html @@ -0,0 +1,207 @@ + + + + +ParseQueryAdapter.QueryFactory + + + + + + + + + + +
    +
    com.parse
    +

    Interface ParseQueryAdapter.QueryFactory<T extends ParseObject>

    +
    +
    +
    + +
    +
    +
      +
    • + +
        +
      • + + +

        Method Summary

        + + + + + + + + + + +
        Methods 
        Modifier and TypeMethod and Description
        ParseQuery<T>create() 
        +
      • +
      +
    • +
    +
    +
    + +
    +
    + + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseQueryAdapter.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseQueryAdapter.html new file mode 100644 index 00000000..19ca6ad0 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseQueryAdapter.html @@ -0,0 +1,892 @@ + + + + +ParseQueryAdapter + + + + + + + + + + +
    +
    com.parse
    +

    Class ParseQueryAdapter<T extends ParseObject>

    +
    +
    + +
    +
      +
    • +
      +
      All Implemented Interfaces:
      +
      Adapter, ListAdapter, SpinnerAdapter
      +
      +
      +
      +
      public class ParseQueryAdapter<T extends ParseObject>
      +extends BaseAdapter
      +
      A ParseQueryAdapter handles the fetching of objects by page, and displaying objects as + views in a ListView. +

      + This class is highly configurable, but also intended to be easy to get started with. See below + for an example of using a ParseQueryAdapter inside an Activity's + onCreate: +

      + final ParseQueryAdapter adapter = new ParseQueryAdapter(this, "TestObject");
      + adapter.setTextKey("name");
      + 
      + ListView listView = (ListView) findViewById(R.id.listview);
      + listView.setAdapter(adapter);
      + 
      +

      + Below, an example showing off the level of configuration available with this class: +

      + // Instantiate a QueryFactory to define the ParseQuery to be used for fetching items in this
      + // Adapter.
      + ParseQueryAdapter.QueryFactory<ParseObject> factory =
      +     new ParseQueryAdapter.QueryFactory<ParseObject>() {
      +       public ParseQuery create() {
      +         ParseQuery query = new ParseQuery("Customer");
      +         query.whereEqualTo("activated", true);
      +         query.orderByDescending("moneySpent");
      +         return query;
      +       }
      +     };
      + 
      + // Pass the factory into the ParseQueryAdapter's constructor.
      + ParseQueryAdapter<ParseObject> adapter = new ParseQueryAdapter<ParseObject>(this, factory);
      + adapter.setTextKey("name");
      + 
      + // Perhaps set a callback to be fired upon successful loading of a new set of ParseObjects.
      + adapter.addOnQueryLoadListener(new OnQueryLoadListener<ParseObject>() {
      +   public void onLoading() {
      +     // Trigger any "loading" UI
      +   }
      + 
      +   public void onLoaded(List<ParseObject> objects, ParseException e) {
      +     // Execute any post-loading logic, hide "loading" UI
      +   }
      + });
      + 
      + // Attach it to your ListView, as in the example above
      + ListView listView = (ListView) findViewById(R.id.listview);
      + listView.setAdapter(adapter);
      + 
      +
    • +
    +
    +
    + +
    +
    +
      +
    • + +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          ParseQueryAdapter

          +
          public ParseQueryAdapter(Context context,
          +                 Class<? extends ParseObject> clazz)
          +
          Constructs a ParseQueryAdapter. Given a ParseObject subclass, this adapter will + fetch and display all ParseObjects of the specified class, ordered by creation time.
          +
          Parameters:
          context - The activity utilizing this adapter.
          clazz - The ParseObject subclass type to fetch and display.
          +
        • +
        + + + +
          +
        • +

          ParseQueryAdapter

          +
          public ParseQueryAdapter(Context context,
          +                 String className)
          +
          Constructs a ParseQueryAdapter. Given a ParseObject subclass, this adapter will + fetch and display all ParseObjects of the specified class, ordered by creation time.
          +
          Parameters:
          context - The activity utilizing this adapter.
          className - The name of the Parse class of ParseObjects to display.
          +
        • +
        + + + +
          +
        • +

          ParseQueryAdapter

          +
          public ParseQueryAdapter(Context context,
          +                 Class<? extends ParseObject> clazz,
          +                 int itemViewResource)
          +
          Constructs a ParseQueryAdapter. Given a ParseObject subclass, this adapter will + fetch and display all ParseObjects of the specified class, ordered by creation time.
          +
          Parameters:
          context - The activity utilizing this adapter.
          clazz - The ParseObject subclass type to fetch and display.
          itemViewResource - A resource id that represents the layout for an item in the AdapterView.
          +
        • +
        + + + +
          +
        • +

          ParseQueryAdapter

          +
          public ParseQueryAdapter(Context context,
          +                 String className,
          +                 int itemViewResource)
          +
          Constructs a ParseQueryAdapter. Given a ParseObject subclass, this adapter will + fetch and display all ParseObjects of the specified class, ordered by creation time.
          +
          Parameters:
          context - The activity utilizing this adapter.
          className - The name of the Parse class of ParseObjects to display.
          itemViewResource - A resource id that represents the layout for an item in the AdapterView.
          +
        • +
        + + + + + + + +
          +
        • +

          ParseQueryAdapter

          +
          public ParseQueryAdapter(Context context,
          +                 ParseQueryAdapter.QueryFactory<T> queryFactory,
          +                 int itemViewResource)
          +
          Constructs a ParseQueryAdapter. Allows the caller to define further constraints on the + ParseQuery to be used when fetching items from Parse.
          +
          Parameters:
          context - The activity utilizing this adapter.
          queryFactory - A ParseQueryAdapter.QueryFactory to build a ParseQuery for fetching objects.
          itemViewResource - A resource id that represents the layout for an item in the AdapterView.
          +
        • +
        +
      • +
      + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          getContext

          +
          public Context getContext()
          +
          Return the context provided by the Activity utilizing this ParseQueryAdapter.
          +
          Returns:
          The activity utilizing this adapter.
          +
        • +
        + + + +
          +
        • +

          getItem

          +
          public T getItem(int index)
          +
        • +
        + + + +
          +
        • +

          getItemId

          +
          public long getItemId(int position)
          +
        • +
        + + + + + + + + + + + + + + + + + + + +
          +
        • +

          clear

          +
          public void clear()
          +
          Remove all elements from the list.
          +
        • +
        + + + +
          +
        • +

          loadObjects

          +
          public void loadObjects()
          +
          Clears the table and loads the first page of objects asynchronously. This method is called + automatically when this Adapter is attached to an AdapterView. +

          + loadObjects() should only need to be called if ParseQueryAdapter.setAutoload(boolean) is set to + false.

          +
        • +
        + + + +
          +
        • +

          loadNextPage

          +
          public void loadNextPage()
          +
          Loads the next page of objects, appends to table, and notifies the UI that the model has + changed.
          +
        • +
        + + + +
          +
        • +

          getCount

          +
          public int getCount()
          +
          Overrides Adapter.getCount() method to return the number of cells to + display. If pagination is turned on, this count will include an extra +1 count for the + pagination cell row.
          +
          Returns:
          The number of cells to be displayed by the ListView.
          +
        • +
        + + + + + +
          +
        • +

          getItemView

          +
          public View getItemView(T object,
          +               View v,
          +               ViewGroup parent)
          +
          Override this method to customize each cell given a ParseObject. +

          + If a view is not provided, a default view will be created based upon + android.R.layout.activity_list_item. +

          + This method expects a TextView with id android.R.id.text1 in your object views. + If ParseQueryAdapter.setImageKey(String) was used, this method also expects an ImageView with id + android.R.id.icon. +

          + This method displays the text value specified by the text key (set via + ParseQueryAdapter.setTextKey(String)) and an image (described by a ParseFile, under the key set + via ParseQueryAdapter.setImageKey(String)) if applicable. If the text key is not set, the value for + ParseObject.getObjectId() will be displayed instead.

          +
          Parameters:
          object - The ParseObject associated with this item.
          v - The View associated with this row. This view, if non-null, is being recycled + and intended to be used for displaying this item.
          parent - The parent that this view will eventually be attached to
          +
          Returns:
          The customized view displaying the ParseObject's information.
          +
        • +
        + + + +
          +
        • +

          getNextPageView

          +
          public View getNextPageView(View v,
          +                   ViewGroup parent)
          +
          Override this method to customize the "Load Next Page" cell, visible when pagination is turned + on and there may be more results to display. +

          + This method expects a TextView with id android.R.id.text1.

          +
          Parameters:
          v - The view object associated with this row + type (a "Next Page" view, instead of an + "Item" view).
          parent - The parent that this view will eventually be attached to
          +
          Returns:
          The view object that allows the user to paginate.
          +
        • +
        + + + + + + + +
          +
        • +

          setPageOnQuery

          +
          protected void setPageOnQuery(int page,
          +                  ParseQuery<T> query)
          +
          Override this method to manually paginate the provided ParseQuery. By default, this + method will set the limit value to ParseQueryAdapter.getObjectsPerPage() and the skip + value to ParseQueryAdapter.getObjectsPerPage() * page. +

          + Overriding this method will not be necessary, in most cases.

          +
          Parameters:
          page - the page number of results to fetch from Parse.
          query - the ParseQuery used to fetch items from Parse. This query will be mutated and + used in its mutated form.
          +
        • +
        + + + +
          +
        • +

          setTextKey

          +
          public void setTextKey(String textKey)
          +
        • +
        + + + +
          +
        • +

          setImageKey

          +
          public void setImageKey(String imageKey)
          +
        • +
        + + + +
          +
        • +

          setObjectsPerPage

          +
          public void setObjectsPerPage(int objectsPerPage)
          +
        • +
        + + + +
          +
        • +

          getObjectsPerPage

          +
          public int getObjectsPerPage()
          +
        • +
        + + + +
          +
        • +

          setPaginationEnabled

          +
          public void setPaginationEnabled(boolean paginationEnabled)
          +
          Enable or disable pagination of results. Defaults to true.
          +
          Parameters:
          paginationEnabled - Defaults to true.
          +
        • +
        + + + +
          +
        • +

          setPlaceholder

          +
          public void setPlaceholder(Drawable placeholder)
          +
          Sets a placeholder image to be used when fetching data for each item in the AdapterView + . Will not be used if ParseQueryAdapter.setImageKey(String) was not used to define which images to + display.
          +
          Parameters:
          placeholder - A Drawable to be displayed while the remote image data is being fetched. This + value can be null, and ImageViews in this AdapterView will simply be blank + while data is being fetched.
          +
        • +
        + + + +
          +
        • +

          setAutoload

          +
          public void setAutoload(boolean autoload)
          +
          Enable or disable the automatic loading of results upon attachment to an AdapterView. + Defaults to true.
          +
          Parameters:
          autoload - Defaults to true.
          +
        • +
        + + + + + + + + +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseRelation.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseRelation.html new file mode 100644 index 00000000..ba3efd17 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseRelation.html @@ -0,0 +1,262 @@ + + + + +ParseRelation + + + + + + + + + + +
    +
    com.parse
    +

    Class ParseRelation<T extends ParseObject>

    +
    +
    +
      +
    • Object
    • +
    • +
        +
      • com.parse.ParseRelation<T>
      • +
      +
    • +
    +
    +
      +
    • +
      +
      +
      public class ParseRelation<T extends ParseObject>
      +extends Object
      +
      A class that is used to access all of the children of a many-to-many relationship. Each instance + of Parse.Relation is associated with a particular parent object and key.
      +
    • +
    +
    +
    + +
    +
    +
      +
    • + +
        +
      • + + +

        Method Detail

        + + + + + +
          +
        • +

          add

          +
          public void add(T object)
          +
          Adds an object to this relation.
          +
          Parameters:
          object - The object to add to this relation.
          +
        • +
        + + + + + +
          +
        • +

          remove

          +
          public void remove(T object)
          +
          Removes an object from this relation.
          +
          Parameters:
          object - The object to remove from this relation.
          +
        • +
        + + + +
          +
        • +

          getQuery

          +
          public ParseQuery<T> getQuery()
          +
          Gets a query that can be used to query the objects in this relation.
          +
          Returns:
          A ParseQuery that restricts the results to objects in this relations.
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseRole.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseRole.html new file mode 100644 index 00000000..b6d199e7 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseRole.html @@ -0,0 +1,431 @@ + + + + +ParseRole + + + + + + + + + + +
    +
    com.parse
    +

    Class ParseRole

    +
    +
    + +
    +
      +
    • +
      +
      +
      public class ParseRole
      +extends ParseObject
      +
      Represents a Role on the Parse server. ParseRoles represent groupings of + ParseUsers for the purposes of granting permissions (e.g. specifying a ParseACL + for a ParseObject). Roles are specified by their sets of child users and child roles, all + of which are granted any permissions that the parent role has.
      +
      + Roles must have a name (which cannot be changed after creation of the role), and must specify an + ACL.
      +
    • +
    +
    +
    + +
    +
    +
      +
    • + +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          ParseRole

          +
          public ParseRole(String name)
          +
          Constructs a new ParseRole with the given name. If no default ACL has been specified, you must + provide an ACL for the role.
          +
          Parameters:
          name - The name of the Role to create.
          +
        • +
        + + + +
          +
        • +

          ParseRole

          +
          public ParseRole(String name,
          +         ParseACL acl)
          +
          Constructs a new ParseRole with the given name.
          +
          Parameters:
          name - The name of the Role to create.
          acl - The ACL for this role. Roles must have an ACL.
          +
        • +
        +
      • +
      + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          setName

          +
          public void setName(String name)
          +
          Sets the name for a role. This value must be set before the role has been saved to the server, + and cannot be set once the role has been saved.
          +
          + A role's name can only contain alphanumeric characters, _, -, and spaces.
          +
          Parameters:
          name - The name of the role.
          +
          Throws:
          +
          IllegalStateException - if the object has already been saved to the server.
          +
        • +
        + + + +
          +
        • +

          getName

          +
          public String getName()
          +
          Gets the name of the role.
          +
          Returns:
          the name of the role.
          +
        • +
        + + + +
          +
        • +

          getUsers

          +
          public ParseRelation<ParseUser> getUsers()
          +
          Gets the ParseRelation for the ParseUsers that are direct children of this + role. These users are granted any privileges that this role has been granted (e.g. read or + write access through ACLs). You can add or remove users from the role through this relation.
          +
          Returns:
          the relation for the users belonging to this role.
          +
        • +
        + + + +
          +
        • +

          getRoles

          +
          public ParseRelation<ParseRole> getRoles()
          +
          Gets the ParseRelation for the ParseRoles that are direct children of this + role. These roles' users are granted any privileges that this role has been granted (e.g. read + or write access through ACLs). You can add or remove child roles from this role through this + relation.
          +
          Returns:
          the relation for the roles belonging to this role.
          +
        • +
        + + + +
          +
        • +

          validateSave

          +
          protected void validateSave()
          +
        • +
        + + + +
          +
        • +

          put

          +
          public void put(String key,
          +       Object value)
          +
          Description copied from class: ParseObject
          +
          Add a key-value pair to this object. It is recommended to name keys in + camelCaseLikeThis.
          +
          +
          Overrides:
          +
          put in class ParseObject
          +
          Parameters:
          key - Keys must be alphanumerical plus underscore, and start with a letter.
          value - Values may be numerical, String, JSONObject, JSONArray, + JSONObject.NULL, or other ParseObjects. value may not be null.
          +
        • +
        + + + +
          +
        • +

          getQuery

          +
          public static ParseQuery<ParseRole> getQuery()
          +
          Gets a ParseQuery over the Role collection.
          +
          Returns:
          A new query over the Role collection.
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseSession.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseSession.html new file mode 100644 index 00000000..f4be8346 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseSession.html @@ -0,0 +1,335 @@ + + + + +ParseSession + + + + + + + + + + +
    +
    com.parse
    +

    Class ParseSession

    +
    +
    + +
    +
      +
    • +
      +
      +
      public class ParseSession
      +extends ParseObject
      +
      The ParseSession is a local representation of session data that can be saved + and retrieved from the Parse cloud.
      +
    • +
    +
    +
    + +
    +
    +
      +
    • + +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          ParseSession

          +
          public ParseSession()
          +
        • +
        +
      • +
      + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          getCurrentSessionInBackground

          +
          public static Task<ParseSession> getCurrentSessionInBackground()
          +
          Get the current ParseSession object related to the current user.
          +
          Returns:
          A task that resolves a ParseSession object or null if not valid or + logged in.
          +
        • +
        + + + +
          +
        • +

          getCurrentSessionInBackground

          +
          public static void getCurrentSessionInBackground(GetCallback<ParseSession> callback)
          +
          Get the current ParseSession object related to the current user.
          +
          Parameters:
          callback - A callback that returns a ParseSession object or null if not + valid or logged in.
          +
        • +
        + + + + + + + +
          +
        • +

          getSessionToken

          +
          public String getSessionToken()
          +
          Returns:
          the session token for a user, if they are logged in.
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseTwitterUtils.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseTwitterUtils.html new file mode 100644 index 00000000..aaa0a98e --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseTwitterUtils.html @@ -0,0 +1,570 @@ + + + + +ParseTwitterUtils + + + + + + + + + + +
    +
    com.parse
    +

    Class ParseTwitterUtils

    +
    +
    +
      +
    • Object
    • +
    • +
        +
      • com.parse.ParseTwitterUtils
      • +
      +
    • +
    +
    +
      +
    • +
      +
      +
      public final class ParseTwitterUtils
      +extends Object
      +
      Provides a set of utilities for using Parse with Twitter.
      +
    • +
    +
    +
    + +
    +
    +
      +
    • + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          getTwitter

          +
          public static com.parse.twitter.Twitter getTwitter()
          +
          Gets the shared Twitter singleton that Parse is using.
          +
          Returns:
          Twitter instance.
          +
        • +
        + + + + + + + +
          +
        • +

          isLinked

          +
          public static boolean isLinked(ParseUser user)
          +
          Returns:
          true if the user is linked to a Twitter account.
          +
        • +
        + + + +
          +
        • +

          linkInBackground

          +
          public static Task<Void> linkInBackground(Context context,
          +                          ParseUser user)
          +
          Links a ParseUser to a Twitter account, allowing you to use Twitter for authentication, and + providing access to Twitter data for the user. A dialog will be shown to the user for Twitter + authentication.
          +
          Parameters:
          user - The user to link to a Twitter account.
          context - An Android context from which the login dialog can be launched.
          +
          Returns:
          A Task that will be resolved when linking is completed.
          +
        • +
        + + + + + + + +
          +
        • +

          link

          +
          public static void link(ParseUser user,
          +        Context context,
          +        SaveCallback callback)
          +
          Links a ParseUser to a Twitter account, allowing you to use Twitter for authentication, and + providing access to Twitter data for the user. A dialog will be shown to the user for Twitter + authentication.
          +
          Parameters:
          user - The user to link to a Twitter account.
          context - An Android context from which the login dialog can be launched.
          callback - Callback for notifying the calling application when the Twitter authentication has + completed, failed, or been canceled.
          See Also:
          ParseTwitterUtils.linkInBackground(Context, ParseUser)
          +
        • +
        + + + +
          +
        • +

          linkInBackground

          +
          public static Task<Void> linkInBackground(ParseUser user,
          +                          String twitterId,
          +                          String screenName,
          +                          String authToken,
          +                          String authTokenSecret)
          +
          Links a ParseUser to a Twitter account, allowing you to use Twitter for authentication, and + providing access to Twitter data for the user. This method allows you to handle getting the + auth tokens for your users, rather than delegating to the provided dialog log-in.
          +
          Parameters:
          user - The user to link to a Twitter account.
          twitterId - The user's Twitter ID.
          screenName - The user's Twitter screen name.
          authToken - The auth token for the session.
          authTokenSecret - The auth token secret for the session.
          +
          Returns:
          A Task that will be resolved when linking is completed.
          +
        • +
        + + + + + + + +
          +
        • +

          link

          +
          public static void link(ParseUser user,
          +        String twitterId,
          +        String screenName,
          +        String authToken,
          +        String authTokenSecret,
          +        SaveCallback callback)
          +
          Links a ParseUser to a Twitter account, allowing you to use Twitter for authentication, and + providing access to Twitter data for the user. This method allows you to handle getting the + auth tokens for your users, rather than delegating to the provided dialog log-in.
          +
          Parameters:
          user - The user to link to a Twitter account.
          twitterId - The user's Twitter ID.
          screenName - The user's Twitter screen name.
          authToken - The auth token for the session.
          authTokenSecret - The auth token secret for the session.
          callback - Callback for notifying that the authentication data has been saved to the ParseUser.
          See Also:
          ParseTwitterUtils.linkInBackground(ParseUser, String, String, String, String)
          +
        • +
        + + + +
          +
        • +

          logInInBackground

          +
          public static Task<ParseUser> logInInBackground(String twitterId,
          +                                String screenName,
          +                                String authToken,
          +                                String authTokenSecret)
          +
          Logs in a ParseUser using Twitter for authentication. If a user for the given Twitter + credentials does not already exist, a new user will be created. This method allows you to + handle getting the auth tokens for your users, rather than delegating to the provided dialog + log-in.
          +
          Parameters:
          twitterId - The user's Twitter ID.
          screenName - The user's Twitter screen name.
          authToken - The auth token for the session.
          authTokenSecret - The auth token secret for the session.
          +
          Returns:
          A Task that will be resolved when logging in is completed.
          +
        • +
        + + + +
          +
        • +

          logIn

          +
          public static void logIn(String twitterId,
          +         String screenName,
          +         String authToken,
          +         String authTokenSecret,
          +         LogInCallback callback)
          +
          Logs in a ParseUser using Twitter for authentication. If a user for the given Twitter + credentials does not already exist, a new user will be created. This method allows you to + handle getting the auth tokens for your users, rather than delegating to the provided dialog + log-in.
          +
          Parameters:
          twitterId - The user's Twitter ID.
          screenName - The user's Twitter screen name.
          authToken - The auth token for the session.
          authTokenSecret - The auth token secret for the session.
          callback - Callback for notifying that the authentication data has been saved to the ParseUser.
          See Also:
          ParseTwitterUtils.logInInBackground(String, String, String, String)
          +
        • +
        + + + +
          +
        • +

          logInInBackground

          +
          public static Task<ParseUser> logInInBackground(Context context)
          +
          Logs in a ParseUser using Twitter for authentication. If a user for the given Twitter + credentials does not already exist, a new user will be created. A dialog will be shown to the + user for Twitter authentication.
          +
          Parameters:
          context - An Android context from which the login dialog can be launched.
          +
          Returns:
          A Task that will be resolved when logging in is completed.
          +
        • +
        + + + +
          +
        • +

          logIn

          +
          public static void logIn(Context context,
          +         LogInCallback callback)
          +
          Logs in a ParseUser using Twitter for authentication. If a user for the given Twitter + credentials does not already exist, a new user will be created. A dialog will be shown to the + user for Twitter authentication.
          +
          Parameters:
          context - An Android context from which the login dialog can be launched.
          callback - Callback for notifying the calling application when the Twitter authentication has + completed, failed, or been canceled.
          See Also:
          ParseTwitterUtils.logInInBackground(android.content.Context)
          +
        • +
        + + + +
          +
        • +

          unlink

          +
          public static void unlink(ParseUser user)
          +                   throws ParseException
          +
          Unlinks a user from a Twitter account. Unlinking a user will save the user's data.
          +
          Parameters:
          user - The user to unlink from a Facebook account.
          +
          Throws:
          +
          ParseException
          +
        • +
        + + + +
          +
        • +

          unlinkInBackground

          +
          public static Task<Void> unlinkInBackground(ParseUser user)
          +
          Unlinks a user from a Twitter account in the background. Unlinking a user will save the user's + data.
          +
          Parameters:
          user - The user to unlink from a Facebook account.
          +
          Returns:
          A Task that will be resolved when unlinking is completed.
          +
        • +
        + + + +
          +
        • +

          unlinkInBackground

          +
          public static void unlinkInBackground(ParseUser user,
          +                      SaveCallback callback)
          +
          Unlinks a user from a Twitter account in the background. Unlinking a user will save the user's + data.
          +
          Parameters:
          user - The user to unlink from a Facebook account.
          callback - Callback for notifying when unlinking is complete.
          See Also:
          ParseTwitterUtils.unlinkInBackground(ParseUser)
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseUser.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseUser.html new file mode 100644 index 00000000..fefd7172 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ParseUser.html @@ -0,0 +1,942 @@ + + + + +ParseUser + + + + + + + + + + +
    +
    com.parse
    +

    Class ParseUser

    +
    +
    + +
    +
      +
    • +
      +
      +
      public class ParseUser
      +extends ParseObject
      +
      The ParseUser is a local representation of user data that can be saved and retrieved from + the Parse cloud.
      +
    • +
    +
    +
    + +
    +
    +
      +
    • + +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          ParseUser

          +
          public ParseUser()
          +
          Constructs a new ParseUser with no data in it. A ParseUser constructed in this way will not + have an objectId and will not persist to the database until ParseUser.signUp() is called.
          +
        • +
        +
      • +
      + +
        +
      • + + +

        Method Detail

        + + + + + + + +
          +
        • +

          isAuthenticated

          +
          public boolean isAuthenticated()
          +
          Whether the ParseUser has been authenticated on this device. This will be true if the ParseUser + was obtained via a logIn or signUp method. Only an authenticated ParseUser can be saved (with + altered attributes) and deleted.
          +
        • +
        + + + +
          +
        • +

          remove

          +
          public void remove(String key)
          +
          Description copied from class: ParseObject
          +
          Removes a key from this object's data if it exists.
          +
          +
          Overrides:
          +
          remove in class ParseObject
          +
          Parameters:
          key - The key to remove.
          +
        • +
        + + + +
          +
        • +

          getSessionToken

          +
          public String getSessionToken()
          +
          Returns:
          the session token for a user, if they are logged in.
          +
        • +
        + + + +
          +
        • +

          setUsername

          +
          public void setUsername(String username)
          +
          Sets the username. Usernames cannot be null or blank.
          +
          Parameters:
          username - The username to set.
          +
        • +
        + + + +
          +
        • +

          getUsername

          +
          public String getUsername()
          +
          Retrieves the username.
          +
        • +
        + + + +
          +
        • +

          setPassword

          +
          public void setPassword(String password)
          +
          Sets the password.
          +
          Parameters:
          password - The password to set.
          +
        • +
        + + + +
          +
        • +

          setEmail

          +
          public void setEmail(String email)
          +
          Sets the email address.
          +
          Parameters:
          email - The email address to set.
          +
        • +
        + + + +
          +
        • +

          getEmail

          +
          public String getEmail()
          +
          Retrieves the email address.
          +
        • +
        + + + +
          +
        • +

          isNew

          +
          public boolean isNew()
          +
          Indicates whether this ParseUser was created during this session through a call to + ParseUser.signUp() or by logging in with a linked service such as Facebook.
          +
        • +
        + + + +
          +
        • +

          put

          +
          public void put(String key,
          +       Object value)
          +
          Description copied from class: ParseObject
          +
          Add a key-value pair to this object. It is recommended to name keys in + camelCaseLikeThis.
          +
          +
          Overrides:
          +
          put in class ParseObject
          +
          Parameters:
          key - Keys must be alphanumerical plus underscore, and start with a letter.
          value - Values may be numerical, String, JSONObject, JSONArray, + JSONObject.NULL, or other ParseObjects. value may not be null.
          +
        • +
        + + + +
          +
        • +

          fetch

          +
          public ParseUser fetch()
          +                throws ParseException
          +
          Description copied from class: ParseObject
          +
          Fetches this object with the data from the server. Call this whenever you want the state of the + object to reflect exactly what is on the server.
          +
          +
          Overrides:
          +
          fetch in class ParseObject
          +
          Returns:
          The ParseObject that was fetched.
          +
          Throws:
          +
          ParseException - Throws an exception if the server is inaccessible.
          +
        • +
        + + + +
          +
        • +

          signUpInBackground

          +
          public Task<Void> signUpInBackground()
          +
          Signs up a new user. You should call this instead of ParseObject.save() for new ParseUsers. This + will create a new ParseUser on the server, and also persist the session on disk so that you can + access the user using ParseUser.getCurrentUser(). +

          + A username and password must be set before calling signUp. +

          + This is preferable to using ParseUser.signUp(), unless your code is already running from a + background thread.

          +
          Returns:
          A Task that is resolved when sign up completes.
          +
        • +
        + + + +
          +
        • +

          signUp

          +
          public void signUp()
          +            throws ParseException
          +
          Signs up a new user. You should call this instead of ParseObject.save() for new ParseUsers. This + will create a new ParseUser on the server, and also persist the session on disk so that you can + access the user using ParseUser.getCurrentUser(). +

          + A username and password must be set before calling signUp. +

          + Typically, you should use ParseUser.signUpInBackground() instead of this, unless you are managing + your own threading.

          +
          Throws:
          +
          ParseException - Throws an exception if the server is inaccessible, or if the username has already + been taken.
          +
        • +
        + + + +
          +
        • +

          signUpInBackground

          +
          public void signUpInBackground(SignUpCallback callback)
          +
          Signs up a new user. You should call this instead of ParseObject.save() for new ParseUsers. This + will create a new ParseUser on the server, and also persist the session on disk so that you can + access the user using ParseUser.getCurrentUser(). +

          + A username and password must be set before calling signUp. +

          + This is preferable to using ParseUser.signUp(), unless your code is already running from a + background thread.

          +
          Parameters:
          callback - callback.done(user, e) is called when the signUp completes.
          +
        • +
        + + + +
          +
        • +

          logInInBackground

          +
          public static Task<ParseUser> logInInBackground(String username,
          +                                String password)
          +
          Logs in a user with a username and password. On success, this saves the session to disk, so you + can retrieve the currently logged in user using ParseUser.getCurrentUser(). +

          + This is preferable to using ParseUser.logIn(java.lang.String, java.lang.String), unless your code is already running from a + background thread.

          +
          Parameters:
          username - The username to log in with.
          password - The password to log in with.
          +
          Returns:
          A Task that is resolved when logging in completes.
          +
        • +
        + + + + + + + +
          +
        • +

          logInInBackground

          +
          public static void logInInBackground(String username,
          +                     String password,
          +                     LogInCallback callback)
          +
          Logs in a user with a username and password. On success, this saves the session to disk, so you + can retrieve the currently logged in user using ParseUser.getCurrentUser(). +

          + This is preferable to using ParseUser.logIn(java.lang.String, java.lang.String), unless your code is already running from a + background thread.

          +
          Parameters:
          username - The username to log in with.
          password - The password to log in with.
          callback - callback.done(user, e) is called when the login completes.
          +
        • +
        + + + +
          +
        • +

          becomeInBackground

          +
          public static Task<ParseUser> becomeInBackground(String sessionToken)
          +
          Authorize a user with a session token. On success, this saves the session to disk, so you can + retrieve the currently logged in user using ParseUser.getCurrentUser(). +

          + This is preferable to using ParseUser.become(java.lang.String), unless your code is already running from a + background thread.

          +
          Parameters:
          sessionToken - The session token to authorize with.
          +
          Returns:
          A Task that is resolved when authorization completes.
          +
        • +
        + + + +
          +
        • +

          become

          +
          public static ParseUser become(String sessionToken)
          +                        throws ParseException
          +
          Authorize a user with a session token. On success, this saves the session to disk, so you can + retrieve the currently logged in user using ParseUser.getCurrentUser(). +

          + Typically, you should use ParseUser.becomeInBackground(java.lang.String) instead of this, unless you are managing + your own threading.

          +
          Parameters:
          sessionToken - The session token to authorize with.
          +
          Returns:
          The user if the authorization was successful.
          +
          Throws:
          +
          ParseException - Throws an exception if the authorization was unsuccessful.
          +
        • +
        + + + +
          +
        • +

          becomeInBackground

          +
          public static void becomeInBackground(String sessionToken,
          +                      LogInCallback callback)
          +
          Authorize a user with a session token. On success, this saves the session to disk, so you can + retrieve the currently logged in user using ParseUser.getCurrentUser(). +

          + This is preferable to using ParseUser.become(java.lang.String), unless your code is already running from a + background thread.

          +
          Parameters:
          sessionToken - The session token to authorize with.
          callback - callback.done(user, e) is called when the authorization completes.
          +
        • +
        + + + +
          +
        • +

          getCurrentUser

          +
          public static ParseUser getCurrentUser()
          +
          This retrieves the currently logged in ParseUser with a valid session, either from memory or + disk if necessary.
          +
          Returns:
          The currently logged in ParseUser
          +
        • +
        + + + +
          +
        • +

          logOutInBackground

          +
          public static Task<Void> logOutInBackground()
          +
          Logs out the currently logged in user session. This will remove the session from disk, log out + of linked services, and future calls to ParseUser.getCurrentUser() will return null. +

          + This is preferable to using ParseUser.logOut(), unless your code is already running from a + background thread.

          +
          Returns:
          A Task that is resolved when logging out completes.
          +
        • +
        + + + +
          +
        • +

          logOutInBackground

          +
          public static void logOutInBackground(LogOutCallback callback)
          +
          Logs out the currently logged in user session. This will remove the session from disk, log out + of linked services, and future calls to ParseUser.getCurrentUser() will return null. +

          + This is preferable to using ParseUser.logOut(), unless your code is already running from a + background thread.

          +
        • +
        + + + +
          +
        • +

          logOut

          +
          public static void logOut()
          +
          Logs out the currently logged in user session. This will remove the session from disk, log out + of linked services, and future calls to ParseUser.getCurrentUser() will return null. +

          + Typically, you should use ParseUser.logOutInBackground() instead of this, unless you are + managing your own threading. +

          + Note:: Any errors in the log out flow will be swallowed due to + backward-compatibility reasons. Please use ParseUser.logOutInBackground() if you'd wish to + handle them.

          +
        • +
        + + + +
          +
        • +

          requestPasswordResetInBackground

          +
          public static Task<Void> requestPasswordResetInBackground(String email)
          +
          Requests a password reset email to be sent in a background thread to the specified email + address associated with the user account. This email allows the user to securely reset their + password on the Parse site. +

          + This is preferable to using ParseUser.requestPasswordReset(String), unless your code is already + running from a background thread.

          +
          Parameters:
          email - The email address associated with the user that forgot their password.
          +
          Returns:
          A Task that is resolved when the command completes.
          +
        • +
        + + + +
          +
        • +

          requestPasswordReset

          +
          public static void requestPasswordReset(String email)
          +                                 throws ParseException
          +
          Requests a password reset email to be sent to the specified email address associated with the + user account. This email allows the user to securely reset their password on the Parse site. +

          + Typically, you should use ParseUser.requestPasswordResetInBackground(java.lang.String) instead of this, unless you + are managing your own threading.

          +
          Parameters:
          email - The email address associated with the user that forgot their password.
          +
          Throws:
          +
          ParseException - Throws an exception if the server is inaccessible, or if an account with that email + doesn't exist.
          +
        • +
        + + + +
          +
        • +

          requestPasswordResetInBackground

          +
          public static void requestPasswordResetInBackground(String email,
          +                                    RequestPasswordResetCallback callback)
          +
          Requests a password reset email to be sent in a background thread to the specified email + address associated with the user account. This email allows the user to securely reset their + password on the Parse site. +

          + This is preferable to using ParseUser.requestPasswordReset(String), unless your code is already + running from a background thread.

          +
          Parameters:
          email - The email address associated with the user that forgot their password.
          callback - callback.done(e) is called when the request completes.
          +
        • +
        + + + + + + + +
          +
        • +

          enableAutomaticUser

          +
          public static void enableAutomaticUser()
          +
          Enables automatic creation of anonymous users. After calling this method, + ParseUser.getCurrentUser() will always have a value. The user will only be created on the server + once the user has been saved, or once an object with a relation to that user or an ACL that + refers to the user has been saved. +

          + Note: ParseObject.saveEventually() will not work if an item being + saved has a relation to an automatic user that has never been saved.

          +
        • +
        + + + +
          +
        • +

          enableRevocableSessionInBackground

          +
          public static Task<Void> enableRevocableSessionInBackground()
          +
          Enables revocable sessions. This method is only required if you wish to use + ParseSession APIs and do not have revocable sessions enabled in your application + settings on parse.com. +

          + Upon successful completion of this Task, ParseSession APIs will be available + for use.

          +
          Returns:
          A Task that will resolve when enabling revocable session
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ProgressCallback.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ProgressCallback.html new file mode 100644 index 00000000..2609467b --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/ProgressCallback.html @@ -0,0 +1,209 @@ + + + + +ProgressCallback + + + + + + + + + + +
    +
    com.parse
    +

    Interface ProgressCallback

    +
    +
    +
    +
      +
    • +
      +
      +
      public interface ProgressCallback
      +
      A ProgressCallback is used to get upload or download progress of a ParseFile + action. +

      + The easiest way to use a ProgressCallback is through an anonymous inner class.

      +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Method Summary

        + + + + + + + + + + +
        Methods 
        Modifier and TypeMethod and Description
        voiddone(Integer percentDone) +
        Override this function with your desired callback.
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          done

          +
          void done(Integer percentDone)
          +
          Override this function with your desired callback.
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/PushService.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/PushService.html new file mode 100644 index 00000000..fcc77995 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/PushService.html @@ -0,0 +1,680 @@ + + + + +PushService + + + + + + + + + + +
    +
    com.parse
    +

    Class PushService

    +
    +
    + +
    +
      +
    • +
      +
      All Implemented Interfaces:
      +
      ComponentCallbacks, ComponentCallbacks2
      +
      +
      +
      +
      public final class PushService
      +extends Service
      +
      A service to listen for push notifications. This operates in the same process as the parent + application. +

      + The PushService can listen to pushes from two different sources: Google Cloud Messaging + (GCM) or Parse's own push network. Parse will inspect your application's manifest at runtime and + determine which service to use for push. We recommend using GCM for push on devices that have + Google Play Store support. Parse uses its own push network for apps that want to avoid a + dependency on the Google Play Store, and for devices (like Kindles) which do not have Play Store + support. +

      + To configure the PushService for GCM, ensure these permission declarations are present in + your AndroidManifest.xml as children of the <manifest> element: +

      +

      + <uses-permission android:name="android.permission.INTERNET" />
      + <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
      + <uses-permission android:name="android.permission.VIBRATE" />
      + <uses-permission android:name="android.permission.WAKE_LOCK" />
      + <uses-permission android:name="android.permission.GET_ACCOUNTS" />
      + <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
      + <permission android:name="YOUR_PACKAGE_NAME.permission.C2D_MESSAGE"
      +   android:protectionLevel="signature" />
      + <uses-permission android:name="YOUR_PACKAGE_NAME.permission.C2D_MESSAGE" />
      + 
      +

      + Replace YOUR_PACKAGE_NAME in the declarations above with your application's package name. Also, + make sure that com.parse.GcmBroadcastReceiver and com.parse.PushService are declared as children + of the <application> element: +

      +

      + <service android:name="com.parse.PushService" />
      + <receiver android:name="com.parse.GcmBroadcastReceiver"
      +  android:permission="com.google.android.c2dm.permission.SEND">
      +   <intent-filter>
      +     <action android:name="com.google.android.c2dm.intent.RECEIVE" />
      +     <action android:name="com.google.android.c2dm.intent.REGISTRATION" />
      +     <category android:name="YOUR_PACKAGE_NAME" />
      +   </intent-filter>
      + </receiver>
      + 
      +

      + Again, replace YOUR_PACKAGE_NAME with your application's package name. +

      + To configure the PushService for Parse's push network, ensure these permission declarations are + present in your AndroidManifest.xml as children of the <manifest> element: +

      +

      + <uses-permission android:name="android.permission.INTERNET" />
      + <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
      + <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
      + <uses-permission android:name="android.permission.VIBRATE" />
      + <uses-permission android:name="android.permission.WAKE_LOCK" />
      + 
      +

      + Also, make sure that ParseBroadcastReceiver, PushService, and + ParsePushBroadcastReceiver are declared as children of the + <application> element: +

      +

      + <service android:name="com.parse.PushService" />
      + <receiver android:name="com.parse.ParseBroadcastReceiver">
      +   <intent-filter>
      +     <action android:name="android.intent.action.BOOT_COMPLETED" />
      +     <action android:name="android.intent.action.USER_PRESENT" />
      +   </intent-filter>
      + </receiver>
      + <receiver android:name="com.parse.ParsePushBroadcastReceiver" android:exported=false>
      +  <intent-filter>
      +     <action android:name="com.parse.push.intent.RECEIVE" />
      +     <action android:name="com.parse.push.intent.OPEN" />
      +     <action android:name="com.parse.push.intent.DELETE" />
      +   </intent-filter>
      + </receiver>
      + 
      +

      + Note that you can configure the push service for both GCM and Parse's network by adding all the + declarations above to your application's manifest. In this case, Parse will use GCM on devices + with Play Store support and fall back to using Parse's network on devices without Play Store + support. If you want to customize the way your app generates Notifications for your pushes, you + can register a custom subclass of ParsePushBroadcastReceiver. +

      + Once push notifications are configured in the manifest, you can subscribe to a push channel by + calling: +

      +

      + ParsePush.subscribeInBackground("the_channel_name");
      + 
      +

      + When the client receives a push message, a notification will appear in the system tray. When the + user taps the notification, it will broadcast the "com.parse.push.intent.OPEN" intent. + The ParsePushBroadcastReceiver listens to this intent to track an app open event and + launch the app's launcher activity. To customize this behavior override + ParsePushBroadcastReceiver.onPushOpen(Context, Intent).

      +
    • +
    +
    +
    + +
    +
    +
      +
    • + +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          PushService

          +
          public PushService()
          +
          Client code should not construct a PushService directly.
          +
        • +
        +
      • +
      + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          subscribe

          +
          @Deprecated
          +public static void subscribe(Context context,
          +                        String channel,
          +                        Class<? extends Activity> cls)
          + +
          Helper function to subscribe to push notifications with the default application icon.
          +
          Parameters:
          context - This is used to access local storage to cache the subscription, so it must currently + be a viable context.
          channel - A string identifier that determines which messages will cause a push notification to + be sent to this client. The channel name must start with a letter and contain only + letters, numbers, dashes, and underscores.
          cls - This should be a subclass of Activity. An instance of this Activity is started when + the user responds to this push notification. If you are not sure what to use here, + just use your application's main Activity subclass.
          +
          Throws:
          +
          IllegalArgumentException - if the channel name is not valid.
          See Also:
          ParsePush.subscribeInBackground(String), +ParsePushBroadcastReceiver
          +
        • +
        + + + +
          +
        • +

          subscribe

          +
          @Deprecated
          +public static void subscribe(Context context,
          +                        String channel,
          +                        Class<? extends Activity> cls,
          +                        int icon)
          + +
          Call this function when the user should be subscribed to a new push channel. When push + notifications are sent out on this channel subsequently, this device will display a "toast" + notification in the system tray. This function returns immediately, even when there is no + internet access. In that case the subscription is cached and when internet access is next + available the client will inform the server of its subscription. This starts a PushService + running in the background that will not permanently terminate as long as the user is subscribed + to some channel, unless the application is uninstalled.
          +
          Parameters:
          context - This is used to access local storage to cache the subscription, so it must currently + be a viable context.
          channel - A string identifier that determines which messages will cause a push notification to + be sent to this client. The channel name must start with a letter and contain only + letters, numbers, dashes, and underscores.
          cls - This should be a subclass of Activity. An instance of this Activity is started when + the user responds to this push notification. If you are not sure what to use here, + just use your application's main Activity subclass.
          icon - The icon to show for the notification.
          +
          Throws:
          +
          IllegalArgumentException - if the channel name is not valid.
          See Also:
          ParsePush.subscribeInBackground(String), +ParsePushBroadcastReceiver
          +
        • +
        + + + + + + + +
          +
        • +

          setDefaultPushCallback

          +
          @Deprecated
          +public static void setDefaultPushCallback(Context context,
          +                                     Class<? extends Activity> cls)
          +
          Deprecated. Please use ParsePushBroadcastReceiver instead.
          +
          Provides a default Activity class to handle pushes. Setting a default allows your program to + handle pushes that aren't registered with a subscribe call. This can happen when your + application changes its subscriptions directly through the ParseInstallation or via + push-to-query.
          +
          Parameters:
          context - This is used to access local storage to cache the subscription, so it must currently + be a viable context.
          cls - This should be a subclass of Activity. An instance of this Activity is started when + the user responds to this push notification. If you are not sure what to use here, + just use your application's main Activity subclass.
          See Also:
          ParsePushBroadcastReceiver.getActivity(Context, Intent)
          +
        • +
        + + + +
          +
        • +

          setDefaultPushCallback

          +
          @Deprecated
          +public static void setDefaultPushCallback(Context context,
          +                                     Class<? extends Activity> cls,
          +                                     int icon)
          +
          Deprecated. Please use ParsePushBroadcastReceiver instead.
          +
          Provides a default Activity class to handle pushes. Setting a default allows your program to + handle pushes that aren't registered with a subscribe call. This can happen when your + application changes its subscriptions directly through the ParseInstallation or via + push-to-query.
          +
          Parameters:
          context - This is used to access local storage to cache the subscription, so it must currently + be a viable context.
          cls - This should be a subclass of Activity. An instance of this Activity is started when + the user responds to this push notification. If you are not sure what to use here, + just use your application's main Activity subclass.
          icon - The icon to show for the notification.
          See Also:
          ParsePushBroadcastReceiver.getActivity(Context, Intent), +ParsePushBroadcastReceiver.PROPERTY_PUSH_ICON, +ParsePushBroadcastReceiver.getSmallIconId(Context, Intent)
          +
        • +
        + + + +
          +
        • +

          getSubscriptions

          +
          @Deprecated
          +public static Set<String> getSubscriptions(Context context)
          +
          Deprecated. Subscriptions are stored in the ParseInstallation "channels" field. + Use ParseInstallation.getCurrentInstallation().getList<String>("channels")
          +
          Accesses the current set of channels for which the current installation is subscribed. It is + important to remember that the device may receive pushes by means other than channels. This + method returns the local cache, so it returns without blocking on network IO. In rare + circumstances this may be stale, but only after the installation was edited via the REST API + using the master key.
          +
          Parameters:
          context - A currently viable Context.
          +
          Returns:
          A set containing all of the channels this application is currently subscribed to.
          +
        • +
        + + + +
          +
        • +

          onCreate

          +
          public void onCreate()
          +
          Client code should not call onCreate directly.
          +
          +
          Overrides:
          +
          onCreate in class Service
          +
          +
        • +
        + + + +
          +
        • +

          onStartCommand

          +
          public int onStartCommand(Intent intent,
          +                 int flags,
          +                 int startId)
          +
          +
          Overrides:
          +
          onStartCommand in class Service
          +
          +
        • +
        + + + +
          +
        • +

          onBind

          +
          public IBinder onBind(Intent intent)
          +
          Client code should not call onBind directly.
          +
          +
          Specified by:
          +
          onBind in class Service
          +
          +
        • +
        + + + +
          +
        • +

          onDestroy

          +
          public void onDestroy()
          +
          Client code should not call onDestroy directly.
          +
          +
          Overrides:
          +
          onDestroy in class Service
          +
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/RefreshCallback.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/RefreshCallback.html new file mode 100644 index 00000000..cd958517 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/RefreshCallback.html @@ -0,0 +1,231 @@ + + + + +RefreshCallback + + + + + + + + + + +
    +
    com.parse
    +

    Interface RefreshCallback

    +
    +
    +
    +
      +
    • +
      +
      +
      public interface RefreshCallback
      +
      A RefreshCallback is used to run code after refresh is used to update a ParseObject in a + background thread. +

      + The easiest way to use a RefreshCallback is through an anonymous inner class. Override + the done function to specify what the callback should do after the refresh is complete. + The done function will be run in the UI thread, while the refresh happens in a + background thread. This ensures that the UI does not freeze while the refresh happens. +

      + For example, this sample code refreshes an object of class "MyClass" and id + myId. It calls a different function depending on whether the refresh succeeded or + not. +

      +

      + object.refreshInBackground(new RefreshCallback() {
      +   public void done(ParseObject object, ParseException e) {
      +     if (e == null) {
      +       objectWasRefreshedSuccessfully(object);
      +     } else {
      +       objectRefreshFailed();
      +     }
      +   }
      + });
      + 
      +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Method Summary

        + + + + + + + + + + +
        Methods 
        Modifier and TypeMethod and Description
        voiddone(ParseObject object, + ParseException e) +
        Override this function with the code you want to run after the save is complete.
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          done

          +
          void done(ParseObject object,
          +        ParseException e)
          +
          Override this function with the code you want to run after the save is complete.
          +
          Parameters:
          object - The object that was refreshed, or null if it did not succeed.
          e - The exception raised by the login, or null if it succeeded.
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/RequestPasswordResetCallback.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/RequestPasswordResetCallback.html new file mode 100644 index 00000000..3999d1bb --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/RequestPasswordResetCallback.html @@ -0,0 +1,231 @@ + + + + +RequestPasswordResetCallback + + + + + + + + + + +
    +
    com.parse
    +

    Interface RequestPasswordResetCallback

    +
    +
    +
    +
      +
    • +
      +
      +
      public interface RequestPasswordResetCallback
      +
      A RequestPasswordResetCallback is used to run code requesting a password reset for a + user. +

      + The easiest way to use a RequestPasswordResetCallback is through an anonymous inner + class. Override the done function to specify what the callback should do after the + request is complete. The done function will be run in the UI thread, while the request + happens in a background thread. This ensures that the UI does not freeze while the request + happens. +

      + For example, this sample code requests a password reset for a user and calls a different function + depending on whether the request succeeded or not. +

      +

      + ParseUser.requestPasswordResetInBackground("forgetful@example.com",
      +     new RequestPasswordResetCallback() {
      +       public void done(ParseException e) {
      +         if (e == null) {
      +           requestedSuccessfully();
      +         } else {
      +           requestDidNotSucceed();
      +         }
      +       }
      +     });
      + 
      +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Method Summary

        + + + + + + + + + + +
        Methods 
        Modifier and TypeMethod and Description
        voiddone(ParseException e) +
        Override this function with the code you want to run after the request is complete.
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          done

          +
          void done(ParseException e)
          +
          Override this function with the code you want to run after the request is complete.
          +
          Parameters:
          e - The exception raised by the save, or null if no account is associated with the + email address.
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/SaveCallback.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/SaveCallback.html new file mode 100644 index 00000000..f20743ad --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/SaveCallback.html @@ -0,0 +1,228 @@ + + + + +SaveCallback + + + + + + + + + + +
    +
    com.parse
    +

    Interface SaveCallback

    +
    +
    +
    +
      +
    • +
      +
      +
      public interface SaveCallback
      +
      A SaveCallback is used to run code after saving a ParseObject in a background + thread. +

      + The easiest way to use a SaveCallback is through an anonymous inner class. Override the + done function to specify what the callback should do after the save is complete. The + done function will be run in the UI thread, while the save happens in a background + thread. This ensures that the UI does not freeze while the save happens. +

      + For example, this sample code saves the object myObject and calls a different + function depending on whether the save succeeded or not. +

      +

      + myObject.saveInBackground(new SaveCallback() {
      +   public void done(ParseException e) {
      +     if (e == null) {
      +       myObjectSavedSuccessfully();
      +     } else {
      +       myObjectSaveDidNotSucceed();
      +     }
      +   }
      + });
      + 
      +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Method Summary

        + + + + + + + + + + +
        Methods 
        Modifier and TypeMethod and Description
        voiddone(ParseException e) +
        Override this function with the code you want to run after the save is complete.
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          done

          +
          void done(ParseException e)
          +
          Override this function with the code you want to run after the save is complete.
          +
          Parameters:
          e - The exception raised by the save, or null if it succeeded.
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/SendCallback.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/SendCallback.html new file mode 100644 index 00000000..e506344d --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/SendCallback.html @@ -0,0 +1,231 @@ + + + + +SendCallback + + + + + + + + + + +
    +
    com.parse
    +

    Interface SendCallback

    +
    +
    +
    +
      +
    • +
      +
      +
      public interface SendCallback
      +
      A SendCallback is used to run code after sending a ParsePush in a background + thread. +

      + The easiest way to use a SendCallback is through an anonymous inner class. Override the + done function to specify what the callback should do after the send is complete. The + done function will be run in the UI thread, while the send happens in a background + thread. This ensures that the UI does not freeze while the send happens. +

      + For example, this sample code sends the message "Hello world" on the + "hello" channel and logs whether the send succeeded. +

      +

      + ParsePush push = new ParsePush();
      + push.setChannel("hello");
      + push.setMessage("Hello world!");
      + push.sendInBackground(new SendCallback() {
      +   public void done(ParseException e) {
      +     if (e == null) {
      +       Log.d("push", "success!");
      +     } else {
      +       Log.d("push", "failure");
      +     }
      +   }
      + });
      + 
      +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Method Summary

        + + + + + + + + + + +
        Methods 
        Modifier and TypeMethod and Description
        voiddone(ParseException e) +
        Override this function with the code you want to run after the send is complete.
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          done

          +
          void done(ParseException e)
          +
          Override this function with the code you want to run after the send is complete.
          +
          Parameters:
          e - The exception raised by the send, or null if it succeeded.
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/SignUpCallback.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/SignUpCallback.html new file mode 100644 index 00000000..7ad0f3de --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/SignUpCallback.html @@ -0,0 +1,229 @@ + + + + +SignUpCallback + + + + + + + + + + +
    +
    com.parse
    +

    Interface SignUpCallback

    +
    +
    +
    +
      +
    • +
      +
      +
      public interface SignUpCallback
      +
      A SignUpCallback is used to run code after signing up a ParseUser in a background + thread. +

      + The easiest way to use a SignUpCallback is through an anonymous inner class. Override the + done function to specify what the callback should do after the save is complete. The + done function will be run in the UI thread, while the signup happens in a background + thread. This ensures that the UI does not freeze while the signup happens. +

      + For example, this sample code signs up the object myUser and calls a different + function depending on whether the signup succeeded or not. +

      + +

      + myUser.signUpInBackground(new SignUpCallback() {
      +   public void done(ParseException e) {
      +     if (e == null) {
      +       myUserSignedUpSuccessfully();
      +     } else {
      +       myUserSignUpDidNotSucceed();
      +     }
      +   }
      + });
      + 
      +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Method Summary

        + + + + + + + + + + +
        Methods 
        Modifier and TypeMethod and Description
        voiddone(ParseException e) +
        Override this function with the code you want to run after the signUp is complete.
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          done

          +
          void done(ParseException e)
          +
          Override this function with the code you want to run after the signUp is complete.
          +
          Parameters:
          e - The exception raised by the signUp, or null if it succeeded.
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ConfigCallback.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ConfigCallback.html new file mode 100644 index 00000000..c95b52e1 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ConfigCallback.html @@ -0,0 +1,138 @@ + + + + +Uses of Interface com.parse.ConfigCallback + + + + + + + + + +
    +

    Uses of Interface
    com.parse.ConfigCallback

    +
    +
    + +
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/CountCallback.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/CountCallback.html new file mode 100644 index 00000000..05f0d33a --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/CountCallback.html @@ -0,0 +1,138 @@ + + + + +Uses of Interface com.parse.CountCallback + + + + + + + + + +
    +

    Uses of Interface
    com.parse.CountCallback

    +
    +
    + +
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/DeleteCallback.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/DeleteCallback.html new file mode 100644 index 00000000..73ea261a --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/DeleteCallback.html @@ -0,0 +1,193 @@ + + + + +Uses of Interface com.parse.DeleteCallback + + + + + + + + + +
    +

    Uses of Interface
    com.parse.DeleteCallback

    +
    +
    + +
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/FindCallback.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/FindCallback.html new file mode 100644 index 00000000..45d8dad7 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/FindCallback.html @@ -0,0 +1,153 @@ + + + + +Uses of Interface com.parse.FindCallback + + + + + + + + + +
    +

    Uses of Interface
    com.parse.FindCallback

    +
    +
    + +
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/FunctionCallback.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/FunctionCallback.html new file mode 100644 index 00000000..404beec2 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/FunctionCallback.html @@ -0,0 +1,140 @@ + + + + +Uses of Interface com.parse.FunctionCallback + + + + + + + + + +
    +

    Uses of Interface
    com.parse.FunctionCallback

    +
    +
    + +
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/GetCallback.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/GetCallback.html new file mode 100644 index 00000000..570a4e13 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/GetCallback.html @@ -0,0 +1,172 @@ + + + + +Uses of Interface com.parse.GetCallback + + + + + + + + + +
    +

    Uses of Interface
    com.parse.GetCallback

    +
    +
    + +
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/GetDataCallback.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/GetDataCallback.html new file mode 100644 index 00000000..47a94c6e --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/GetDataCallback.html @@ -0,0 +1,151 @@ + + + + +Uses of Interface com.parse.GetDataCallback + + + + + + + + + +
    +

    Uses of Interface
    com.parse.GetDataCallback

    +
    +
    + +
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/LocationCallback.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/LocationCallback.html new file mode 100644 index 00000000..5ea3026f --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/LocationCallback.html @@ -0,0 +1,147 @@ + + + + +Uses of Interface com.parse.LocationCallback + + + + + + + + + +
    +

    Uses of Interface
    com.parse.LocationCallback

    +
    +
    + +
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/LogInCallback.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/LogInCallback.html new file mode 100644 index 00000000..fea09611 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/LogInCallback.html @@ -0,0 +1,170 @@ + + + + +Uses of Interface com.parse.LogInCallback + + + + + + + + + +
    +

    Uses of Interface
    com.parse.LogInCallback

    +
    +
    + +
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/LogOutCallback.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/LogOutCallback.html new file mode 100644 index 00000000..8e0a6800 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/LogOutCallback.html @@ -0,0 +1,138 @@ + + + + +Uses of Interface com.parse.LogOutCallback + + + + + + + + + +
    +

    Uses of Interface
    com.parse.LogOutCallback

    +
    +
    + +
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/Parse.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/Parse.html new file mode 100644 index 00000000..5e0b65b2 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/Parse.html @@ -0,0 +1,111 @@ + + + + +Uses of Class com.parse.Parse + + + + + + + + + +
    +

    Uses of Class
    com.parse.Parse

    +
    +
    No usage of com.parse.Parse
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseACL.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseACL.html new file mode 100644 index 00000000..8704b43c --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseACL.html @@ -0,0 +1,174 @@ + + + + +Uses of Class com.parse.ParseACL + + + + + + + + + +
    +

    Uses of Class
    com.parse.ParseACL

    +
    +
    + +
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseAnalytics.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseAnalytics.html new file mode 100644 index 00000000..faa3ce53 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseAnalytics.html @@ -0,0 +1,111 @@ + + + + +Uses of Class com.parse.ParseAnalytics + + + + + + + + + +
    +

    Uses of Class
    com.parse.ParseAnalytics

    +
    +
    No usage of com.parse.ParseAnalytics
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseAnonymousUtils.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseAnonymousUtils.html new file mode 100644 index 00000000..aa086fe1 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseAnonymousUtils.html @@ -0,0 +1,111 @@ + + + + +Uses of Class com.parse.ParseAnonymousUtils + + + + + + + + + +
    +

    Uses of Class
    com.parse.ParseAnonymousUtils

    +
    +
    No usage of com.parse.ParseAnonymousUtils
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseClassName.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseClassName.html new file mode 100644 index 00000000..0a4de916 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseClassName.html @@ -0,0 +1,159 @@ + + + + +Uses of Class com.parse.ParseClassName + + + + + + + + + +
    +

    Uses of Class
    com.parse.ParseClassName

    +
    +
    +
      +
    • +
        +
      • + + +

        Uses of ParseClassName in com.parse

        + + + + + + + + + + + + + + + + + + + + + + + + +
        Classes in com.parse with annotations of type ParseClassName 
        Modifier and TypeClass and Description
        class ParseInstallation +
        The ParseInstallation is a local representation of installation data that can be saved + and retrieved from the Parse cloud.
        +
        class ParseRole +
        Represents a Role on the Parse server.
        +
        class ParseSession +
        The ParseSession is a local representation of session data that can be saved + and retrieved from the Parse cloud.
        +
        class ParseUser +
        The ParseUser is a local representation of user data that can be saved and retrieved from + the Parse cloud.
        +
        +
      • +
      +
    • +
    +
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseCloud.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseCloud.html new file mode 100644 index 00000000..0c881c7f --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseCloud.html @@ -0,0 +1,111 @@ + + + + +Uses of Class com.parse.ParseCloud + + + + + + + + + +
    +

    Uses of Class
    com.parse.ParseCloud

    +
    +
    No usage of com.parse.ParseCloud
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseConfig.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseConfig.html new file mode 100644 index 00000000..b3e9b708 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseConfig.html @@ -0,0 +1,176 @@ + + + + +Uses of Class com.parse.ParseConfig + + + + + + + + + +
    +

    Uses of Class
    com.parse.ParseConfig

    +
    +
    +
      +
    • +
        +
      • + + +

        Uses of ParseConfig in com.parse

        + + + + + + + + + + + + + + + + +
        Methods in com.parse that return ParseConfig 
        Modifier and TypeMethod and Description
        static ParseConfigParseConfig.get() +
        Fetches a new configuration object from the server.
        +
        static ParseConfigParseConfig.getCurrentConfig() +
        Retrieves the most recently-fetched configuration object, either from memory or + disk if necessary.
        +
        + + + + + + + + + + + + +
        Methods in com.parse that return types with arguments of type ParseConfig 
        Modifier and TypeMethod and Description
        static Task<ParseConfig>ParseConfig.getInBackground() +
        Fetches a new configuration object from the server in a background thread.
        +
        + + + + + + + + + + + + +
        Methods in com.parse with parameters of type ParseConfig 
        Modifier and TypeMethod and Description
        voidConfigCallback.done(ParseConfig config, + ParseException e) +
        Override this function with the code you want to run after the fetch is complete.
        +
        +
      • +
      +
    • +
    +
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseException.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseException.html new file mode 100644 index 00000000..d7ae3197 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseException.html @@ -0,0 +1,461 @@ + + + + +Uses of Class com.parse.ParseException + + + + + + + + + +
    +

    Uses of Class
    com.parse.ParseException

    +
    +
    +
      +
    • +
        +
      • + + +

        Uses of ParseException in com.parse

        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
        Methods in com.parse with parameters of type ParseException 
        Modifier and TypeMethod and Description
        voidGetDataCallback.done(byte[] data, + ParseException e) +
        Override this function with the code you want to run after the fetch is complete.
        +
        voidCountCallback.done(int count, + ParseException e) +
        Override this function with the code you want to run after the count is complete.
        +
        voidFindCallback.done(List<T> objects, + ParseException e) +
        Override this function with the code you want to run after the fetch is complete.
        +
        voidConfigCallback.done(ParseConfig config, + ParseException e) +
        Override this function with the code you want to run after the fetch is complete.
        +
        voidSignUpCallback.done(ParseException e) +
        Override this function with the code you want to run after the signUp is complete.
        +
        voidSendCallback.done(ParseException e) +
        Override this function with the code you want to run after the send is complete.
        +
        voidSaveCallback.done(ParseException e) +
        Override this function with the code you want to run after the save is complete.
        +
        voidRequestPasswordResetCallback.done(ParseException e) +
        Override this function with the code you want to run after the request is complete.
        +
        voidLogOutCallback.done(ParseException e) +
        Override this function with the code you want to run after the save is complete.
        +
        voidDeleteCallback.done(ParseException e) +
        Override this function with the code you want to run after the delete is complete.
        +
        voidLocationCallback.done(ParseGeoPoint geoPoint, + ParseException e) +
        Override this function with the code you want to run after the location fetch is complete.
        +
        voidRefreshCallback.done(ParseObject object, + ParseException e) +
        Override this function with the code you want to run after the save is complete.
        +
        voidLogInCallback.done(ParseUser user, + ParseException e) +
        Override this function with the code you want to run after the save is complete.
        +
        voidGetCallback.done(T object, + ParseException e) +
        Override this function with the code you want to run after the fetch is complete.
        +
        voidFunctionCallback.done(T object, + ParseException e) +
        Override this function with the code you want to run after the cloud function is complete.
        +
        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
        Methods in com.parse that throw ParseException 
        Modifier and TypeMethod and Description
        static ParseUserParseUser.become(String sessionToken) +
        Authorize a user with a session token.
        +
        static <T> TParseCloud.callFunction(String name, + Map<String,?> params) +
        Calls a cloud function.
        +
        intParseQuery.count() +
        Counts the number of objects that match this query.
        +
        voidParseObject.delete() +
        Deletes this object on the server.
        +
        static <T extends ParseObject
        void
        ParseObject.deleteAll(List<T> objects) +
        Deletes each object in the provided list.
        +
        ParseUserParseUser.fetch() 
        <T extends ParseObject
        T
        ParseObject.fetch() +
        Fetches this object with the data from the server.
        +
        static <T extends ParseObject
        List<T>
        ParseObject.fetchAll(List<T> objects) +
        Fetches all the objects in the provided list.
        +
        static <T extends ParseObject
        List<T>
        ParseObject.fetchAllIfNeeded(List<T> objects) +
        Fetches all the objects that don't have data in the provided list.
        +
        voidParseObject.fetchFromLocalDatastore() +
        Loads data from the local datastore into this object, if it has not been fetched from the + server already.
        +
        ParseUserParseUser.fetchIfNeeded() 
        <T extends ParseObject
        T
        ParseObject.fetchIfNeeded() +
        If this ParseObject has not been fetched (i.e.
        +
        List<T>ParseQuery.find() +
        Retrieves a list of ParseObjects that satisfy this query.
        +
        static ParseConfigParseConfig.get() +
        Fetches a new configuration object from the server.
        +
        TParseQuery.get(String objectId) +
        Constructs a ParseObject whose id is already known by fetching data from the source.
        +
        byte[]ParseFile.getData() +
        Synchronously gets the data for this object.
        +
        TParseQuery.getFirst() +
        Retrieves at most one ParseObject that satisfies this query.
        +
        static ParseUserParseUser.logIn(String username, + String password) +
        Logs in a user with a username and password.
        +
        voidParseObject.pin() +
        Stores the object and every object it points to in the local datastore, recursively.
        +
        voidParseObject.pin(String name) +
        Stores the object and every object it points to in the local datastore, recursively.
        +
        static <T extends ParseObject
        void
        ParseObject.pinAll(List<T> objects) +
        Stores the objects and every object they point to in the local datastore, recursively.
        +
        static <T extends ParseObject
        void
        ParseObject.pinAll(String name, + List<T> objects) +
        Stores the objects and every object they point to in the local datastore, recursively.
        +
        voidParseObject.refresh() +
        Deprecated.  +
        Please use ParseObject.fetch() instead.
        +
        +
        static voidParseUser.requestPasswordReset(String email) +
        Requests a password reset email to be sent to the specified email address associated with the + user account.
        +
        voidParseObject.save() +
        Saves this object to the server.
        +
        voidParseFile.save() +
        Saves the file to the Parse cloud synchronously.
        +
        static <T extends ParseObject
        void
        ParseObject.saveAll(List<T> objects) +
        Saves each object in the provided list.
        +
        voidParsePush.send() +
        Sends this push notification while blocking this thread until the push notification has + successfully reached the Parse servers.
        +
        voidParseUser.signUp() +
        Signs up a new user.
        +
        static voidParseTwitterUtils.unlink(ParseUser user) +
        Unlinks a user from a Twitter account.
        +
        voidParseObject.unpin() +
        Removes the object and every object it points to in the local datastore, recursively.
        +
        voidParseObject.unpin(String name) +
        Removes the object and every object it points to in the local datastore, recursively.
        +
        static voidParseObject.unpinAll() +
        Removes the objects and every object they point to in the local datastore, recursively.
        +
        static <T extends ParseObject
        void
        ParseObject.unpinAll(List<T> objects) +
        Removes the objects and every object they point to in the local datastore, recursively.
        +
        static voidParseObject.unpinAll(String name) +
        Removes the objects and every object they point to in the local datastore, recursively.
        +
        static <T extends ParseObject
        void
        ParseObject.unpinAll(String name, + List<T> objects) +
        Removes the objects and every object they point to in the local datastore, recursively.
        +
        +
      • +
      +
    • +
    +
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseFile.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseFile.html new file mode 100644 index 00000000..71748c4c --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseFile.html @@ -0,0 +1,173 @@ + + + + +Uses of Class com.parse.ParseFile + + + + + + + + + +
    +

    Uses of Class
    com.parse.ParseFile

    +
    +
    + +
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseGeoPoint.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseGeoPoint.html new file mode 100644 index 00000000..4a682191 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseGeoPoint.html @@ -0,0 +1,258 @@ + + + + +Uses of Class com.parse.ParseGeoPoint + + + + + + + + + +
    +

    Uses of Class
    com.parse.ParseGeoPoint

    +
    +
    + +
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseImageView.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseImageView.html new file mode 100644 index 00000000..2bf48612 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseImageView.html @@ -0,0 +1,111 @@ + + + + +Uses of Class com.parse.ParseImageView + + + + + + + + + +
    +

    Uses of Class
    com.parse.ParseImageView

    +
    +
    No usage of com.parse.ParseImageView
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseInstallation.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseInstallation.html new file mode 100644 index 00000000..1da17990 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseInstallation.html @@ -0,0 +1,196 @@ + + + + +Uses of Class com.parse.ParseInstallation + + + + + + + + + +
    +

    Uses of Class
    com.parse.ParseInstallation

    +
    +
    + +
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseObject.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseObject.html new file mode 100644 index 00000000..bddfd078 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseObject.html @@ -0,0 +1,548 @@ + + + + +Uses of Class com.parse.ParseObject + + + + + + + + + +
    +

    Uses of Class
    com.parse.ParseObject

    +
    +
    + +
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParsePush.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParsePush.html new file mode 100644 index 00000000..065aa78f --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParsePush.html @@ -0,0 +1,111 @@ + + + + +Uses of Class com.parse.ParsePush + + + + + + + + + +
    +

    Uses of Class
    com.parse.ParsePush

    +
    +
    No usage of com.parse.ParsePush
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParsePushBroadcastReceiver.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParsePushBroadcastReceiver.html new file mode 100644 index 00000000..477485b7 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParsePushBroadcastReceiver.html @@ -0,0 +1,111 @@ + + + + +Uses of Class com.parse.ParsePushBroadcastReceiver + + + + + + + + + +
    +

    Uses of Class
    com.parse.ParsePushBroadcastReceiver

    +
    +
    No usage of com.parse.ParsePushBroadcastReceiver
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseQuery.CachePolicy.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseQuery.CachePolicy.html new file mode 100644 index 00000000..2b862467 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseQuery.CachePolicy.html @@ -0,0 +1,164 @@ + + + + +Uses of Class com.parse.ParseQuery.CachePolicy + + + + + + + + + +
    +

    Uses of Class
    com.parse.ParseQuery.CachePolicy

    +
    +
    + +
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseQuery.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseQuery.html new file mode 100644 index 00000000..f478e8a2 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseQuery.html @@ -0,0 +1,583 @@ + + + + +Uses of Class com.parse.ParseQuery + + + + + + + + + +
    +

    Uses of Class
    com.parse.ParseQuery

    +
    +
    + +
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseQueryAdapter.OnQueryLoadListener.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseQueryAdapter.OnQueryLoadListener.html new file mode 100644 index 00000000..3d928d56 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseQueryAdapter.OnQueryLoadListener.html @@ -0,0 +1,140 @@ + + + + +Uses of Interface com.parse.ParseQueryAdapter.OnQueryLoadListener + + + + + + + + + +
    +

    Uses of Interface
    com.parse.ParseQueryAdapter.OnQueryLoadListener

    +
    +
    + +
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseQueryAdapter.QueryFactory.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseQueryAdapter.QueryFactory.html new file mode 100644 index 00000000..7f0afa87 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseQueryAdapter.QueryFactory.html @@ -0,0 +1,144 @@ + + + + +Uses of Interface com.parse.ParseQueryAdapter.QueryFactory + + + + + + + + + +
    +

    Uses of Interface
    com.parse.ParseQueryAdapter.QueryFactory

    +
    +
    + +
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseQueryAdapter.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseQueryAdapter.html new file mode 100644 index 00000000..4cb448c5 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseQueryAdapter.html @@ -0,0 +1,111 @@ + + + + +Uses of Class com.parse.ParseQueryAdapter + + + + + + + + + +
    +

    Uses of Class
    com.parse.ParseQueryAdapter

    +
    +
    No usage of com.parse.ParseQueryAdapter
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseRelation.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseRelation.html new file mode 100644 index 00000000..014f78b3 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseRelation.html @@ -0,0 +1,152 @@ + + + + +Uses of Class com.parse.ParseRelation + + + + + + + + + +
    +

    Uses of Class
    com.parse.ParseRelation

    +
    +
    + +
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseRole.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseRole.html new file mode 100644 index 00000000..e83ea7c3 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseRole.html @@ -0,0 +1,180 @@ + + + + +Uses of Class com.parse.ParseRole + + + + + + + + + +
    +

    Uses of Class
    com.parse.ParseRole

    +
    +
    + +
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseSession.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseSession.html new file mode 100644 index 00000000..72e153d4 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseSession.html @@ -0,0 +1,159 @@ + + + + +Uses of Class com.parse.ParseSession + + + + + + + + + +
    +

    Uses of Class
    com.parse.ParseSession

    +
    +
    + +
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseTwitterUtils.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseTwitterUtils.html new file mode 100644 index 00000000..cb57265d --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseTwitterUtils.html @@ -0,0 +1,111 @@ + + + + +Uses of Class com.parse.ParseTwitterUtils + + + + + + + + + +
    +

    Uses of Class
    com.parse.ParseTwitterUtils

    +
    +
    No usage of com.parse.ParseTwitterUtils
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseUser.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseUser.html new file mode 100644 index 00000000..c7f15835 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ParseUser.html @@ -0,0 +1,376 @@ + + + + +Uses of Class com.parse.ParseUser + + + + + + + + + +
    +

    Uses of Class
    com.parse.ParseUser

    +
    +
    + +
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ProgressCallback.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ProgressCallback.html new file mode 100644 index 00000000..2ddf5647 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/ProgressCallback.html @@ -0,0 +1,158 @@ + + + + +Uses of Interface com.parse.ProgressCallback + + + + + + + + + +
    +

    Uses of Interface
    com.parse.ProgressCallback

    +
    +
    + +
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/PushService.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/PushService.html new file mode 100644 index 00000000..8accdbbf --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/PushService.html @@ -0,0 +1,111 @@ + + + + +Uses of Class com.parse.PushService + + + + + + + + + +
    +

    Uses of Class
    com.parse.PushService

    +
    +
    No usage of com.parse.PushService
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/RefreshCallback.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/RefreshCallback.html new file mode 100644 index 00000000..0a1b6945 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/RefreshCallback.html @@ -0,0 +1,140 @@ + + + + +Uses of Interface com.parse.RefreshCallback + + + + + + + + + +
    +

    Uses of Interface
    com.parse.RefreshCallback

    +
    +
    + +
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/RequestPasswordResetCallback.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/RequestPasswordResetCallback.html new file mode 100644 index 00000000..0f9af2f3 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/RequestPasswordResetCallback.html @@ -0,0 +1,140 @@ + + + + +Uses of Interface com.parse.RequestPasswordResetCallback + + + + + + + + + +
    +

    Uses of Interface
    com.parse.RequestPasswordResetCallback

    +
    +
    + +
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/SaveCallback.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/SaveCallback.html new file mode 100644 index 00000000..04a7ed12 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/SaveCallback.html @@ -0,0 +1,261 @@ + + + + +Uses of Interface com.parse.SaveCallback + + + + + + + + + +
    +

    Uses of Interface
    com.parse.SaveCallback

    +
    +
    + +
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/SendCallback.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/SendCallback.html new file mode 100644 index 00000000..1d3b05f1 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/SendCallback.html @@ -0,0 +1,154 @@ + + + + +Uses of Interface com.parse.SendCallback + + + + + + + + + +
    +

    Uses of Interface
    com.parse.SendCallback

    +
    +
    + +
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/SignUpCallback.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/SignUpCallback.html new file mode 100644 index 00000000..aec2111f --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/class-use/SignUpCallback.html @@ -0,0 +1,138 @@ + + + + +Uses of Interface com.parse.SignUpCallback + + + + + + + + + +
    +

    Uses of Interface
    com.parse.SignUpCallback

    +
    +
    + +
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/package-frame.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/package-frame.html new file mode 100644 index 00000000..1c155720 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/package-frame.html @@ -0,0 +1,70 @@ + + + + +com.parse + + + +

    com.parse

    + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/package-summary.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/package-summary.html new file mode 100644 index 00000000..d4e6f486 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/package-summary.html @@ -0,0 +1,448 @@ + + + + +com.parse + + + + + + + + + +
    +

    Package com.parse

    +
    +
    +
      +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Interface Summary 
      InterfaceDescription
      ConfigCallback +
      A ConfigCallback is used to run code after ParseConfig.getInBackground() is used + to fetch a new configuration object from the server in a background thread.
      +
      CountCallback +
      A CountCallback is used to run code after a ParseQuery is used to count objects + matching a query in a background thread.
      +
      DeleteCallback +
      A DeleteCallback is used to run code after saving a ParseObject in a background + thread.
      +
      FindCallback<T extends ParseObject> +
      A FindCallback is used to run code after a ParseQuery is used to fetch a list of + ParseObjects in a background thread.
      +
      FunctionCallback<T> +
      A FunctionCallback is used to run code after ParseCloud.callFunction(java.lang.String, java.util.Map<java.lang.String, ?>) is used to + run a Cloud Function in a background thread.
      +
      GetCallback<T extends ParseObject> +
      A GetCallback is used to run code after a ParseQuery is used to fetch a + ParseObject in a background thread.
      +
      GetDataCallback +
      A GetDataCallback is used to run code after a ParseFile fetches its data on a + background thread.
      +
      LocationCallback +
      A LocationCallback is used to run code after a Location has been fetched by + ParseGeoPoint.getCurrentLocationInBackground(long, android.location.Criteria).
      +
      LogInCallback +
      A LogInCallback is used to run code after logging in a user.
      +
      LogOutCallback +
      A LogOutCallback is used to run code after logging out a user.
      +
      ParseQueryAdapter.OnQueryLoadListener<T extends ParseObject> +
      Implement with logic that is called before and after objects are fetched from Parse by the + adapter.
      +
      ParseQueryAdapter.QueryFactory<T extends ParseObject> +
      Implement to construct your own custom ParseQuery for fetching objects.
      +
      ProgressCallback +
      A ProgressCallback is used to get upload or download progress of a ParseFile + action.
      +
      RefreshCallback +
      A RefreshCallback is used to run code after refresh is used to update a ParseObject in a + background thread.
      +
      RequestPasswordResetCallback +
      A RequestPasswordResetCallback is used to run code requesting a password reset for a + user.
      +
      SaveCallback +
      A SaveCallback is used to run code after saving a ParseObject in a background + thread.
      +
      SendCallback +
      A SendCallback is used to run code after sending a ParsePush in a background + thread.
      +
      SignUpCallback +
      A SignUpCallback is used to run code after signing up a ParseUser in a background + thread.
      +
      +
    • +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Class Summary 
      ClassDescription
      Parse +
      The Parse class contains static functions that handle global configuration for the Parse + library.
      +
      ParseACL +
      A ParseACL is used to control which users can access or modify a particular object.
      +
      ParseAnalytics +
      The ParseAnalytics class provides an interface to Parse's logging and analytics backend.
      +
      ParseAnonymousUtils +
      Provides utility functions for working with Anonymously logged-in users.
      +
      ParseCloud +
      The ParseCloud class defines provides methods for interacting with Parse Cloud Functions.
      +
      ParseConfig +
      The ParseConfig is a local representation of configuration data that can be set from the + Parse dashboard.
      +
      ParseFile +
      ParseFile is a local representation of a file that is saved to the Parse cloud.
      +
      ParseGeoPoint +
      ParseGeoPoint represents a latitude / longitude point that may be associated with a key + in a ParseObject or used as a reference point for geo queries.
      +
      ParseImageView +
      A specialized ImageView that downloads and displays remote images stored on Parse's + servers.
      +
      ParseInstallation +
      The ParseInstallation is a local representation of installation data that can be saved + and retrieved from the Parse cloud.
      +
      ParseObject +
      The ParseObject is a local representation of data that can be saved and retrieved from + the Parse cloud.
      +
      ParsePush +
      The ParsePush is a local representation of data that can be sent as a push notification.
      +
      ParsePushBroadcastReceiver +
      A BroadcastReceiver for rendering and reacting to to Notifications.
      +
      ParseQuery<T extends ParseObject> +
      The ParseQuery class defines a query that is used to fetch ParseObjects.
      +
      ParseQueryAdapter<T extends ParseObject> +
      A ParseQueryAdapter handles the fetching of objects by page, and displaying objects as + views in a ListView.
      +
      ParseRelation<T extends ParseObject> +
      A class that is used to access all of the children of a many-to-many relationship.
      +
      ParseRole +
      Represents a Role on the Parse server.
      +
      ParseSession +
      The ParseSession is a local representation of session data that can be saved + and retrieved from the Parse cloud.
      +
      ParseTwitterUtils +
      Provides a set of utilities for using Parse with Twitter.
      +
      ParseUser +
      The ParseUser is a local representation of user data that can be saved and retrieved from + the Parse cloud.
      +
      PushService +
      A service to listen for push notifications.
      +
      +
    • +
    • + + + + + + + + + + + + +
      Enum Summary 
      EnumDescription
      ParseQuery.CachePolicy +
      CachePolicy specifies different caching policies that could be used with + ParseQuery.
      +
      +
    • +
    • + + + + + + + + + + + + +
      Exception Summary 
      ExceptionDescription
      ParseException +
      A ParseException gets raised whenever a ParseObject issues an invalid request, such as + deleting or editing an object that no longer exists on the server, or when there is a network + failure preventing communication with the Parse server.
      +
      +
    • +
    • + + + + + + + + + + + + +
      Annotation Types Summary 
      Annotation TypeDescription
      ParseClassName +
      Associates a class name for a subclass of ParseObject.
      +
      +
    • +
    +
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/package-tree.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/package-tree.html new file mode 100644 index 00000000..da995164 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/package-tree.html @@ -0,0 +1,225 @@ + + + + +com.parse Class Hierarchy + + + + + + +
    + + + + + +
    + + +
    +

    Hierarchy For Package com.parse

    +
    +
    +

    Class Hierarchy

    + +

    Interface Hierarchy

    + +

    Annotation Type Hierarchy

    + +

    Enum Hierarchy

    + +
    + +
    + + + + + +
    + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/package-use.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/package-use.html new file mode 100644 index 00000000..420c4f5f --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/com/parse/package-use.html @@ -0,0 +1,310 @@ + + + + +Uses of Package com.parse + + + + + + +
    + + + + + +
    + + +
    +

    Uses of Package
    com.parse

    +
    +
    + +
    + +
    + + + + + +
    + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/constant-values.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/constant-values.html new file mode 100644 index 00000000..6a1eb566 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/constant-values.html @@ -0,0 +1,575 @@ + + + + +Constant Field Values + + + + + + +
    + + + + + +
    + + +
    +

    Constant Field Values

    +

    Contents

    + +
    +
    + + +

    com.parse.*

    + +
    + +
    + + + + + +
    + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/deprecated-list.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/deprecated-list.html new file mode 100644 index 00000000..20e425b7 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/deprecated-list.html @@ -0,0 +1,211 @@ + + + + +Deprecated List + + + + + + +
    + + + + + +
    + + +
    +

    Deprecated API

    +

    Contents

    + +
    +
    + + + +
    + +
    + + + + + +
    + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/help-doc.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/help-doc.html new file mode 100644 index 00000000..5b4c5b69 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/help-doc.html @@ -0,0 +1,212 @@ + + + + +API Help + + + + + + +
    + + + + + +
    + + +
    +

    How This API Document Is Organized

    +
    This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
    +
    +
    +
      +
    • +

      Package

      +

      Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

      +
        +
      • Interfaces (italic)
      • +
      • Classes
      • +
      • Enums
      • +
      • Exceptions
      • +
      • Errors
      • +
      • Annotation Types
      • +
      +
    • +
    • +

      Class/Interface

      +

      Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

      +
        +
      • Class inheritance diagram
      • +
      • Direct Subclasses
      • +
      • All Known Subinterfaces
      • +
      • All Known Implementing Classes
      • +
      • Class/interface declaration
      • +
      • Class/interface description
      • +
      +
        +
      • Nested Class Summary
      • +
      • Field Summary
      • +
      • Constructor Summary
      • +
      • Method Summary
      • +
      +
        +
      • Field Detail
      • +
      • Constructor Detail
      • +
      • Method Detail
      • +
      +

      Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

      +
    • +
    • +

      Annotation Type

      +

      Each annotation type has its own separate page with the following sections:

      +
        +
      • Annotation Type declaration
      • +
      • Annotation Type description
      • +
      • Required Element Summary
      • +
      • Optional Element Summary
      • +
      • Element Detail
      • +
      +
    • +
    • +

      Enum

      +

      Each enum has its own separate page with the following sections:

      +
        +
      • Enum declaration
      • +
      • Enum description
      • +
      • Enum Constant Summary
      • +
      • Enum Constant Detail
      • +
      +
    • +
    • +

      Use

      +

      Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

      +
    • +
    • +

      Tree (Class Hierarchy)

      +

      There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

      +
        +
      • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
      • +
      • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
      • +
      +
    • +
    • +

      Deprecated API

      +

      The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

      +
    • +
    • +

      Index

      +

      The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

      +
    • +
    • +

      Prev/Next

      +

      These links take you to the next or previous class, interface, package, or related page.

      +
    • +
    • +

      Frames/No Frames

      +

      These links show and hide the HTML frames. All pages are available with or without frames.

      +
    • +
    • +

      All Classes

      +

      The All Classes link shows all classes and interfaces except non-static nested types.

      +
    • +
    • +

      Serialized Form

      +

      Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

      +
    • +
    • +

      Constant Field Values

      +

      The Constant Field Values page lists the static final fields and their values.

      +
    • +
    +This help file applies to API documentation generated using the standard doclet.
    + +
    + + + + + +
    + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/index-all.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/index-all.html new file mode 100644 index 00000000..19581a6c --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/index-all.html @@ -0,0 +1,2535 @@ + + + + +Index + + + + + + +
    + + + + + +
    + + +
    A B C D E F G H I K L M N O P R S T U V W  + + +

    A

    +
    +
    ACCOUNT_ALREADY_LINKED - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating that an an account being linked is already linked to another user.
    +
    +
    ACTION_PUSH_DELETE - Static variable in class com.parse.ParsePushBroadcastReceiver
    +
    +
    The name of the Intent fired when a notification has been dismissed.
    +
    +
    ACTION_PUSH_OPEN - Static variable in class com.parse.ParsePushBroadcastReceiver
    +
    +
    The name of the Intent fired when a notification has been opened.
    +
    +
    ACTION_PUSH_RECEIVE - Static variable in class com.parse.ParsePushBroadcastReceiver
    +
    +
    The name of the Intent fired when a push has been received.
    +
    +
    add(String, Object) - Method in class com.parse.ParseObject
    +
    +
    Atomically adds an object to the end of the array associated with a given key.
    +
    +
    add(T) - Method in class com.parse.ParseRelation
    +
    +
    Adds an object to this relation.
    +
    +
    addAll(String, Collection<?>) - Method in class com.parse.ParseObject
    +
    +
    Atomically adds the objects contained in a Collection to the end of the array + associated with a given key.
    +
    +
    addAllUnique(String, Collection<?>) - Method in class com.parse.ParseObject
    +
    +
    Atomically adds the objects contained in a Collection to the array associated with a + given key, only adding elements which are not already present in the array.
    +
    +
    addAscendingOrder(String) - Method in class com.parse.ParseQuery
    +
    +
    Also sorts the results in ascending order by the given key.
    +
    +
    addDescendingOrder(String) - Method in class com.parse.ParseQuery
    +
    +
    Also sorts the results in descending order by the given key.
    +
    +
    addOnQueryLoadListener(ParseQueryAdapter.OnQueryLoadListener<T>) - Method in class com.parse.ParseQueryAdapter
    +
     
    +
    addUnique(String, Object) - Method in class com.parse.ParseObject
    +
    +
    Atomically adds an object to the array associated with a given key, only if it is not already + present in the array.
    +
    +
    + + + +

    B

    +
    +
    become(String) - Static method in class com.parse.ParseUser
    +
    +
    Authorize a user with a session token.
    +
    +
    becomeInBackground(String) - Static method in class com.parse.ParseUser
    +
    +
    Authorize a user with a session token.
    +
    +
    becomeInBackground(String, LogInCallback) - Static method in class com.parse.ParseUser
    +
    +
    Authorize a user with a session token.
    +
    +
    + + + +

    C

    +
    +
    CACHE_MISS - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating the result was not found in the cache.
    +
    +
    callFunction(String, Map<String, ?>) - Static method in class com.parse.ParseCloud
    +
    +
    Calls a cloud function.
    +
    +
    callFunctionInBackground(String, Map<String, ?>) - Static method in class com.parse.ParseCloud
    +
    +
    Calls a cloud function in the background.
    +
    +
    callFunctionInBackground(String, Map<String, ?>, FunctionCallback<T>) - Static method in class com.parse.ParseCloud
    +
    +
    Calls a cloud function in the background.
    +
    +
    cancel() - Method in class com.parse.ParseFile
    +
    +
    Cancels the current network request and callbacks whether it's uploading or fetching data from + the server.
    +
    +
    cancel() - Method in class com.parse.ParseQuery
    +
    +
    Cancels the current network request (if one is running).
    +
    +
    clear() - Method in class com.parse.ParseQueryAdapter
    +
    +
    Remove all elements from the list.
    +
    +
    clearAllCachedResults() - Static method in class com.parse.ParseQuery
    +
    +
    Clears the cached result for all queries.
    +
    +
    clearCachedResult() - Method in class com.parse.ParseQuery
    +
    +
    Removes the previously cached result for this query, forcing the next find() to hit the + network.
    +
    +
    clearExpiration() - Method in class com.parse.ParsePush
    +
    +
    Clears both expiration values, indicating that the notification should never expire.
    +
    +
    com.parse - package com.parse
    +
     
    +
    COMMAND_UNAVAILABLE - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating that the feature you tried to access is only available internally for + testing purposes.
    +
    +
    ConfigCallback - Interface in com.parse
    +
    +
    A ConfigCallback is used to run code after ParseConfig.getInBackground() is used + to fetch a new configuration object from the server in a background thread.
    +
    +
    CONNECTION_FAILED - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating the connection to the Parse servers failed.
    +
    +
    containsKey(String) - Method in class com.parse.ParseObject
    +
    +
    Whether this object has a particular key.
    +
    +
    count() - Method in class com.parse.ParseQuery
    +
    +
    Counts the number of objects that match this query.
    +
    +
    CountCallback - Interface in com.parse
    +
    +
    A CountCallback is used to run code after a ParseQuery is used to count objects + matching a query in a background thread.
    +
    +
    countInBackground() - Method in class com.parse.ParseQuery
    +
    +
    Counts the number of objects that match this query in a background thread.
    +
    +
    countInBackground(CountCallback) - Method in class com.parse.ParseQuery
    +
    +
    Counts the number of objects that match this query in a background thread.
    +
    +
    create(String) - Static method in class com.parse.ParseObject
    +
    +
    Creates a new ParseObject based upon a class name.
    +
    +
    create(Class<T>) - Static method in class com.parse.ParseObject
    +
    +
    Creates a new ParseObject based upon a subclass type.
    +
    +
    create() - Method in interface com.parse.ParseQueryAdapter.QueryFactory
    +
     
    +
    createWithoutData(String, String) - Static method in class com.parse.ParseObject
    +
    +
    Creates a reference to an existing ParseObject for use in creating associations between + ParseObjects.
    +
    +
    createWithoutData(Class<T>, String) - Static method in class com.parse.ParseObject
    +
    +
    Creates a reference to an existing ParseObject for use in creating associations between + ParseObjects.
    +
    +
    + + + +

    D

    +
    +
    DEFAULT_PIN - Static variable in class com.parse.ParseObject
    +
    +
    Default name for pinning if not specified.
    +
    +
    delete() - Method in class com.parse.ParseObject
    +
    +
    Deletes this object on the server.
    +
    +
    deleteAll(List<T>) - Static method in class com.parse.ParseObject
    +
    +
    Deletes each object in the provided list.
    +
    +
    deleteAllInBackground(List<T>, DeleteCallback) - Static method in class com.parse.ParseObject
    +
    +
    Deletes each object in the provided list.
    +
    +
    deleteAllInBackground(List<T>) - Static method in class com.parse.ParseObject
    +
    +
    Deletes each object in the provided list.
    +
    +
    DeleteCallback - Interface in com.parse
    +
    +
    A DeleteCallback is used to run code after saving a ParseObject in a background + thread.
    +
    +
    deleteEventually(DeleteCallback) - Method in class com.parse.ParseObject
    +
    +
    Deletes this object from the server at some unspecified time in the future, even if Parse is + currently inaccessible.
    +
    +
    deleteEventually() - Method in class com.parse.ParseObject
    +
    +
    Deletes this object from the server at some unspecified time in the future, even if Parse is + currently inaccessible.
    +
    +
    deleteInBackground() - Method in class com.parse.ParseObject
    +
    +
    Deletes this object on the server in a background thread.
    +
    +
    deleteInBackground(DeleteCallback) - Method in class com.parse.ParseObject
    +
    +
    Deletes this object on the server in a background thread.
    +
    +
    distanceInKilometersTo(ParseGeoPoint) - Method in class com.parse.ParseGeoPoint
    +
    +
    Get distance between this point and another ParseGeoPoint in kilometers.
    +
    +
    distanceInMilesTo(ParseGeoPoint) - Method in class com.parse.ParseGeoPoint
    +
    +
    Get distance between this point and another ParseGeoPoint in kilometers.
    +
    +
    distanceInRadiansTo(ParseGeoPoint) - Method in class com.parse.ParseGeoPoint
    +
    +
    Get distance in radians between this point and another ParseGeoPoint.
    +
    +
    done(ParseConfig, ParseException) - Method in interface com.parse.ConfigCallback
    +
    +
    Override this function with the code you want to run after the fetch is complete.
    +
    +
    done(int, ParseException) - Method in interface com.parse.CountCallback
    +
    +
    Override this function with the code you want to run after the count is complete.
    +
    +
    done(ParseException) - Method in interface com.parse.DeleteCallback
    +
    +
    Override this function with the code you want to run after the delete is complete.
    +
    +
    done(List<T>, ParseException) - Method in interface com.parse.FindCallback
    +
    +
    Override this function with the code you want to run after the fetch is complete.
    +
    +
    done(T, ParseException) - Method in interface com.parse.FunctionCallback
    +
    +
    Override this function with the code you want to run after the cloud function is complete.
    +
    +
    done(T, ParseException) - Method in interface com.parse.GetCallback
    +
    +
    Override this function with the code you want to run after the fetch is complete.
    +
    +
    done(byte[], ParseException) - Method in interface com.parse.GetDataCallback
    +
    +
    Override this function with the code you want to run after the fetch is complete.
    +
    +
    done(ParseGeoPoint, ParseException) - Method in interface com.parse.LocationCallback
    +
    +
    Override this function with the code you want to run after the location fetch is complete.
    +
    +
    done(ParseUser, ParseException) - Method in interface com.parse.LogInCallback
    +
    +
    Override this function with the code you want to run after the save is complete.
    +
    +
    done(ParseException) - Method in interface com.parse.LogOutCallback
    +
    +
    Override this function with the code you want to run after the save is complete.
    +
    +
    done(Integer) - Method in interface com.parse.ProgressCallback
    +
    +
    Override this function with your desired callback.
    +
    +
    done(ParseObject, ParseException) - Method in interface com.parse.RefreshCallback
    +
    +
    Override this function with the code you want to run after the save is complete.
    +
    +
    done(ParseException) - Method in interface com.parse.RequestPasswordResetCallback
    +
    +
    Override this function with the code you want to run after the request is complete.
    +
    +
    done(ParseException) - Method in interface com.parse.SaveCallback
    +
    +
    Override this function with the code you want to run after the save is complete.
    +
    +
    done(ParseException) - Method in interface com.parse.SendCallback
    +
    +
    Override this function with the code you want to run after the send is complete.
    +
    +
    done(ParseException) - Method in interface com.parse.SignUpCallback
    +
    +
    Override this function with the code you want to run after the signUp is complete.
    +
    +
    DUPLICATE_VALUE - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating that a unique field was given a value that is already taken.
    +
    +
    + + + +

    E

    +
    +
    EMAIL_MISSING - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating that the email is missing, but must be specified.
    +
    +
    EMAIL_NOT_FOUND - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating that a user with the specified email was not found.
    +
    +
    EMAIL_TAKEN - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating that the email has already been taken.
    +
    +
    enableAutomaticUser() - Static method in class com.parse.ParseUser
    +
    +
    Enables automatic creation of anonymous users.
    +
    +
    enableLocalDatastore(Context) - Static method in class com.parse.Parse
    +
    +
    Enable pinning in your application.
    +
    +
    enableRevocableSessionInBackground() - Static method in class com.parse.ParseUser
    +
    +
    Enables revocable sessions.
    +
    +
    EXCEEDED_QUOTA - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating that an application quota was exceeded.
    +
    +
    + + + +

    F

    +
    +
    fetch() - Method in class com.parse.ParseObject
    +
    +
    Fetches this object with the data from the server.
    +
    +
    fetch() - Method in class com.parse.ParseUser
    +
     
    +
    fetchAll(List<T>) - Static method in class com.parse.ParseObject
    +
    +
    Fetches all the objects in the provided list.
    +
    +
    fetchAllIfNeeded(List<T>) - Static method in class com.parse.ParseObject
    +
    +
    Fetches all the objects that don't have data in the provided list.
    +
    +
    fetchAllIfNeededInBackground(List<T>) - Static method in class com.parse.ParseObject
    +
    +
    Fetches all the objects that don't have data in the provided list in the background.
    +
    +
    fetchAllIfNeededInBackground(List<T>, FindCallback<T>) - Static method in class com.parse.ParseObject
    +
    +
    Fetches all the objects that don't have data in the provided list in the background.
    +
    +
    fetchAllInBackground(List<T>) - Static method in class com.parse.ParseObject
    +
    +
    Fetches all the objects in the provided list in the background.
    +
    +
    fetchAllInBackground(List<T>, FindCallback<T>) - Static method in class com.parse.ParseObject
    +
    +
    Fetches all the objects in the provided list in the background.
    +
    +
    fetchFromLocalDatastore() - Method in class com.parse.ParseObject
    +
    +
    Loads data from the local datastore into this object, if it has not been fetched from the + server already.
    +
    +
    fetchFromLocalDatastoreInBackground(GetCallback<T>) - Method in class com.parse.ParseObject
    +
    +
    Loads data from the local datastore into this object, if it has not been fetched from the + server already.
    +
    +
    fetchIfNeeded() - Method in class com.parse.ParseObject
    +
    +
    If this ParseObject has not been fetched (i.e.
    +
    +
    fetchIfNeeded() - Method in class com.parse.ParseUser
    +
     
    +
    fetchIfNeededInBackground() - Method in class com.parse.ParseObject
    +
    +
    If this ParseObject has not been fetched (i.e.
    +
    +
    fetchIfNeededInBackground(GetCallback<T>) - Method in class com.parse.ParseObject
    +
    +
    If this ParseObject has not been fetched (i.e.
    +
    +
    fetchInBackground() - Method in class com.parse.ParseObject
    +
    +
    Fetches this object with the data from the server in a background thread.
    +
    +
    fetchInBackground(GetCallback<T>) - Method in class com.parse.ParseObject
    +
    +
    Fetches this object with the data from the server in a background thread.
    +
    +
    FILE_DELETE_ERROR - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating that deleting a file failed.
    +
    +
    find() - Method in class com.parse.ParseQuery
    +
    +
    Retrieves a list of ParseObjects that satisfy this query.
    +
    +
    FindCallback<T extends ParseObject> - Interface in com.parse
    +
    +
    A FindCallback is used to run code after a ParseQuery is used to fetch a list of + ParseObjects in a background thread.
    +
    +
    findInBackground() - Method in class com.parse.ParseQuery
    +
    +
    Retrieves a list of ParseObjects that satisfy this query from the source in a + background thread.
    +
    +
    findInBackground(FindCallback<T>) - Method in class com.parse.ParseQuery
    +
    +
    Retrieves a list of ParseObjects that satisfy this query from the source in a + background thread.
    +
    +
    fromLocalDatastore() - Method in class com.parse.ParseQuery
    +
    +
    Change the source of this query to all pinned objects.
    +
    +
    fromPin() - Method in class com.parse.ParseQuery
    +
    +
    Change the source of this query to the default group of pinned objects.
    +
    +
    fromPin(String) - Method in class com.parse.ParseQuery
    +
    +
    Change the source of this query to a specific group of pinned objects.
    +
    +
    FunctionCallback<T> - Interface in com.parse
    +
    +
    A FunctionCallback is used to run code after ParseCloud.callFunction(java.lang.String, java.util.Map<java.lang.String, ?>) is used to + run a Cloud Function in a background thread.
    +
    +
    + + + +

    G

    +
    +
    get() - Static method in class com.parse.ParseConfig
    +
    +
    Fetches a new configuration object from the server.
    +
    +
    get(String) - Method in class com.parse.ParseConfig
    +
    +
    Access a value.
    +
    +
    get(String, Object) - Method in class com.parse.ParseConfig
    +
    +
    Access a value, returning a default value if the key doesn't exist.
    +
    +
    get(String) - Method in class com.parse.ParseObject
    +
    +
    Access a value.
    +
    +
    get(String) - Method in class com.parse.ParseQuery
    +
    +
    Constructs a ParseObject whose id is already known by fetching data from the source.
    +
    +
    getACL() - Method in class com.parse.ParseObject
    +
    +
    Access the ParseACL governing this object.
    +
    +
    getActivity(Context, Intent) - Method in class com.parse.ParsePushBroadcastReceiver
    +
    +
    Used by ParsePushBroadcastReceiver.onPushOpen(android.content.Context, android.content.Intent) to determine which activity to launch or insert into the back + stack.
    +
    +
    getBoolean(String) - Method in class com.parse.ParseConfig
    +
    +
    Access a boolean value.
    +
    +
    getBoolean(String, boolean) - Method in class com.parse.ParseConfig
    +
    +
    Access a boolean value, returning a default value if it doesn't exist.
    +
    +
    getBoolean(String) - Method in class com.parse.ParseObject
    +
    +
    Access a boolean value.
    +
    +
    getBytes(String) - Method in class com.parse.ParseObject
    +
    +
    Access a byte[] value.
    +
    +
    getCachePolicy() - Method in class com.parse.ParseQuery
    +
     
    +
    GetCallback<T extends ParseObject> - Interface in com.parse
    +
    +
    A GetCallback is used to run code after a ParseQuery is used to fetch a + ParseObject in a background thread.
    +
    +
    getClassName() - Method in class com.parse.ParseObject
    +
    +
    Accessor to the class name.
    +
    +
    getClassName() - Method in class com.parse.ParseQuery
    +
    +
    Accessor for the class name.
    +
    +
    getCode() - Method in exception com.parse.ParseException
    +
    +
    Access the code for this error.
    +
    +
    getContext() - Method in class com.parse.ParseQueryAdapter
    +
    +
    Return the context provided by the Activity utilizing this ParseQueryAdapter.
    +
    +
    getCount() - Method in class com.parse.ParseQueryAdapter
    +
    +
    Overrides Adapter.getCount() method to return the number of cells to + display.
    +
    +
    getCreatedAt() - Method in class com.parse.ParseObject
    +
    +
    This reports time as the server sees it, so that if you create a ParseObject, then wait a + while, and then call ParseObject.save(), the creation time will be the time of the first + ParseObject.save() call rather than the time the object was created locally.
    +
    +
    getCurrentConfig() - Static method in class com.parse.ParseConfig
    +
    +
    Retrieves the most recently-fetched configuration object, either from memory or + disk if necessary.
    +
    +
    getCurrentInstallation() - Static method in class com.parse.ParseInstallation
    +
     
    +
    getCurrentLocationInBackground(long) - Static method in class com.parse.ParseGeoPoint
    +
    +
    Asynchronously fetches the current location of the device.
    +
    +
    getCurrentLocationInBackground(long, LocationCallback) - Static method in class com.parse.ParseGeoPoint
    +
    +
    Asynchronously fetches the current location of the device.
    +
    +
    getCurrentLocationInBackground(long, Criteria) - Static method in class com.parse.ParseGeoPoint
    +
    +
    Asynchronously fetches the current location of the device.
    +
    +
    getCurrentLocationInBackground(long, Criteria, LocationCallback) - Static method in class com.parse.ParseGeoPoint
    +
    +
    Asynchronously fetches the current location of the device.
    +
    +
    getCurrentSessionInBackground() - Static method in class com.parse.ParseSession
    +
    +
    Get the current ParseSession object related to the current user.
    +
    +
    getCurrentSessionInBackground(GetCallback<ParseSession>) - Static method in class com.parse.ParseSession
    +
    +
    Get the current ParseSession object related to the current user.
    +
    +
    getCurrentUser() - Static method in class com.parse.ParseUser
    +
    +
    This retrieves the currently logged in ParseUser with a valid session, either from memory or + disk if necessary.
    +
    +
    getData() - Method in class com.parse.ParseFile
    +
    +
    Synchronously gets the data for this object.
    +
    +
    GetDataCallback - Interface in com.parse
    +
    +
    A GetDataCallback is used to run code after a ParseFile fetches its data on a + background thread.
    +
    +
    getDataInBackground(ProgressCallback) - Method in class com.parse.ParseFile
    +
    +
    Gets the data for this object in a background thread.
    +
    +
    getDataInBackground() - Method in class com.parse.ParseFile
    +
    +
    Gets the data for this object in a background thread.
    +
    +
    getDataInBackground(GetDataCallback, ProgressCallback) - Method in class com.parse.ParseFile
    +
    +
    Gets the data for this object in a background thread.
    +
    +
    getDataInBackground(GetDataCallback) - Method in class com.parse.ParseFile
    +
    +
    Gets the data for this object in a background thread.
    +
    +
    getDate(String) - Method in class com.parse.ParseConfig
    +
    +
    Access a Date value.
    +
    +
    getDate(String, Date) - Method in class com.parse.ParseConfig
    +
    +
    Access a Date value, returning a default value if it doesn't exist.
    +
    +
    getDate(String) - Method in class com.parse.ParseObject
    +
    +
    Access a Date value.
    +
    +
    getDouble(String) - Method in class com.parse.ParseConfig
    +
    +
    Access a double value.
    +
    +
    getDouble(String, double) - Method in class com.parse.ParseConfig
    +
    +
    Access a double value, returning a default value if it doesn't exist.
    +
    +
    getDouble(String) - Method in class com.parse.ParseObject
    +
    +
    Access a double value.
    +
    +
    getEmail() - Method in class com.parse.ParseUser
    +
    +
    Retrieves the email address.
    +
    +
    getFirst() - Method in class com.parse.ParseQuery
    +
    +
    Retrieves at most one ParseObject that satisfies this query.
    +
    +
    getFirstInBackground() - Method in class com.parse.ParseQuery
    +
    +
    Retrieves at most one ParseObject that satisfies this query from the source in a + background thread.
    +
    +
    getFirstInBackground(GetCallback<T>) - Method in class com.parse.ParseQuery
    +
    +
    Retrieves at most one ParseObject that satisfies this query from the source in a + background thread.
    +
    +
    getInBackground(ConfigCallback) - Static method in class com.parse.ParseConfig
    +
    +
    Fetches a new configuration object from the server in a background thread.
    +
    +
    getInBackground() - Static method in class com.parse.ParseConfig
    +
    +
    Fetches a new configuration object from the server in a background thread.
    +
    +
    getInBackground(String) - Method in class com.parse.ParseQuery
    +
    +
    Constructs a ParseObject whose id is already known by fetching data from the source in a + background thread.
    +
    +
    getInBackground(String, GetCallback<T>) - Method in class com.parse.ParseQuery
    +
    +
    Constructs a ParseObject whose id is already known by fetching data from the source in + a background thread.
    +
    +
    getInstallationId() - Method in class com.parse.ParseInstallation
    +
    +
    Returns the unique ID of this installation.
    +
    +
    getInt(String) - Method in class com.parse.ParseConfig
    +
    +
    Access an int value.
    +
    +
    getInt(String, int) - Method in class com.parse.ParseConfig
    +
    +
    Access an int value, returning a default value if it doesn't exist.
    +
    +
    getInt(String) - Method in class com.parse.ParseObject
    +
    +
    Access an int value.
    +
    +
    getItem(int) - Method in class com.parse.ParseQueryAdapter
    +
    getItemId(int) - Method in class com.parse.ParseQueryAdapter
    +
    getItemView(T, View, ViewGroup) - Method in class com.parse.ParseQueryAdapter
    +
    +
    Override this method to customize each cell given a ParseObject.
    +
    +
    getItemViewType(int) - Method in class com.parse.ParseQueryAdapter
    +
     
    +
    getJSONArray(String) - Method in class com.parse.ParseConfig
    +
    +
    Access a JSONArray value.
    +
    +
    getJSONArray(String, JSONArray) - Method in class com.parse.ParseConfig
    +
    +
    Access a JSONArray value, returning a default value if it doesn't exist.
    +
    +
    getJSONArray(String) - Method in class com.parse.ParseObject
    +
    +
    Access a JSONArray value.
    +
    +
    getJSONObject(String) - Method in class com.parse.ParseConfig
    +
    +
    Access a JSONObject value.
    +
    +
    getJSONObject(String, JSONObject) - Method in class com.parse.ParseConfig
    +
    +
    Access a JSONObject value, returning a default value if it doesn't exist.
    +
    +
    getJSONObject(String) - Method in class com.parse.ParseObject
    +
    +
    Access a JSONObject value.
    +
    +
    getLargeIcon(Context, Intent) - Method in class com.parse.ParsePushBroadcastReceiver
    +
    +
    Retrieves the large icon to be used in a Notification.
    +
    +
    getLatitude() - Method in class com.parse.ParseGeoPoint
    +
    +
    Get latitude.
    +
    +
    getLimit() - Method in class com.parse.ParseQuery
    +
    +
    Accessor for the limit.
    +
    +
    getList(String) - Method in class com.parse.ParseConfig
    +
    +
    Access a List value.
    +
    +
    getList(String, List<T>) - Method in class com.parse.ParseConfig
    +
    +
    Access a List value, returning a default value if it doesn't exist.
    +
    +
    getList(String) - Method in class com.parse.ParseObject
    +
    +
    Access a List value.
    +
    +
    getLogLevel() - Static method in class com.parse.Parse
    +
    +
    Returns the level of logging that will be displayed.
    +
    +
    getLong(String) - Method in class com.parse.ParseConfig
    +
    +
    Access a long value.
    +
    +
    getLong(String, long) - Method in class com.parse.ParseConfig
    +
    +
    Access a long value, returning a default value if it doesn't exist.
    +
    +
    getLong(String) - Method in class com.parse.ParseObject
    +
    +
    Access a long value.
    +
    +
    getLongitude() - Method in class com.parse.ParseGeoPoint
    +
    +
    Get longitude.
    +
    +
    getMap(String) - Method in class com.parse.ParseConfig
    +
    +
    Access a Map value.
    +
    +
    getMap(String, Map<String, V>) - Method in class com.parse.ParseConfig
    +
    +
    Access a Map value, returning a default value if it doesn't exist.
    +
    +
    getMap(String) - Method in class com.parse.ParseObject
    +
    +
    Access a Map value
    +
    +
    getMaxCacheAge() - Method in class com.parse.ParseQuery
    +
    +
    Gets the maximum age of cached data that will be considered in this query.
    +
    +
    getName() - Method in class com.parse.ParseFile
    +
    +
    The filename.
    +
    +
    getName() - Method in class com.parse.ParseRole
    +
    +
    Gets the name of the role.
    +
    +
    getNextPageView(View, ViewGroup) - Method in class com.parse.ParseQueryAdapter
    +
    +
    Override this method to customize the "Load Next Page" cell, visible when pagination is turned + on and there may be more results to display.
    +
    +
    getNotification(Context, Intent) - Method in class com.parse.ParsePushBroadcastReceiver
    +
    +
    Creates a Notification with reasonable defaults.
    +
    +
    getNumber(String) - Method in class com.parse.ParseConfig
    +
    +
    Access a numerical value.
    +
    +
    getNumber(String, Number) - Method in class com.parse.ParseConfig
    +
    +
    Access a numerical value, returning a default value if it doesn't exist.
    +
    +
    getNumber(String) - Method in class com.parse.ParseObject
    +
    +
    Access a Number value.
    +
    +
    getObjectId() - Method in class com.parse.ParseObject
    +
    +
    Accessor to the object id.
    +
    +
    getObjectsPerPage() - Method in class com.parse.ParseQueryAdapter
    +
     
    +
    getParseFile(String) - Method in class com.parse.ParseConfig
    +
    +
    Access a ParseFile value.
    +
    +
    getParseFile(String, ParseFile) - Method in class com.parse.ParseConfig
    +
    +
    Access a ParseFile value, returning a default value if it doesn't exist.
    +
    +
    getParseFile(String) - Method in class com.parse.ParseObject
    +
    +
    Access a ParseFile value.
    +
    +
    getParseGeoPoint(String) - Method in class com.parse.ParseConfig
    +
    +
    Access a ParseGeoPoint value.
    +
    +
    getParseGeoPoint(String, ParseGeoPoint) - Method in class com.parse.ParseConfig
    +
    +
    Access a ParseGeoPoint value, returning a default value if it doesn't exist.
    +
    +
    getParseGeoPoint(String) - Method in class com.parse.ParseObject
    +
    +
    Access a ParseGeoPoint value.
    +
    +
    getParseObject(String) - Method in class com.parse.ParseObject
    +
    +
    Access a ParseObject value.
    +
    +
    getParseUser(String) - Method in class com.parse.ParseObject
    +
    +
    Access a ParseUser value.
    +
    +
    getPublicReadAccess() - Method in class com.parse.ParseACL
    +
    +
    Get whether the public is allowed to read this object.
    +
    +
    getPublicWriteAccess() - Method in class com.parse.ParseACL
    +
    +
    Set whether the public is allowed to write this object.
    +
    +
    getQuery() - Static method in class com.parse.ParseInstallation
    +
    +
    Constructs a query for ParseInstallation.
    +
    +
    getQuery(Class<T>) - Static method in class com.parse.ParseQuery
    +
    +
    Creates a new query for the given ParseObject subclass type.
    +
    +
    getQuery(String) - Static method in class com.parse.ParseQuery
    +
    +
    Creates a new query for the given class name.
    +
    +
    getQuery() - Method in class com.parse.ParseRelation
    +
    +
    Gets a query that can be used to query the objects in this relation.
    +
    +
    getQuery() - Static method in class com.parse.ParseRole
    +
    +
    Gets a ParseQuery over the Role collection.
    +
    +
    getQuery() - Static method in class com.parse.ParseSession
    +
    +
    Constructs a query for ParseSession.
    +
    +
    getQuery() - Static method in class com.parse.ParseUser
    +
    +
    Constructs a query for ParseUser.
    +
    +
    getReadAccess(String) - Method in class com.parse.ParseACL
    +
    +
    Get whether the given user id is *explicitly* allowed to read this object.
    +
    +
    getReadAccess(ParseUser) - Method in class com.parse.ParseACL
    +
    +
    Get whether the given user id is *explicitly* allowed to read this object.
    +
    +
    getRelation(String) - Method in class com.parse.ParseObject
    +
    +
    Access or create a ParseRelation value for a key
    +
    +
    getRoleReadAccess(String) - Method in class com.parse.ParseACL
    +
    +
    Get whether users belonging to the role with the given roleName are allowed to read this + object.
    +
    +
    getRoleReadAccess(ParseRole) - Method in class com.parse.ParseACL
    +
    +
    Get whether users belonging to the given role are allowed to read this object.
    +
    +
    getRoles() - Method in class com.parse.ParseRole
    +
    +
    Gets the ParseRelation for the ParseRoles that are direct children of this + role.
    +
    +
    getRoleWriteAccess(String) - Method in class com.parse.ParseACL
    +
    +
    Get whether users belonging to the role with the given roleName are allowed to write this + object.
    +
    +
    getRoleWriteAccess(ParseRole) - Method in class com.parse.ParseACL
    +
    +
    Get whether users belonging to the given role are allowed to write this object.
    +
    +
    getSessionToken() - Method in class com.parse.ParseSession
    +
     
    +
    getSessionToken() - Method in class com.parse.ParseUser
    +
     
    +
    getSkip() - Method in class com.parse.ParseQuery
    +
    +
    Accessor for the skip value.
    +
    +
    getSmallIconId(Context, Intent) - Method in class com.parse.ParsePushBroadcastReceiver
    +
    +
    Retrieves the small icon to be used in a Notification.
    +
    +
    getString(String) - Method in class com.parse.ParseConfig
    +
    +
    Access a String value.
    +
    +
    getString(String, String) - Method in class com.parse.ParseConfig
    +
    +
    Access a String value, returning a default value if it doesn't exist.
    +
    +
    getString(String) - Method in class com.parse.ParseObject
    +
    +
    Access a String value.
    +
    +
    getSubscriptions(Context) - Static method in class com.parse.PushService
    +
    +
    Deprecated. +
    Subscriptions are stored in the ParseInstallation "channels" field. + Use ParseInstallation.getCurrentInstallation().getList<String>("channels")
    +
    +
    +
    getTwitter() - Static method in class com.parse.ParseTwitterUtils
    +
    +
    Gets the shared Twitter singleton that Parse is using.
    +
    +
    getUpdatedAt() - Method in class com.parse.ParseObject
    +
    +
    This reports time as the server sees it, so that if you make changes to a ParseObject, then + wait a while, and then call ParseObject.save(), the updated time will be the time of the + ParseObject.save() call rather than the time the object was changed locally.
    +
    +
    getUrl() - Method in class com.parse.ParseFile
    +
    +
    This returns the url of the file.
    +
    +
    getUsername() - Method in class com.parse.ParseUser
    +
    +
    Retrieves the username.
    +
    +
    getUserQuery() - Static method in class com.parse.ParseQuery
    +
    +
    Deprecated. +
    Please use ParseUser.getQuery() instead.
    +
    +
    +
    getUsers() - Method in class com.parse.ParseRole
    +
    +
    Gets the ParseRelation for the ParseUsers that are direct children of this + role.
    +
    +
    getView(int, View, ViewGroup) - Method in class com.parse.ParseQueryAdapter
    +
    +
    The base class, Adapter, defines a getView method intended to display data at + the specified position in the data set.
    +
    +
    getViewTypeCount() - Method in class com.parse.ParseQueryAdapter
    +
     
    +
    getWriteAccess(String) - Method in class com.parse.ParseACL
    +
    +
    Get whether the given user id is *explicitly* allowed to write this object.
    +
    +
    getWriteAccess(ParseUser) - Method in class com.parse.ParseACL
    +
    +
    Get whether the given user id is *explicitly* allowed to write this object.
    +
    +
    + + + +

    H

    +
    +
    has(String) - Method in class com.parse.ParseObject
    +
    +
    Whether this object has a particular key.
    +
    +
    hasCachedResult() - Method in class com.parse.ParseQuery
    +
    +
    Returns whether or not this query has a cached result.
    +
    +
    hasSameId(ParseObject) - Method in class com.parse.ParseObject
    +
     
    +
    + + + +

    I

    +
    +
    ignoreACLs() - Method in class com.parse.ParseQuery
    +
    +
    Ignore ACLs when querying from the Local Datastore.
    +
    +
    include(String) - Method in class com.parse.ParseQuery
    +
    +
    Include nested ParseObjects for the provided key.
    +
    +
    INCORRECT_TYPE - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating that a field was set to an inconsistent type.
    +
    +
    increment(String) - Method in class com.parse.ParseObject
    +
    +
    Atomically increments the given key by 1.
    +
    +
    increment(String, Number) - Method in class com.parse.ParseObject
    +
    +
    Atomically increments the given key by the given number.
    +
    +
    initialize(Context) - Static method in class com.parse.Parse
    +
    +
    Authenticates this client as belonging to your application.
    +
    +
    initialize(Context, String, String) - Static method in class com.parse.Parse
    +
    +
    Authenticates this client as belonging to your application.
    +
    +
    initialize(String, String) - Static method in class com.parse.ParseTwitterUtils
    +
    +
    Initializes Twitter for use with Parse.
    +
    +
    INTERNAL_SERVER_ERROR - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating that something has gone wrong with the server.
    +
    +
    INVALID_ACL - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating an invalid ACL was provided.
    +
    +
    INVALID_CHANNEL_NAME - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating an invalid channel name.
    +
    +
    INVALID_CLASS_NAME - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating a missing or invalid classname.
    +
    +
    INVALID_EMAIL_ADDRESS - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating that the email address was invalid.
    +
    +
    INVALID_EVENT_NAME - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating that the provided event name is invalid.
    +
    +
    INVALID_FILE_NAME - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating that an invalid filename was used for ParseFile.
    +
    +
    INVALID_JSON - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating that badly formed JSON was received upstream.
    +
    +
    INVALID_KEY_NAME - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating an invalid key name.
    +
    +
    INVALID_LINKED_SESSION - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating that a user with a linked (e.g.
    +
    +
    INVALID_NESTED_KEY - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating that an invalid key was used in a nested JSONObject.
    +
    +
    INVALID_POINTER - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating a malformed pointer.
    +
    +
    INVALID_QUERY - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating you tried to query with a datatype that doesn't support it, like exact + matching an array or object.
    +
    +
    INVALID_ROLE_NAME - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating that a role's name is invalid.
    +
    +
    INVALID_SESSION_TOKEN - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating that the current session token is invalid.
    +
    +
    isAuthenticated() - Method in class com.parse.ParseUser
    +
    +
    Whether the ParseUser has been authenticated on this device.
    +
    +
    isDataAvailable() - Method in class com.parse.ParseFile
    +
    +
    Whether the file has available data.
    +
    +
    isDataAvailable() - Method in class com.parse.ParseObject
    +
    +
    Gets whether the ParseObject has been fetched.
    +
    +
    isDirty() - Method in class com.parse.ParseFile
    +
    +
    Whether the file still needs to be saved.
    +
    +
    isDirty() - Method in class com.parse.ParseObject
    +
    +
    Whether any key-value pair in this object (or its children) has been added/updated/removed and + not saved yet.
    +
    +
    isDirty(String) - Method in class com.parse.ParseObject
    +
    +
    Whether a value associated with a key has been added/updated/removed and not saved yet.
    +
    +
    isLinked(ParseUser) - Static method in class com.parse.ParseAnonymousUtils
    +
    +
    Whether the user is logged in anonymously.
    +
    +
    isLinked(ParseUser) - Static method in class com.parse.ParseTwitterUtils
    +
     
    +
    isNew() - Method in class com.parse.ParseUser
    +
    +
    Indicates whether this ParseUser was created during this session through a call to + ParseUser.signUp() or by logging in with a linked service such as Facebook.
    +
    +
    + + + +

    K

    +
    +
    KEY_PUSH_CHANNEL - Static variable in class com.parse.ParsePushBroadcastReceiver
    +
    +
    The name of the Intent extra which contains a channel used to route this notification.
    +
    +
    KEY_PUSH_DATA - Static variable in class com.parse.ParsePushBroadcastReceiver
    +
    +
    The name of the Intent extra which contains the JSON payload of the Notification.
    +
    +
    keySet() - Method in class com.parse.ParseObject
    +
    +
    Returns a set view of the keys contained in this object.
    +
    +
    + + + +

    L

    +
    +
    link(ParseUser, Context) - Static method in class com.parse.ParseTwitterUtils
    +
    + +
    +
    link(ParseUser, Context, SaveCallback) - Static method in class com.parse.ParseTwitterUtils
    +
    +
    Links a ParseUser to a Twitter account, allowing you to use Twitter for authentication, and + providing access to Twitter data for the user.
    +
    +
    link(ParseUser, String, String, String, String) - Static method in class com.parse.ParseTwitterUtils
    +
    + +
    +
    link(ParseUser, String, String, String, String, SaveCallback) - Static method in class com.parse.ParseTwitterUtils
    +
    +
    Links a ParseUser to a Twitter account, allowing you to use Twitter for authentication, and + providing access to Twitter data for the user.
    +
    +
    LINKED_ID_MISSING - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating that a user cannot be linked to an account because that account's id + could not be found.
    +
    +
    linkInBackground(Context, ParseUser) - Static method in class com.parse.ParseTwitterUtils
    +
    +
    Links a ParseUser to a Twitter account, allowing you to use Twitter for authentication, and + providing access to Twitter data for the user.
    +
    +
    linkInBackground(ParseUser, String, String, String, String) - Static method in class com.parse.ParseTwitterUtils
    +
    +
    Links a ParseUser to a Twitter account, allowing you to use Twitter for authentication, and + providing access to Twitter data for the user.
    +
    +
    loadInBackground() - Method in class com.parse.ParseImageView
    +
    +
    Kick off downloading of remote image.
    +
    +
    loadInBackground(GetDataCallback) - Method in class com.parse.ParseImageView
    +
    +
    Kick off downloading of remote image.
    +
    +
    loadNextPage() - Method in class com.parse.ParseQueryAdapter
    +
    +
    Loads the next page of objects, appends to table, and notifies the UI that the model has + changed.
    +
    +
    loadObjects() - Method in class com.parse.ParseQueryAdapter
    +
    +
    Clears the table and loads the first page of objects asynchronously.
    +
    +
    LocationCallback - Interface in com.parse
    +
    +
    A LocationCallback is used to run code after a Location has been fetched by + ParseGeoPoint.getCurrentLocationInBackground(long, android.location.Criteria).
    +
    +
    LOG_LEVEL_DEBUG - Static variable in class com.parse.Parse
    +
     
    +
    LOG_LEVEL_ERROR - Static variable in class com.parse.Parse
    +
     
    +
    LOG_LEVEL_INFO - Static variable in class com.parse.Parse
    +
     
    +
    LOG_LEVEL_NONE - Static variable in class com.parse.Parse
    +
     
    +
    LOG_LEVEL_VERBOSE - Static variable in class com.parse.Parse
    +
     
    +
    LOG_LEVEL_WARNING - Static variable in class com.parse.Parse
    +
     
    +
    logIn(LogInCallback) - Static method in class com.parse.ParseAnonymousUtils
    +
    +
    Creates an anonymous user in the background.
    +
    +
    logIn(String, String, String, String, LogInCallback) - Static method in class com.parse.ParseTwitterUtils
    +
    +
    Logs in a ParseUser using Twitter for authentication.
    +
    +
    logIn(Context, LogInCallback) - Static method in class com.parse.ParseTwitterUtils
    +
    +
    Logs in a ParseUser using Twitter for authentication.
    +
    +
    logIn(String, String) - Static method in class com.parse.ParseUser
    +
    +
    Logs in a user with a username and password.
    +
    +
    LogInCallback - Interface in com.parse
    +
    +
    A LogInCallback is used to run code after logging in a user.
    +
    +
    logInInBackground() - Static method in class com.parse.ParseAnonymousUtils
    +
    +
    Creates an anonymous user in the background.
    +
    +
    logInInBackground(String, String, String, String) - Static method in class com.parse.ParseTwitterUtils
    +
    +
    Logs in a ParseUser using Twitter for authentication.
    +
    +
    logInInBackground(Context) - Static method in class com.parse.ParseTwitterUtils
    +
    +
    Logs in a ParseUser using Twitter for authentication.
    +
    +
    logInInBackground(String, String) - Static method in class com.parse.ParseUser
    +
    +
    Logs in a user with a username and password.
    +
    +
    logInInBackground(String, String, LogInCallback) - Static method in class com.parse.ParseUser
    +
    +
    Logs in a user with a username and password.
    +
    +
    logOut() - Static method in class com.parse.ParseUser
    +
    +
    Logs out the currently logged in user session.
    +
    +
    LogOutCallback - Interface in com.parse
    +
    +
    A LogOutCallback is used to run code after logging out a user.
    +
    +
    logOutInBackground() - Static method in class com.parse.ParseUser
    +
    +
    Logs out the currently logged in user session.
    +
    +
    logOutInBackground(LogOutCallback) - Static method in class com.parse.ParseUser
    +
    +
    Logs out the currently logged in user session.
    +
    +
    + + + +

    M

    +
    +
    MISSING_OBJECT_ID - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating an unspecified object id.
    +
    +
    MUST_CREATE_USER_THROUGH_SIGNUP - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating that a user can only be created through signup.
    +
    +
    + + + +

    N

    +
    +
    NOT_INITIALIZED - Static variable in exception com.parse.ParseException
    +
    +
    You must call Parse.initialize before using the Parse library.
    +
    +
    + + + +

    O

    +
    +
    OBJECT_NOT_FOUND - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating the specified object doesn't exist.
    +
    +
    OBJECT_TOO_LARGE - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating that the object is too large.
    +
    +
    onBind(Intent) - Method in class com.parse.PushService
    +
    +
    Client code should not call onBind directly.
    +
    +
    onCreate() - Method in class com.parse.PushService
    +
    +
    Client code should not call onCreate directly.
    +
    +
    onDestroy() - Method in class com.parse.PushService
    +
    +
    Client code should not call onDestroy directly.
    +
    +
    onDetachedFromWindow() - Method in class com.parse.ParseImageView
    +
     
    +
    onLoaded(List<T>, Exception) - Method in interface com.parse.ParseQueryAdapter.OnQueryLoadListener
    +
     
    +
    onLoading() - Method in interface com.parse.ParseQueryAdapter.OnQueryLoadListener
    +
     
    +
    onPushDismiss(Context, Intent) - Method in class com.parse.ParsePushBroadcastReceiver
    +
    +
    Called when the push notification is dismissed.
    +
    +
    onPushOpen(Context, Intent) - Method in class com.parse.ParsePushBroadcastReceiver
    +
    +
    Called when the push notification is opened by the user.
    +
    +
    onPushReceive(Context, Intent) - Method in class com.parse.ParsePushBroadcastReceiver
    +
    +
    Called when the push notification is received.
    +
    +
    onReceive(Context, Intent) - Method in class com.parse.ParsePushBroadcastReceiver
    +
    +
    Delegates the generic onReceive event to a notification lifecycle event.
    +
    +
    onStartCommand(Intent, int, int) - Method in class com.parse.PushService
    +
     
    +
    OPERATION_FORBIDDEN - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating that the operation isn't allowed for clients.
    +
    +
    or(List<ParseQuery<T>>) - Static method in class com.parse.ParseQuery
    +
    +
    Constructs a query that is the or of the given queries.
    +
    +
    orderByAscending(String) - Method in class com.parse.ParseQuery
    +
    +
    Sorts the results in ascending order by the given key.
    +
    +
    orderByDescending(String) - Method in class com.parse.ParseQuery
    +
    +
    Sorts the results in descending order by the given key.
    +
    +
    OTHER_CAUSE - Static variable in exception com.parse.ParseException
    +
     
    +
    + + + +

    P

    +
    +
    Parse - Class in com.parse
    +
    +
    The Parse class contains static functions that handle global configuration for the Parse + library.
    +
    +
    ParseACL - Class in com.parse
    +
    +
    A ParseACL is used to control which users can access or modify a particular object.
    +
    +
    ParseACL() - Constructor for class com.parse.ParseACL
    +
    +
    Creates an ACL with no permissions granted.
    +
    +
    ParseACL(ParseUser) - Constructor for class com.parse.ParseACL
    +
    +
    Creates an ACL where only the provided user has access.
    +
    +
    ParseAnalytics - Class in com.parse
    +
    +
    The ParseAnalytics class provides an interface to Parse's logging and analytics backend.
    +
    +
    ParseAnalytics() - Constructor for class com.parse.ParseAnalytics
    +
     
    +
    ParseAnonymousUtils - Class in com.parse
    +
    +
    Provides utility functions for working with Anonymously logged-in users.
    +
    +
    ParseClassName - Annotation Type in com.parse
    +
    +
    Associates a class name for a subclass of ParseObject.
    +
    +
    ParseCloud - Class in com.parse
    +
    +
    The ParseCloud class defines provides methods for interacting with Parse Cloud Functions.
    +
    +
    ParseConfig - Class in com.parse
    +
    +
    The ParseConfig is a local representation of configuration data that can be set from the + Parse dashboard.
    +
    +
    ParseException - Exception in com.parse
    +
    +
    A ParseException gets raised whenever a ParseObject issues an invalid request, such as + deleting or editing an object that no longer exists on the server, or when there is a network + failure preventing communication with the Parse server.
    +
    +
    ParseException(int, String) - Constructor for exception com.parse.ParseException
    +
    +
    Construct a new ParseException with a particular error code.
    +
    +
    ParseException(int, String, Throwable) - Constructor for exception com.parse.ParseException
    +
    +
    Construct a new ParseException with an external cause.
    +
    +
    ParseException(Throwable) - Constructor for exception com.parse.ParseException
    +
    +
    Construct a new ParseException with an external cause.
    +
    +
    ParseFile - Class in com.parse
    +
    +
    ParseFile is a local representation of a file that is saved to the Parse cloud.
    +
    +
    ParseFile(String, byte[], String) - Constructor for class com.parse.ParseFile
    +
    +
    Creates a new file from a byte array, file name, and content type.
    +
    +
    ParseFile(byte[]) - Constructor for class com.parse.ParseFile
    +
    +
    Creates a new file from a byte array.
    +
    +
    ParseFile(String, byte[]) - Constructor for class com.parse.ParseFile
    +
    +
    Creates a new file from a byte array and a name.
    +
    +
    ParseFile(byte[], String) - Constructor for class com.parse.ParseFile
    +
    +
    Creates a new file from a byte array, and content type.
    +
    +
    ParseGeoPoint - Class in com.parse
    +
    +
    ParseGeoPoint represents a latitude / longitude point that may be associated with a key + in a ParseObject or used as a reference point for geo queries.
    +
    +
    ParseGeoPoint() - Constructor for class com.parse.ParseGeoPoint
    +
    +
    Creates a new default point with latitude and longitude set to 0.0.
    +
    +
    ParseGeoPoint(double, double) - Constructor for class com.parse.ParseGeoPoint
    +
    +
    Creates a new point with the specified latitude and longitude.
    +
    +
    ParseImageView - Class in com.parse
    +
    +
    A specialized ImageView that downloads and displays remote images stored on Parse's + servers.
    +
    +
    ParseImageView(Context) - Constructor for class com.parse.ParseImageView
    +
    +
    Simple constructor to use when creating a ParseImageView from code.
    +
    +
    ParseImageView(Context, AttributeSet) - Constructor for class com.parse.ParseImageView
    +
    +
    Constructor that is called when inflating a ParseImageView from XML.
    +
    +
    ParseImageView(Context, AttributeSet, int) - Constructor for class com.parse.ParseImageView
    +
    +
    Perform inflation from XML and apply a class-specific base style.
    +
    +
    ParseInstallation - Class in com.parse
    +
    +
    The ParseInstallation is a local representation of installation data that can be saved + and retrieved from the Parse cloud.
    +
    +
    ParseInstallation() - Constructor for class com.parse.ParseInstallation
    +
     
    +
    ParseObject - Class in com.parse
    +
    +
    The ParseObject is a local representation of data that can be saved and retrieved from + the Parse cloud.
    +
    +
    ParseObject() - Constructor for class com.parse.ParseObject
    +
    +
    The base class constructor to call in subclasses.
    +
    +
    ParseObject(String) - Constructor for class com.parse.ParseObject
    +
    +
    Constructs a new ParseObject with no data in it.
    +
    +
    ParsePush - Class in com.parse
    +
    +
    The ParsePush is a local representation of data that can be sent as a push notification.
    +
    +
    ParsePush() - Constructor for class com.parse.ParsePush
    +
    +
    Creates a new push notification.
    +
    +
    ParsePushBroadcastReceiver - Class in com.parse
    +
    +
    A BroadcastReceiver for rendering and reacting to to Notifications.
    +
    +
    ParsePushBroadcastReceiver() - Constructor for class com.parse.ParsePushBroadcastReceiver
    +
     
    +
    ParseQuery<T extends ParseObject> - Class in com.parse
    +
    +
    The ParseQuery class defines a query that is used to fetch ParseObjects.
    +
    +
    ParseQuery(Class<T>) - Constructor for class com.parse.ParseQuery
    +
    +
    Constructs a query for a ParseObject subclass type.
    +
    +
    ParseQuery(String) - Constructor for class com.parse.ParseQuery
    +
    +
    Constructs a query.
    +
    +
    ParseQuery.CachePolicy - Enum in com.parse
    +
    +
    CachePolicy specifies different caching policies that could be used with + ParseQuery.
    +
    +
    ParseQueryAdapter<T extends ParseObject> - Class in com.parse
    +
    +
    A ParseQueryAdapter handles the fetching of objects by page, and displaying objects as + views in a ListView.
    +
    +
    ParseQueryAdapter(Context, Class<? extends ParseObject>) - Constructor for class com.parse.ParseQueryAdapter
    +
    +
    Constructs a ParseQueryAdapter.
    +
    +
    ParseQueryAdapter(Context, String) - Constructor for class com.parse.ParseQueryAdapter
    +
    +
    Constructs a ParseQueryAdapter.
    +
    +
    ParseQueryAdapter(Context, Class<? extends ParseObject>, int) - Constructor for class com.parse.ParseQueryAdapter
    +
    +
    Constructs a ParseQueryAdapter.
    +
    +
    ParseQueryAdapter(Context, String, int) - Constructor for class com.parse.ParseQueryAdapter
    +
    +
    Constructs a ParseQueryAdapter.
    +
    +
    ParseQueryAdapter(Context, ParseQueryAdapter.QueryFactory<T>) - Constructor for class com.parse.ParseQueryAdapter
    +
    +
    Constructs a ParseQueryAdapter.
    +
    +
    ParseQueryAdapter(Context, ParseQueryAdapter.QueryFactory<T>, int) - Constructor for class com.parse.ParseQueryAdapter
    +
    +
    Constructs a ParseQueryAdapter.
    +
    +
    ParseQueryAdapter.OnQueryLoadListener<T extends ParseObject> - Interface in com.parse
    +
    +
    Implement with logic that is called before and after objects are fetched from Parse by the + adapter.
    +
    +
    ParseQueryAdapter.QueryFactory<T extends ParseObject> - Interface in com.parse
    +
    +
    Implement to construct your own custom ParseQuery for fetching objects.
    +
    +
    ParseRelation<T extends ParseObject> - Class in com.parse
    +
    +
    A class that is used to access all of the children of a many-to-many relationship.
    +
    +
    ParseRole - Class in com.parse
    +
    +
    Represents a Role on the Parse server.
    +
    +
    ParseRole(String) - Constructor for class com.parse.ParseRole
    +
    +
    Constructs a new ParseRole with the given name.
    +
    +
    ParseRole(String, ParseACL) - Constructor for class com.parse.ParseRole
    +
    +
    Constructs a new ParseRole with the given name.
    +
    +
    ParseSession - Class in com.parse
    +
    +
    The ParseSession is a local representation of session data that can be saved + and retrieved from the Parse cloud.
    +
    +
    ParseSession() - Constructor for class com.parse.ParseSession
    +
     
    +
    ParseTwitterUtils - Class in com.parse
    +
    +
    Provides a set of utilities for using Parse with Twitter.
    +
    +
    ParseUser - Class in com.parse
    +
    +
    The ParseUser is a local representation of user data that can be saved and retrieved from + the Parse cloud.
    +
    +
    ParseUser() - Constructor for class com.parse.ParseUser
    +
    +
    Constructs a new ParseUser with no data in it.
    +
    +
    PASSWORD_MISSING - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating that the password is missing or empty.
    +
    +
    pin(String) - Method in class com.parse.ParseObject
    +
    +
    Stores the object and every object it points to in the local datastore, recursively.
    +
    +
    pin() - Method in class com.parse.ParseObject
    +
    +
    Stores the object and every object it points to in the local datastore, recursively.
    +
    +
    pinAll(String, List<T>) - Static method in class com.parse.ParseObject
    +
    +
    Stores the objects and every object they point to in the local datastore, recursively.
    +
    +
    pinAll(List<T>) - Static method in class com.parse.ParseObject
    +
    +
    Stores the objects and every object they point to in the local datastore, recursively.
    +
    +
    pinAllInBackground(String, List<T>, SaveCallback) - Static method in class com.parse.ParseObject
    +
    +
    Stores the objects and every object they point to in the local datastore, recursively.
    +
    +
    pinAllInBackground(String, List<T>) - Static method in class com.parse.ParseObject
    +
    +
    Stores the objects and every object they point to in the local datastore, recursively.
    +
    +
    pinAllInBackground(List<T>, SaveCallback) - Static method in class com.parse.ParseObject
    +
    +
    Stores the objects and every object they point to in the local datastore, recursively.
    +
    +
    pinAllInBackground(List<T>) - Static method in class com.parse.ParseObject
    +
    +
    Stores the objects and every object they point to in the local datastore, recursively.
    +
    +
    pinInBackground(String, SaveCallback) - Method in class com.parse.ParseObject
    +
    +
    Stores the object and every object it points to in the local datastore, recursively.
    +
    +
    pinInBackground(String) - Method in class com.parse.ParseObject
    +
    +
    Stores the object and every object it points to in the local datastore, recursively.
    +
    +
    pinInBackground(SaveCallback) - Method in class com.parse.ParseObject
    +
    +
    Stores the object and every object it points to in the local datastore, recursively.
    +
    +
    pinInBackground() - Method in class com.parse.ParseObject
    +
    +
    Stores the object and every object it points to in the local datastore, recursively.
    +
    +
    ProgressCallback - Interface in com.parse
    +
    +
    A ProgressCallback is used to get upload or download progress of a ParseFile + action.
    +
    +
    PROPERTY_PUSH_ICON - Static variable in class com.parse.ParsePushBroadcastReceiver
    +
    +
    The name of the meta-data field used to override the icon used in Notifications.
    +
    +
    PUSH_MISCONFIGURED - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating that push is misconfigured.
    +
    +
    PushService - Class in com.parse
    +
    +
    A service to listen for push notifications.
    +
    +
    PushService() - Constructor for class com.parse.PushService
    +
    +
    Client code should not construct a PushService directly.
    +
    +
    put(String, Object) - Method in class com.parse.ParseObject
    +
    +
    Add a key-value pair to this object.
    +
    +
    put(String, Object) - Method in class com.parse.ParseRole
    +
     
    +
    put(String, Object) - Method in class com.parse.ParseUser
    +
     
    +
    + + + +

    R

    +
    +
    refresh() - Method in class com.parse.ParseObject
    +
    +
    Deprecated. +
    Please use ParseObject.fetch() instead.
    +
    +
    +
    RefreshCallback - Interface in com.parse
    +
    +
    A RefreshCallback is used to run code after refresh is used to update a ParseObject in a + background thread.
    +
    +
    refreshInBackground(RefreshCallback) - Method in class com.parse.ParseObject
    +
    +
    Deprecated. + +
    +
    +
    registerDataSetObserver(DataSetObserver) - Method in class com.parse.ParseQueryAdapter
    +
     
    +
    registerSubclass(Class<? extends ParseObject>) - Static method in class com.parse.ParseObject
    +
    +
    Registers a custom subclass type with the Parse SDK, enabling strong-typing of those + ParseObjects whenever they appear.
    +
    +
    remove(String) - Method in class com.parse.ParseObject
    +
    +
    Removes a key from this object's data if it exists.
    +
    +
    remove(T) - Method in class com.parse.ParseRelation
    +
    +
    Removes an object from this relation.
    +
    +
    remove(String) - Method in class com.parse.ParseUser
    +
     
    +
    removeAll(String, Collection<?>) - Method in class com.parse.ParseObject
    +
    +
    Atomically removes all instances of the objects contained in a Collection from the + array associated with a given key.
    +
    +
    removeOnQueryLoadListener(ParseQueryAdapter.OnQueryLoadListener<T>) - Method in class com.parse.ParseQueryAdapter
    +
     
    +
    REQUEST_LIMIT_EXCEEDED - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating that the application has exceeded its request limit.
    +
    +
    requestPasswordReset(String) - Static method in class com.parse.ParseUser
    +
    +
    Requests a password reset email to be sent to the specified email address associated with the + user account.
    +
    +
    RequestPasswordResetCallback - Interface in com.parse
    +
    +
    A RequestPasswordResetCallback is used to run code requesting a password reset for a + user.
    +
    +
    requestPasswordResetInBackground(String) - Static method in class com.parse.ParseUser
    +
    +
    Requests a password reset email to be sent in a background thread to the specified email + address associated with the user account.
    +
    +
    requestPasswordResetInBackground(String, RequestPasswordResetCallback) - Static method in class com.parse.ParseUser
    +
    +
    Requests a password reset email to be sent in a background thread to the specified email + address associated with the user account.
    +
    +
    + + + +

    S

    +
    +
    save() - Method in class com.parse.ParseFile
    +
    +
    Saves the file to the Parse cloud synchronously.
    +
    +
    save() - Method in class com.parse.ParseObject
    +
    +
    Saves this object to the server.
    +
    +
    saveAll(List<T>) - Static method in class com.parse.ParseObject
    +
    +
    Saves each object in the provided list.
    +
    +
    saveAllInBackground(List<T>, SaveCallback) - Static method in class com.parse.ParseObject
    +
    +
    Saves each object in the provided list to the server in a background thread.
    +
    +
    saveAllInBackground(List<T>) - Static method in class com.parse.ParseObject
    +
    +
    Saves each object in the provided list to the server in a background thread.
    +
    +
    SaveCallback - Interface in com.parse
    +
    +
    A SaveCallback is used to run code after saving a ParseObject in a background + thread.
    +
    +
    saveEventually(SaveCallback) - Method in class com.parse.ParseObject
    +
    +
    Saves this object to the server at some unspecified time in the future, even if Parse is + currently inaccessible.
    +
    +
    saveEventually() - Method in class com.parse.ParseObject
    +
    +
    Saves this object to the server at some unspecified time in the future, even if Parse is + currently inaccessible.
    +
    +
    saveInBackground(ProgressCallback) - Method in class com.parse.ParseFile
    +
    +
    Saves the file to the Parse cloud in a background thread.
    +
    +
    saveInBackground() - Method in class com.parse.ParseFile
    +
    +
    Saves the file to the Parse cloud in a background thread.
    +
    +
    saveInBackground(SaveCallback, ProgressCallback) - Method in class com.parse.ParseFile
    +
    +
    Saves the file to the Parse cloud in a background thread.
    +
    +
    saveInBackground(SaveCallback) - Method in class com.parse.ParseFile
    +
    +
    Saves the file to the Parse cloud in a background thread.
    +
    +
    saveInBackground() - Method in class com.parse.ParseObject
    +
    +
    Saves this object to the server in a background thread.
    +
    +
    saveInBackground(SaveCallback) - Method in class com.parse.ParseObject
    +
    +
    Saves this object to the server in a background thread.
    +
    +
    SCRIPT_ERROR - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating that a Cloud Code script failed.
    +
    +
    selectKeys(Collection<String>) - Method in class com.parse.ParseQuery
    +
    +
    Restrict the fields of returned ParseObjects to only include the provided keys.
    +
    +
    send() - Method in class com.parse.ParsePush
    +
    +
    Sends this push notification while blocking this thread until the push notification has + successfully reached the Parse servers.
    +
    +
    SendCallback - Interface in com.parse
    +
    +
    A SendCallback is used to run code after sending a ParsePush in a background + thread.
    +
    +
    sendDataInBackground(JSONObject, ParseQuery<ParseInstallation>) - Static method in class com.parse.ParsePush
    +
    +
    A helper method to concisely send a push to a query.
    +
    +
    sendDataInBackground(JSONObject, ParseQuery<ParseInstallation>, SendCallback) - Static method in class com.parse.ParsePush
    +
    +
    A helper method to concisely send a push to a query.
    +
    +
    sendInBackground() - Method in class com.parse.ParsePush
    +
    +
    Sends this push notification in a background thread.
    +
    +
    sendInBackground(SendCallback) - Method in class com.parse.ParsePush
    +
    +
    Sends this push notification in a background thread.
    +
    +
    sendMessageInBackground(String, ParseQuery<ParseInstallation>) - Static method in class com.parse.ParsePush
    +
    +
    A helper method to concisely send a push message to a query.
    +
    +
    sendMessageInBackground(String, ParseQuery<ParseInstallation>, SendCallback) - Static method in class com.parse.ParsePush
    +
    +
    A helper method to concisely send a push message to a query.
    +
    +
    SESSION_MISSING - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating that a user object without a valid session could not be altered.
    +
    +
    setACL(ParseACL) - Method in class com.parse.ParseObject
    +
    +
    Set the ParseACL governing this object.
    +
    +
    setAutoload(boolean) - Method in class com.parse.ParseQueryAdapter
    +
    +
    Enable or disable the automatic loading of results upon attachment to an AdapterView.
    +
    +
    setCachePolicy(ParseQuery.CachePolicy) - Method in class com.parse.ParseQuery
    +
    +
    Change the caching policy of this query.
    +
    +
    setChannel(String) - Method in class com.parse.ParsePush
    +
    +
    Sets the channel on which this push notification will be sent.
    +
    +
    setChannels(Collection<String>) - Method in class com.parse.ParsePush
    +
    +
    Sets the collection of channels on which this push notification will be sent.
    +
    +
    setData(JSONObject) - Method in class com.parse.ParsePush
    +
    +
    Sets the entire data of the push message.
    +
    +
    setDefaultACL(ParseACL, boolean) - Static method in class com.parse.ParseACL
    +
    +
    Sets a default ACL that will be applied to all ParseObjects when they are created.
    +
    +
    setDefaultPushCallback(Context, Class<? extends Activity>) - Static method in class com.parse.PushService
    +
    +
    Deprecated. +
    Please use ParsePushBroadcastReceiver instead.
    +
    +
    +
    setDefaultPushCallback(Context, Class<? extends Activity>, int) - Static method in class com.parse.PushService
    +
    +
    Deprecated. +
    Please use ParsePushBroadcastReceiver instead.
    +
    +
    +
    setEmail(String) - Method in class com.parse.ParseUser
    +
    +
    Sets the email address.
    +
    +
    setExpirationTime(long) - Method in class com.parse.ParsePush
    +
    +
    Sets a UNIX epoch timestamp at which this notification should expire, in seconds (UTC).
    +
    +
    setExpirationTimeInterval(long) - Method in class com.parse.ParsePush
    +
    +
    Sets the time interval after which this notification should expire, in seconds.
    +
    +
    setImageBitmap(Bitmap) - Method in class com.parse.ParseImageView
    +
     
    +
    setImageKey(String) - Method in class com.parse.ParseQueryAdapter
    +
     
    +
    setLatitude(double) - Method in class com.parse.ParseGeoPoint
    +
    +
    Set latitude.
    +
    +
    setLimit(int) - Method in class com.parse.ParseQuery
    +
    +
    Controls the maximum number of results that are returned.
    +
    +
    setLogLevel(int) - Static method in class com.parse.Parse
    +
    +
    Sets the level of logging to display, where each level includes all those below it.
    +
    +
    setLongitude(double) - Method in class com.parse.ParseGeoPoint
    +
    +
    Set longitude.
    +
    +
    setMaxCacheAge(long) - Method in class com.parse.ParseQuery
    +
    +
    Sets the maximum age of cached data that will be considered in this query.
    +
    +
    setMessage(String) - Method in class com.parse.ParsePush
    +
    +
    Sets the message that will be shown in the notification.
    +
    +
    setName(String) - Method in class com.parse.ParseRole
    +
    +
    Sets the name for a role.
    +
    +
    setObjectId(String) - Method in class com.parse.ParseObject
    +
    +
    Setter for the object id.
    +
    +
    setObjectsPerPage(int) - Method in class com.parse.ParseQueryAdapter
    +
     
    +
    setPageOnQuery(int, ParseQuery<T>) - Method in class com.parse.ParseQueryAdapter
    +
    +
    Override this method to manually paginate the provided ParseQuery.
    +
    +
    setPaginationEnabled(boolean) - Method in class com.parse.ParseQueryAdapter
    +
    +
    Enable or disable pagination of results.
    +
    +
    setParseFile(ParseFile) - Method in class com.parse.ParseImageView
    +
    +
    Sets the remote file on Parse's server that stores the image.
    +
    +
    setPassword(String) - Method in class com.parse.ParseUser
    +
    +
    Sets the password.
    +
    +
    setPlaceholder(Drawable) - Method in class com.parse.ParseImageView
    +
    +
    Sets the placeholder to be used while waiting for an image to be loaded.
    +
    +
    setPlaceholder(Drawable) - Method in class com.parse.ParseQueryAdapter
    +
    +
    Sets a placeholder image to be used when fetching data for each item in the AdapterView + .
    +
    +
    setPublicReadAccess(boolean) - Method in class com.parse.ParseACL
    +
    +
    Set whether the public is allowed to read this object.
    +
    +
    setPublicWriteAccess(boolean) - Method in class com.parse.ParseACL
    +
    +
    Set whether the public is allowed to write this object.
    +
    +
    setPushToAndroid(boolean) - Method in class com.parse.ParsePush
    +
    +
    Deprecated.
    +
    +
    setPushToIOS(boolean) - Method in class com.parse.ParsePush
    +
    +
    Deprecated.
    +
    +
    setQuery(ParseQuery<ParseInstallation>) - Method in class com.parse.ParsePush
    +
    +
    Sets the query for this push for which this push notification will be sent.
    +
    +
    setReadAccess(String, boolean) - Method in class com.parse.ParseACL
    +
    +
    Set whether the given user id is allowed to read this object.
    +
    +
    setReadAccess(ParseUser, boolean) - Method in class com.parse.ParseACL
    +
    +
    Set whether the given user is allowed to read this object.
    +
    +
    setRoleReadAccess(String, boolean) - Method in class com.parse.ParseACL
    +
    +
    Set whether users belonging to the role with the given roleName are allowed to read this + object.
    +
    +
    setRoleReadAccess(ParseRole, boolean) - Method in class com.parse.ParseACL
    +
    +
    Set whether users belonging to the given role are allowed to read this object.
    +
    +
    setRoleWriteAccess(String, boolean) - Method in class com.parse.ParseACL
    +
    +
    Set whether users belonging to the role with the given roleName are allowed to write this + object.
    +
    +
    setRoleWriteAccess(ParseRole, boolean) - Method in class com.parse.ParseACL
    +
    +
    Set whether users belonging to the given role are allowed to write this object.
    +
    +
    setSkip(int) - Method in class com.parse.ParseQuery
    +
    +
    Controls the number of results to skip before returning any results.
    +
    +
    setTextKey(String) - Method in class com.parse.ParseQueryAdapter
    +
     
    +
    setTrace(boolean) - Method in class com.parse.ParseQuery
    +
    +
    Turn on performance tracing of finds.
    +
    +
    setUsername(String) - Method in class com.parse.ParseUser
    +
    +
    Sets the username.
    +
    +
    setWriteAccess(String, boolean) - Method in class com.parse.ParseACL
    +
    +
    Set whether the given user id is allowed to write this object.
    +
    +
    setWriteAccess(ParseUser, boolean) - Method in class com.parse.ParseACL
    +
    +
    Set whether the given user is allowed to write this object.
    +
    +
    signUp() - Method in class com.parse.ParseUser
    +
    +
    Signs up a new user.
    +
    +
    SignUpCallback - Interface in com.parse
    +
    +
    A SignUpCallback is used to run code after signing up a ParseUser in a background + thread.
    +
    +
    signUpInBackground() - Method in class com.parse.ParseUser
    +
    +
    Signs up a new user.
    +
    +
    signUpInBackground(SignUpCallback) - Method in class com.parse.ParseUser
    +
    +
    Signs up a new user.
    +
    +
    SMALL_NOTIFICATION_MAX_CHARACTER_LIMIT - Static variable in class com.parse.ParsePushBroadcastReceiver
    +
     
    +
    subscribe(Context, String, Class<? extends Activity>) - Static method in class com.parse.PushService
    +
    + +
    +
    subscribe(Context, String, Class<? extends Activity>, int) - Static method in class com.parse.PushService
    +
    + +
    +
    subscribeInBackground(String) - Static method in class com.parse.ParsePush
    +
    +
    Adds 'channel' to the 'channels' list in the current ParseInstallation and saves it in + a background thread.
    +
    +
    subscribeInBackground(String, SaveCallback) - Static method in class com.parse.ParsePush
    +
    +
    Adds 'channel' to the 'channels' list in the current ParseInstallation and saves it in + a background thread.
    +
    +
    + + + +

    T

    +
    +
    TIMEOUT - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating that the request timed out on the server.
    +
    +
    toString() - Method in class com.parse.ParseConfig
    +
     
    +
    toString() - Method in class com.parse.ParseGeoPoint
    +
     
    +
    trackAppOpened(Intent) - Static method in class com.parse.ParseAnalytics
    +
    + +
    +
    trackAppOpenedInBackground(Intent) - Static method in class com.parse.ParseAnalytics
    +
    +
    Tracks this application being launched (and if this happened as the result of the user opening + a push notification, this method sends along information to correlate this open with that + push).
    +
    +
    trackAppOpenedInBackground(Intent, SaveCallback) - Static method in class com.parse.ParseAnalytics
    +
    +
    Tracks this application being launched (and if this happened as the result of the user opening + a push notification, this method sends along information to correlate this open with that + push).
    +
    +
    trackEvent(String) - Static method in class com.parse.ParseAnalytics
    +
    +
    Deprecated. + +
    +
    +
    trackEvent(String, Map<String, String>) - Static method in class com.parse.ParseAnalytics
    +
    + +
    +
    trackEventInBackground(String, SaveCallback) - Static method in class com.parse.ParseAnalytics
    +
    +
    Tracks the occurrence of a custom event.
    +
    +
    trackEventInBackground(String, Map<String, String>, SaveCallback) - Static method in class com.parse.ParseAnalytics
    +
    +
    Tracks the occurrence of a custom event with additional dimensions.
    +
    +
    trackEventInBackground(String) - Static method in class com.parse.ParseAnalytics
    +
    +
    Tracks the occurrence of a custom event with additional dimensions.
    +
    +
    trackEventInBackground(String, Map<String, String>) - Static method in class com.parse.ParseAnalytics
    +
    +
    Tracks the occurrence of a custom event with additional dimensions.
    +
    +
    + + + +

    U

    +
    +
    unlink(ParseUser) - Static method in class com.parse.ParseTwitterUtils
    +
    +
    Unlinks a user from a Twitter account.
    +
    +
    unlinkInBackground(ParseUser) - Static method in class com.parse.ParseTwitterUtils
    +
    +
    Unlinks a user from a Twitter account in the background.
    +
    +
    unlinkInBackground(ParseUser, SaveCallback) - Static method in class com.parse.ParseTwitterUtils
    +
    +
    Unlinks a user from a Twitter account in the background.
    +
    +
    unpin(String) - Method in class com.parse.ParseObject
    +
    +
    Removes the object and every object it points to in the local datastore, recursively.
    +
    +
    unpin() - Method in class com.parse.ParseObject
    +
    +
    Removes the object and every object it points to in the local datastore, recursively.
    +
    +
    unpinAll(String, List<T>) - Static method in class com.parse.ParseObject
    +
    +
    Removes the objects and every object they point to in the local datastore, recursively.
    +
    +
    unpinAll(List<T>) - Static method in class com.parse.ParseObject
    +
    +
    Removes the objects and every object they point to in the local datastore, recursively.
    +
    +
    unpinAll(String) - Static method in class com.parse.ParseObject
    +
    +
    Removes the objects and every object they point to in the local datastore, recursively.
    +
    +
    unpinAll() - Static method in class com.parse.ParseObject
    +
    +
    Removes the objects and every object they point to in the local datastore, recursively.
    +
    +
    unpinAllInBackground(String, List<T>, DeleteCallback) - Static method in class com.parse.ParseObject
    +
    +
    Removes the objects and every object they point to in the local datastore, recursively.
    +
    +
    unpinAllInBackground(String, List<T>) - Static method in class com.parse.ParseObject
    +
    +
    Removes the objects and every object they point to in the local datastore, recursively.
    +
    +
    unpinAllInBackground(List<T>, DeleteCallback) - Static method in class com.parse.ParseObject
    +
    +
    Removes the objects and every object they point to in the local datastore, recursively.
    +
    +
    unpinAllInBackground(List<T>) - Static method in class com.parse.ParseObject
    +
    +
    Removes the objects and every object they point to in the local datastore, recursively.
    +
    +
    unpinAllInBackground(String, DeleteCallback) - Static method in class com.parse.ParseObject
    +
    +
    Removes the objects and every object they point to in the local datastore, recursively.
    +
    +
    unpinAllInBackground(String) - Static method in class com.parse.ParseObject
    +
    +
    Removes the objects and every object they point to in the local datastore, recursively.
    +
    +
    unpinAllInBackground(DeleteCallback) - Static method in class com.parse.ParseObject
    +
    +
    Removes the objects and every object they point to in the local datastore, recursively.
    +
    +
    unpinAllInBackground() - Static method in class com.parse.ParseObject
    +
    +
    Removes the objects and every object they point to in the local datastore, recursively.
    +
    +
    unpinInBackground(String, DeleteCallback) - Method in class com.parse.ParseObject
    +
    +
    Removes the object and every object it points to in the local datastore, recursively.
    +
    +
    unpinInBackground(String) - Method in class com.parse.ParseObject
    +
    +
    Removes the object and every object it points to in the local datastore, recursively.
    +
    +
    unpinInBackground(DeleteCallback) - Method in class com.parse.ParseObject
    +
    +
    Removes the object and every object it points to in the local datastore, recursively.
    +
    +
    unpinInBackground() - Method in class com.parse.ParseObject
    +
    +
    Removes the object and every object it points to in the local datastore, recursively.
    +
    +
    unregisterDataSetObserver(DataSetObserver) - Method in class com.parse.ParseQueryAdapter
    +
     
    +
    unsubscribe(Context, String) - Static method in class com.parse.PushService
    +
    + +
    +
    unsubscribeInBackground(String) - Static method in class com.parse.ParsePush
    +
    +
    Removes 'channel' from the 'channels' list in the current ParseInstallation and saves + it in a background thread.
    +
    +
    unsubscribeInBackground(String, SaveCallback) - Static method in class com.parse.ParsePush
    +
    +
    Removes 'channel' from the 'channels' list in the current ParseInstallation and saves + it in a background thread.
    +
    +
    UNSUPPORTED_SERVICE - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating that a service being linked (e.g.
    +
    +
    USERNAME_MISSING - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating that the username is missing or empty.
    +
    +
    USERNAME_TAKEN - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating that the username has already been taken.
    +
    +
    + + + +

    V

    +
    +
    validateSave() - Method in class com.parse.ParseRole
    +
     
    +
    VALIDATION_ERROR - Static variable in exception com.parse.ParseException
    +
    +
    Error code indicating that cloud code validation failed.
    +
    +
    valueOf(String) - Static method in enum com.parse.ParseQuery.CachePolicy
    +
    +
    Returns the enum constant of this type with the specified name.
    +
    +
    values() - Static method in enum com.parse.ParseQuery.CachePolicy
    +
    +
    Returns an array containing the constants of this enum type, in +the order they are declared.
    +
    +
    + + + +

    W

    +
    +
    whereContainedIn(String, Collection<? extends Object>) - Method in class com.parse.ParseQuery
    +
    +
    Add a constraint to the query that requires a particular key's value to be contained in the + provided list of values.
    +
    +
    whereContains(String, String) - Method in class com.parse.ParseQuery
    +
    +
    Add a constraint for finding string values that contain a provided string.
    +
    +
    whereContainsAll(String, Collection<?>) - Method in class com.parse.ParseQuery
    +
    +
    Add a constraint to the query that requires a particular key's value match another + ParseQuery.
    +
    +
    whereDoesNotExist(String) - Method in class com.parse.ParseQuery
    +
    +
    Add a constraint for finding objects that do not contain a given key.
    +
    +
    whereDoesNotMatchKeyInQuery(String, String, ParseQuery<?>) - Method in class com.parse.ParseQuery
    +
    +
    Add a constraint to the query that requires a particular key's value does not match any value + for a key in the results of another ParseQuery.
    +
    +
    whereDoesNotMatchQuery(String, ParseQuery<?>) - Method in class com.parse.ParseQuery
    +
    +
    Add a constraint to the query that requires a particular key's value does not match another + ParseQuery.
    +
    +
    whereEndsWith(String, String) - Method in class com.parse.ParseQuery
    +
    +
    Add a constraint for finding string values that end with a provided string.
    +
    +
    whereEqualTo(String, Object) - Method in class com.parse.ParseQuery
    +
    +
    Add a constraint to the query that requires a particular key's value to be equal to the + provided value.
    +
    +
    whereExists(String) - Method in class com.parse.ParseQuery
    +
    +
    Add a constraint for finding objects that contain the given key.
    +
    +
    whereGreaterThan(String, Object) - Method in class com.parse.ParseQuery
    +
    +
    Add a constraint to the query that requires a particular key's value to be greater than the + provided value.
    +
    +
    whereGreaterThanOrEqualTo(String, Object) - Method in class com.parse.ParseQuery
    +
    +
    Add a constraint to the query that requires a particular key's value to be greater than or + equal to the provided value.
    +
    +
    whereLessThan(String, Object) - Method in class com.parse.ParseQuery
    +
    +
    Add a constraint to the query that requires a particular key's value to be less than the + provided value.
    +
    +
    whereLessThanOrEqualTo(String, Object) - Method in class com.parse.ParseQuery
    +
    +
    Add a constraint to the query that requires a particular key's value to be less than or equal + to the provided value.
    +
    +
    whereMatches(String, String) - Method in class com.parse.ParseQuery
    +
    +
    Add a regular expression constraint for finding string values that match the provided regular + expression.
    +
    +
    whereMatches(String, String, String) - Method in class com.parse.ParseQuery
    +
    +
    Add a regular expression constraint for finding string values that match the provided regular + expression.
    +
    +
    whereMatchesKeyInQuery(String, String, ParseQuery<?>) - Method in class com.parse.ParseQuery
    +
    +
    Add a constraint to the query that requires a particular key's value matches a value for a key + in the results of another ParseQuery.
    +
    +
    whereMatchesQuery(String, ParseQuery<?>) - Method in class com.parse.ParseQuery
    +
    +
    Add a constraint to the query that requires a particular key's value match another + ParseQuery.
    +
    +
    whereNear(String, ParseGeoPoint) - Method in class com.parse.ParseQuery
    +
    +
    Add a proximity based constraint for finding objects with key point values near the point + given.
    +
    +
    whereNotContainedIn(String, Collection<? extends Object>) - Method in class com.parse.ParseQuery
    +
    +
    Add a constraint to the query that requires a particular key's value not be contained in the + provided list of values.
    +
    +
    whereNotEqualTo(String, Object) - Method in class com.parse.ParseQuery
    +
    +
    Add a constraint to the query that requires a particular key's value to be not equal to the + provided value.
    +
    +
    whereStartsWith(String, String) - Method in class com.parse.ParseQuery
    +
    +
    Add a constraint for finding string values that start with a provided string.
    +
    +
    whereWithinGeoBox(String, ParseGeoPoint, ParseGeoPoint) - Method in class com.parse.ParseQuery
    +
    +
    Add a constraint to the query that requires a particular key's coordinates be contained within + a given rectangular geographic bounding box.
    +
    +
    whereWithinKilometers(String, ParseGeoPoint, double) - Method in class com.parse.ParseQuery
    +
    +
    Add a proximity based constraint for finding objects with key point values near the point given + and within the maximum distance given.
    +
    +
    whereWithinMiles(String, ParseGeoPoint, double) - Method in class com.parse.ParseQuery
    +
    +
    Add a proximity based constraint for finding objects with key point values near the point given + and within the maximum distance given.
    +
    +
    whereWithinRadians(String, ParseGeoPoint, double) - Method in class com.parse.ParseQuery
    +
    +
    Add a proximity based constraint for finding objects with key point values near the point given + and within the maximum distance given.
    +
    +
    +A B C D E F G H I K L M N O P R S T U V W 
    + +
    + + + + + +
    + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/index.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/index.html new file mode 100644 index 00000000..a24946c9 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/index.html @@ -0,0 +1,70 @@ + + + + +Generated Documentation (Untitled) + + + + + + +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<h2>Frame Alert</h2> +<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="com/parse/package-summary.html">Non-frame version</a>.</p> + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/overview-tree.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/overview-tree.html new file mode 100644 index 00000000..50aaa16b --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/overview-tree.html @@ -0,0 +1,229 @@ + + + + +Class Hierarchy + + + + + + +
    + + + + + +
    + + +
    +

    Hierarchy For All Packages

    +Package Hierarchies: + +
    +
    +

    Class Hierarchy

    + +

    Interface Hierarchy

    + +

    Annotation Type Hierarchy

    + +

    Enum Hierarchy

    + +
    + +
    + + + + + +
    + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/package-list b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/package-list new file mode 100644 index 00000000..efe15013 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/package-list @@ -0,0 +1 @@ +com.parse diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/resources/background.gif b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/resources/background.gif new file mode 100644 index 00000000..f471940f Binary files /dev/null and b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/resources/background.gif differ diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/resources/tab.gif b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/resources/tab.gif new file mode 100644 index 00000000..1a73a83b Binary files /dev/null and b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/resources/tab.gif differ diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/resources/titlebar.gif b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/resources/titlebar.gif new file mode 100644 index 00000000..17443b3e Binary files /dev/null and b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/resources/titlebar.gif differ diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/resources/titlebar_end.gif b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/resources/titlebar_end.gif new file mode 100644 index 00000000..3ad78d46 Binary files /dev/null and b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/resources/titlebar_end.gif differ diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/serialized-form.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/serialized-form.html new file mode 100644 index 00000000..8a1f3e21 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/serialized-form.html @@ -0,0 +1,141 @@ + + + + +Serialized Form + + + + + + +
    + + + + + +
    + + +
    +

    Serialized Form

    +
    +
    + +
    + +
    + + + + + +
    + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/stylesheet.css b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/stylesheet.css new file mode 100644 index 00000000..0aeaa97f --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0-javadoc/stylesheet.css @@ -0,0 +1,474 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ +body { + background-color:#ffffff; + color:#353833; + font-family:Arial, Helvetica, sans-serif; + font-size:76%; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4c6b87; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4c6b87; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-size:1.3em; +} +h1 { + font-size:1.8em; +} +h2 { + font-size:1.5em; +} +h3 { + font-size:1.4em; +} +h4 { + font-size:1.3em; +} +h5 { + font-size:1.2em; +} +h6 { + font-size:1.1em; +} +ul { + list-style-type:disc; +} +code, tt { + font-size:1.2em; +} +dt code { + font-size:1.2em; +} +table tr td dt code { + font-size:1.2em; + vertical-align:top; +} +sup { + font-size:.6em; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:.8em; + z-index:200; + margin-top:-7px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + background-image:url(resources/titlebar.gif); + background-position:left top; + background-repeat:no-repeat; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-image:url(resources/background.gif); + background-repeat:repeat-x; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:1em; + margin:0; +} +.topNav { + background-image:url(resources/background.gif); + background-repeat:repeat-x; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; +} +.bottomNav { + margin-top:10px; + background-image:url(resources/background.gif); + background-repeat:repeat-x; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; +} +.subNav { + background-color:#dee3e9; + border-bottom:1px solid #9eadc0; + float:left; + width:100%; + overflow:hidden; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding:3px 6px; +} +ul.subNavList li{ + list-style:none; + float:left; + font-size:90%; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; +} +.navBarCell1Rev { + background-image:url(resources/tab.gif); + background-color:#a88834; + color:#FFFFFF; + margin: auto 5px; + border:1px solid #c9aa44; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader h1 { + font-size:1.3em; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 25px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:1.2em; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border-top:1px solid #9eadc0; + border-bottom:1px solid #9eadc0; + margin:0 0 6px -8px; + padding:2px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border-top:1px solid #9eadc0; + border-bottom:1px solid #9eadc0; + margin:0 0 6px -8px; + padding:2px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:1.0em; +} +.indexContainer h2 { + font-size:1.1em; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:1.1em; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:10px 0 10px 20px; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:25px; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #9eadc0; + background-color:#f9f9f9; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:1px solid #9eadc0; + border-top:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; + border-bottom:1px solid #9eadc0; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.contentContainer table, .classUseContainer table, .constantValuesContainer table { + border-bottom:1px solid #9eadc0; + width:100%; +} +.contentContainer ul li table, .classUseContainer ul li table, .constantValuesContainer ul li table { + width:100%; +} +.contentContainer .description table, .contentContainer .details table { + border-bottom:none; +} +.contentContainer ul li table th.colOne, .contentContainer ul li table th.colFirst, .contentContainer ul li table th.colLast, .classUseContainer ul li table th, .constantValuesContainer ul li table th, .contentContainer ul li table td.colOne, .contentContainer ul li table td.colFirst, .contentContainer ul li table td.colLast, .classUseContainer ul li table td, .constantValuesContainer ul li table td{ + vertical-align:top; + padding-right:20px; +} +.contentContainer ul li table th.colLast, .classUseContainer ul li table th.colLast,.constantValuesContainer ul li table th.colLast, +.contentContainer ul li table td.colLast, .classUseContainer ul li table td.colLast,.constantValuesContainer ul li table td.colLast, +.contentContainer ul li table th.colOne, .classUseContainer ul li table th.colOne, +.contentContainer ul li table td.colOne, .classUseContainer ul li table td.colOne { + padding-right:3px; +} +.overviewSummary caption, .packageSummary caption, .contentContainer ul.blockList li.blockList caption, .summary caption, .classUseContainer caption, .constantValuesContainer caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#FFFFFF; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + margin:0px; +} +caption a:link, caption a:hover, caption a:active, caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .packageSummary caption span, .contentContainer ul.blockList li.blockList caption span, .summary caption span, .classUseContainer caption span, .constantValuesContainer caption span { + white-space:nowrap; + padding-top:8px; + padding-left:8px; + display:block; + float:left; + background-image:url(resources/titlebar.gif); + height:18px; +} +.overviewSummary .tabEnd, .packageSummary .tabEnd, .contentContainer ul.blockList li.blockList .tabEnd, .summary .tabEnd, .classUseContainer .tabEnd, .constantValuesContainer .tabEnd { + width:10px; + background-image:url(resources/titlebar_end.gif); + background-repeat:no-repeat; + background-position:top right; + position:relative; + float:left; +} +ul.blockList ul.blockList li.blockList table { + margin:0 0 12px 0px; + width:100%; +} +.tableSubHeadingColor { + background-color: #EEEEFF; +} +.altColor { + background-color:#eeeeef; +} +.rowColor { + background-color:#ffffff; +} +.overviewSummary td, .packageSummary td, .contentContainer ul.blockList li.blockList td, .summary td, .classUseContainer td, .constantValuesContainer td { + text-align:left; + padding:3px 3px 3px 7px; +} +th.colFirst, th.colLast, th.colOne, .constantValuesContainer th { + background:#dee3e9; + border-top:1px solid #9eadc0; + border-bottom:1px solid #9eadc0; + text-align:left; + padding:3px 3px 3px 7px; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +td.colFirst, th.colFirst { + border-left:1px solid #9eadc0; + white-space:nowrap; +} +td.colLast, th.colLast { + border-right:1px solid #9eadc0; +} +td.colOne, th.colOne { + border-right:1px solid #9eadc0; + border-left:1px solid #9eadc0; +} +table.overviewSummary { + padding:0px; + margin-left:0px; +} +table.overviewSummary td.colFirst, table.overviewSummary th.colFirst, +table.overviewSummary td.colOne, table.overviewSummary th.colOne { + width:25%; + vertical-align:middle; +} +table.packageSummary td.colFirst, table.overviewSummary th.colFirst { + width:25%; + vertical-align:middle; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:.9em; +} +.block { + display:block; + margin:3px 0 0 0; +} +.strong { + font-weight:bold; +} diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0.jar b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0.jar new file mode 100644 index 00000000..90ab97cc Binary files /dev/null and b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0.jar differ diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0.jar.properties b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0.jar.properties new file mode 100644 index 00000000..783a2353 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/Parse-1.9.0.jar.properties @@ -0,0 +1 @@ +doc=Parse-1.9.0-javadoc diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/allclasses-frame.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/allclasses-frame.html new file mode 100644 index 00000000..4d2eec28 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/allclasses-frame.html @@ -0,0 +1,16 @@ + + + + +All Classes + + + +

    All Classes

    + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/allclasses-noframe.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/allclasses-noframe.html new file mode 100644 index 00000000..fdc4546b --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/allclasses-noframe.html @@ -0,0 +1,16 @@ + + + + +All Classes + + + +

    All Classes

    + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/com/parse/ParseCrashReporting.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/com/parse/ParseCrashReporting.html new file mode 100644 index 00000000..105c21e9 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/com/parse/ParseCrashReporting.html @@ -0,0 +1,255 @@ + + + + +ParseCrashReporting + + + + + + + + + + +
    +
    com.parse
    +

    Class ParseCrashReporting

    +
    +
    +
      +
    • Object
    • +
    • +
        +
      • com.parse.ParseCrashReporting
      • +
      +
    • +
    +
    +
      +
    • +
      +
      +
      public final class ParseCrashReporting
      +extends Object
      +
      ParseCrashReporting is responsible for enabling crash reporting in your application. +

      + This can be found in our ParseCrashReporting SDK.

      +
    • +
    +
    +
    + +
    +
    +
      +
    • + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          enable

          +
          public static void enable(Context context)
          +
          Enable crash reporting for your app. This must be called before your application can use + crash reporting. +

          + The recommended way is to put a call to ParseCrashReporting.enable in your + Application's onCreate method before Parse#initialize(Context). + For example: +

          + public class MyApplication extends Application {
          +   public void onCreate() {
          +     ParseCrashReporting.enable(this);
          +     Parse.initialize(this);
          +   }
          + }
          + 
          +
          Parameters:
          context - The active Context for your application.
          +
        • +
        + + + +
          +
        • +

          isCrashReportingEnabled

          +
          public static boolean isCrashReportingEnabled()
          +
          Indicates whether crash reporting is currently enabled.
          +
          Returns:
          true if crash reporting is enabled.
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/com/parse/class-use/ParseCrashReporting.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/com/parse/class-use/ParseCrashReporting.html new file mode 100644 index 00000000..bdffc88d --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/com/parse/class-use/ParseCrashReporting.html @@ -0,0 +1,111 @@ + + + + +Uses of Class com.parse.ParseCrashReporting + + + + + + + + + +
    +

    Uses of Class
    com.parse.ParseCrashReporting

    +
    +
    No usage of com.parse.ParseCrashReporting
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/com/parse/package-frame.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/com/parse/package-frame.html new file mode 100644 index 00000000..a42636f1 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/com/parse/package-frame.html @@ -0,0 +1,17 @@ + + + + +com.parse + + + +

    com.parse

    +
    +

    Classes

    + +
    + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/com/parse/package-summary.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/com/parse/package-summary.html new file mode 100644 index 00000000..957e2a53 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/com/parse/package-summary.html @@ -0,0 +1,131 @@ + + + + +com.parse + + + + + + + + + +
    +

    Package com.parse

    +
    +
    +
      +
    • + + + + + + + + + + + + +
      Class Summary 
      ClassDescription
      ParseCrashReporting +
      ParseCrashReporting is responsible for enabling crash reporting in your application.
      +
      +
    • +
    +
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/com/parse/package-tree.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/com/parse/package-tree.html new file mode 100644 index 00000000..883cfd89 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/com/parse/package-tree.html @@ -0,0 +1,120 @@ + + + + +com.parse Class Hierarchy + + + + + + +
    + + + + + +
    + + +
    +

    Hierarchy For Package com.parse

    +
    +
    +

    Class Hierarchy

    + +
    + +
    + + + + + +
    + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/com/parse/package-use.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/com/parse/package-use.html new file mode 100644 index 00000000..1940cd08 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/com/parse/package-use.html @@ -0,0 +1,111 @@ + + + + +Uses of Package com.parse + + + + + + +
    + + + + + +
    + + +
    +

    Uses of Package
    com.parse

    +
    +
    No usage of com.parse
    + +
    + + + + + +
    + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/constant-values.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/constant-values.html new file mode 100644 index 00000000..61dacc12 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/constant-values.html @@ -0,0 +1,111 @@ + + + + +Constant Field Values + + + + + + +
    + + + + + +
    + + +
    +

    Constant Field Values

    +

    Contents

    +
    + +
    + + + + + +
    + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/deprecated-list.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/deprecated-list.html new file mode 100644 index 00000000..60d6db8b --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/deprecated-list.html @@ -0,0 +1,111 @@ + + + + +Deprecated List + + + + + + +
    + + + + + +
    + + +
    +

    Deprecated API

    +

    Contents

    +
    + +
    + + + + + +
    + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/help-doc.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/help-doc.html new file mode 100644 index 00000000..5b4c5b69 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/help-doc.html @@ -0,0 +1,212 @@ + + + + +API Help + + + + + + +
    + + + + + +
    + + +
    +

    How This API Document Is Organized

    +
    This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
    +
    +
    +
      +
    • +

      Package

      +

      Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

      +
        +
      • Interfaces (italic)
      • +
      • Classes
      • +
      • Enums
      • +
      • Exceptions
      • +
      • Errors
      • +
      • Annotation Types
      • +
      +
    • +
    • +

      Class/Interface

      +

      Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

      +
        +
      • Class inheritance diagram
      • +
      • Direct Subclasses
      • +
      • All Known Subinterfaces
      • +
      • All Known Implementing Classes
      • +
      • Class/interface declaration
      • +
      • Class/interface description
      • +
      +
        +
      • Nested Class Summary
      • +
      • Field Summary
      • +
      • Constructor Summary
      • +
      • Method Summary
      • +
      +
        +
      • Field Detail
      • +
      • Constructor Detail
      • +
      • Method Detail
      • +
      +

      Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

      +
    • +
    • +

      Annotation Type

      +

      Each annotation type has its own separate page with the following sections:

      +
        +
      • Annotation Type declaration
      • +
      • Annotation Type description
      • +
      • Required Element Summary
      • +
      • Optional Element Summary
      • +
      • Element Detail
      • +
      +
    • +
    • +

      Enum

      +

      Each enum has its own separate page with the following sections:

      +
        +
      • Enum declaration
      • +
      • Enum description
      • +
      • Enum Constant Summary
      • +
      • Enum Constant Detail
      • +
      +
    • +
    • +

      Use

      +

      Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

      +
    • +
    • +

      Tree (Class Hierarchy)

      +

      There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

      +
        +
      • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
      • +
      • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
      • +
      +
    • +
    • +

      Deprecated API

      +

      The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

      +
    • +
    • +

      Index

      +

      The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

      +
    • +
    • +

      Prev/Next

      +

      These links take you to the next or previous class, interface, package, or related page.

      +
    • +
    • +

      Frames/No Frames

      +

      These links show and hide the HTML frames. All pages are available with or without frames.

      +
    • +
    • +

      All Classes

      +

      The All Classes link shows all classes and interfaces except non-static nested types.

      +
    • +
    • +

      Serialized Form

      +

      Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

      +
    • +
    • +

      Constant Field Values

      +

      The Constant Field Values page lists the static final fields and their values.

      +
    • +
    +This help file applies to API documentation generated using the standard doclet.
    + +
    + + + + + +
    + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/index-all.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/index-all.html new file mode 100644 index 00000000..31cc2c89 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/index-all.html @@ -0,0 +1,146 @@ + + + + +Index + + + + + + +
    + + + + + +
    + + +
    C E I P  + + +

    C

    +
    +
    com.parse - package com.parse
    +
     
    +
    + + + +

    E

    +
    +
    enable(Context) - Static method in class com.parse.ParseCrashReporting
    +
    +
    Enable crash reporting for your app.
    +
    +
    + + + +

    I

    +
    +
    isCrashReportingEnabled() - Static method in class com.parse.ParseCrashReporting
    +
    +
    Indicates whether crash reporting is currently enabled.
    +
    +
    + + + +

    P

    +
    +
    ParseCrashReporting - Class in com.parse
    +
    +
    ParseCrashReporting is responsible for enabling crash reporting in your application.
    +
    +
    +C E I P 
    + +
    + + + + + +
    + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/index.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/index.html new file mode 100644 index 00000000..a24946c9 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/index.html @@ -0,0 +1,70 @@ + + + + +Generated Documentation (Untitled) + + + + + + +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<h2>Frame Alert</h2> +<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="com/parse/package-summary.html">Non-frame version</a>.</p> + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/overview-tree.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/overview-tree.html new file mode 100644 index 00000000..30b3020e --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/overview-tree.html @@ -0,0 +1,124 @@ + + + + +Class Hierarchy + + + + + + +
    + + + + + +
    + + +
    +

    Hierarchy For All Packages

    +Package Hierarchies: + +
    +
    +

    Class Hierarchy

    + +
    + +
    + + + + + +
    + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/package-list b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/package-list new file mode 100644 index 00000000..efe15013 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/package-list @@ -0,0 +1 @@ +com.parse diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/resources/background.gif b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/resources/background.gif new file mode 100644 index 00000000..f471940f Binary files /dev/null and b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/resources/background.gif differ diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/resources/tab.gif b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/resources/tab.gif new file mode 100644 index 00000000..1a73a83b Binary files /dev/null and b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/resources/tab.gif differ diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/resources/titlebar.gif b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/resources/titlebar.gif new file mode 100644 index 00000000..17443b3e Binary files /dev/null and b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/resources/titlebar.gif differ diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/resources/titlebar_end.gif b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/resources/titlebar_end.gif new file mode 100644 index 00000000..3ad78d46 Binary files /dev/null and b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/resources/titlebar_end.gif differ diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/stylesheet.css b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/stylesheet.css new file mode 100644 index 00000000..0aeaa97f --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0-javadoc/stylesheet.css @@ -0,0 +1,474 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ +body { + background-color:#ffffff; + color:#353833; + font-family:Arial, Helvetica, sans-serif; + font-size:76%; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4c6b87; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4c6b87; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-size:1.3em; +} +h1 { + font-size:1.8em; +} +h2 { + font-size:1.5em; +} +h3 { + font-size:1.4em; +} +h4 { + font-size:1.3em; +} +h5 { + font-size:1.2em; +} +h6 { + font-size:1.1em; +} +ul { + list-style-type:disc; +} +code, tt { + font-size:1.2em; +} +dt code { + font-size:1.2em; +} +table tr td dt code { + font-size:1.2em; + vertical-align:top; +} +sup { + font-size:.6em; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:.8em; + z-index:200; + margin-top:-7px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + background-image:url(resources/titlebar.gif); + background-position:left top; + background-repeat:no-repeat; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-image:url(resources/background.gif); + background-repeat:repeat-x; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:1em; + margin:0; +} +.topNav { + background-image:url(resources/background.gif); + background-repeat:repeat-x; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; +} +.bottomNav { + margin-top:10px; + background-image:url(resources/background.gif); + background-repeat:repeat-x; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; +} +.subNav { + background-color:#dee3e9; + border-bottom:1px solid #9eadc0; + float:left; + width:100%; + overflow:hidden; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding:3px 6px; +} +ul.subNavList li{ + list-style:none; + float:left; + font-size:90%; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; +} +.navBarCell1Rev { + background-image:url(resources/tab.gif); + background-color:#a88834; + color:#FFFFFF; + margin: auto 5px; + border:1px solid #c9aa44; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader h1 { + font-size:1.3em; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 25px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:1.2em; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border-top:1px solid #9eadc0; + border-bottom:1px solid #9eadc0; + margin:0 0 6px -8px; + padding:2px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border-top:1px solid #9eadc0; + border-bottom:1px solid #9eadc0; + margin:0 0 6px -8px; + padding:2px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:1.0em; +} +.indexContainer h2 { + font-size:1.1em; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:1.1em; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:10px 0 10px 20px; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:25px; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #9eadc0; + background-color:#f9f9f9; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:1px solid #9eadc0; + border-top:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; + border-bottom:1px solid #9eadc0; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.contentContainer table, .classUseContainer table, .constantValuesContainer table { + border-bottom:1px solid #9eadc0; + width:100%; +} +.contentContainer ul li table, .classUseContainer ul li table, .constantValuesContainer ul li table { + width:100%; +} +.contentContainer .description table, .contentContainer .details table { + border-bottom:none; +} +.contentContainer ul li table th.colOne, .contentContainer ul li table th.colFirst, .contentContainer ul li table th.colLast, .classUseContainer ul li table th, .constantValuesContainer ul li table th, .contentContainer ul li table td.colOne, .contentContainer ul li table td.colFirst, .contentContainer ul li table td.colLast, .classUseContainer ul li table td, .constantValuesContainer ul li table td{ + vertical-align:top; + padding-right:20px; +} +.contentContainer ul li table th.colLast, .classUseContainer ul li table th.colLast,.constantValuesContainer ul li table th.colLast, +.contentContainer ul li table td.colLast, .classUseContainer ul li table td.colLast,.constantValuesContainer ul li table td.colLast, +.contentContainer ul li table th.colOne, .classUseContainer ul li table th.colOne, +.contentContainer ul li table td.colOne, .classUseContainer ul li table td.colOne { + padding-right:3px; +} +.overviewSummary caption, .packageSummary caption, .contentContainer ul.blockList li.blockList caption, .summary caption, .classUseContainer caption, .constantValuesContainer caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#FFFFFF; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + margin:0px; +} +caption a:link, caption a:hover, caption a:active, caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .packageSummary caption span, .contentContainer ul.blockList li.blockList caption span, .summary caption span, .classUseContainer caption span, .constantValuesContainer caption span { + white-space:nowrap; + padding-top:8px; + padding-left:8px; + display:block; + float:left; + background-image:url(resources/titlebar.gif); + height:18px; +} +.overviewSummary .tabEnd, .packageSummary .tabEnd, .contentContainer ul.blockList li.blockList .tabEnd, .summary .tabEnd, .classUseContainer .tabEnd, .constantValuesContainer .tabEnd { + width:10px; + background-image:url(resources/titlebar_end.gif); + background-repeat:no-repeat; + background-position:top right; + position:relative; + float:left; +} +ul.blockList ul.blockList li.blockList table { + margin:0 0 12px 0px; + width:100%; +} +.tableSubHeadingColor { + background-color: #EEEEFF; +} +.altColor { + background-color:#eeeeef; +} +.rowColor { + background-color:#ffffff; +} +.overviewSummary td, .packageSummary td, .contentContainer ul.blockList li.blockList td, .summary td, .classUseContainer td, .constantValuesContainer td { + text-align:left; + padding:3px 3px 3px 7px; +} +th.colFirst, th.colLast, th.colOne, .constantValuesContainer th { + background:#dee3e9; + border-top:1px solid #9eadc0; + border-bottom:1px solid #9eadc0; + text-align:left; + padding:3px 3px 3px 7px; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +td.colFirst, th.colFirst { + border-left:1px solid #9eadc0; + white-space:nowrap; +} +td.colLast, th.colLast { + border-right:1px solid #9eadc0; +} +td.colOne, th.colOne { + border-right:1px solid #9eadc0; + border-left:1px solid #9eadc0; +} +table.overviewSummary { + padding:0px; + margin-left:0px; +} +table.overviewSummary td.colFirst, table.overviewSummary th.colFirst, +table.overviewSummary td.colOne, table.overviewSummary th.colOne { + width:25%; + vertical-align:middle; +} +table.packageSummary td.colFirst, table.overviewSummary th.colFirst { + width:25%; + vertical-align:middle; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:.9em; +} +.block { + display:block; + margin:3px 0 0 0; +} +.strong { + font-weight:bold; +} diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0.jar b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0.jar new file mode 100644 index 00000000..8b0d0360 Binary files /dev/null and b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0.jar differ diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0.jar.properties b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0.jar.properties new file mode 100644 index 00000000..d717e7e4 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseCrashReporting-1.9.0.jar.properties @@ -0,0 +1 @@ +doc=ParseCrashReporting-1.9.0-javadoc diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/allclasses-frame.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/allclasses-frame.html new file mode 100644 index 00000000..a45d0911 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/allclasses-frame.html @@ -0,0 +1,16 @@ + + + + +All Classes + + + +

    All Classes

    + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/allclasses-noframe.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/allclasses-noframe.html new file mode 100644 index 00000000..a9b2b599 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/allclasses-noframe.html @@ -0,0 +1,16 @@ + + + + +All Classes + + + +

    All Classes

    + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/com/parse/ParseFacebookUtils.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/com/parse/ParseFacebookUtils.html new file mode 100644 index 00000000..9495d4b3 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/com/parse/ParseFacebookUtils.html @@ -0,0 +1,1110 @@ + + + + +ParseFacebookUtils + + + + + + + + + + +
    +
    com.parse
    +

    Class ParseFacebookUtils

    +
    +
    +
      +
    • Object
    • +
    • +
        +
      • com.parse.ParseFacebookUtils
      • +
      +
    • +
    +
    +
      +
    • +
      +
      +
      public final class ParseFacebookUtils
      +extends Object
      +
      Provides a set of utilities for using Parse with Facebook. + + To use ParseFacebookUtils, you must add the Facebook Android SDK to your project.
      +
    • +
    +
    +
    + +
    +
    +
      +
    • + +
        +
      • + + +

        Method Detail

        + + + + + + + +
          +
        • +

          getSession

          +
          public static Session getSession()
          +
          Returns:
          The active Facebook session associated with the logged in ParseUser, or null if there + is none.
          +
        • +
        + + + +
          +
        • +

          isLinked

          +
          public static boolean isLinked(ParseUser user)
          +
          Returns:
          true if the user is linked to a Facebook account.
          +
        • +
        + + + + + + + + + + + +
          +
        • +

          unlink

          +
          public static void unlink(ParseUser user)
          +                   throws ParseException
          +
          Unlinks a user from a Facebook account. Unlinking a user will save the user's data.
          +
          Parameters:
          user - The user to unlink from Facebook.
          +
          Throws:
          +
          ParseException
          +
        • +
        + + + +
          +
        • +

          unlinkInBackground

          +
          public static Task<Void> unlinkInBackground(ParseUser user)
          +
          Unlinks a user from a Facebook account in the background. Unlinking a user will save the user's + data.
          +
          Parameters:
          user - The user to unlink from Facebook.
          +
          Returns:
          A Task that will be resolved when unlinking has completed.
          +
        • +
        + + + +
          +
        • +

          unlinkInBackground

          +
          public static void unlinkInBackground(ParseUser user,
          +                      SaveCallback callback)
          +
          Unlinks a user from a Facebook account in the background. Unlinking a user will save the user's + data.
          +
          Parameters:
          user - The user to unlink from a Facebook account.
          callback - Callback for notifying when unlinking is complete.
          +
        • +
        + + + +
          +
        • +

          linkInBackground

          +
          public static Task<Void> linkInBackground(ParseUser user,
          +                          String facebookId,
          +                          String accessToken,
          +                          Date expirationDate)
          +
          Links a ParseUser to a Facebook account, allowing you to use Facebook for authentication, and + providing access to Facebook data for the user. This method allows you to handle getting access + tokens for the user yourself, rather than delegating to the Facebook SDK.
          +
          Parameters:
          user - The user to link to a Facebook account.
          facebookId - The facebook ID of the user being linked.
          accessToken - The access token for the user.
          expirationDate - The expiration date of the access token.
          +
          Returns:
          A task that will be resolved when linking is completed.
          +
        • +
        + + + + + + + +
          +
        • +

          link

          +
          public static void link(ParseUser user,
          +        String facebookId,
          +        String accessToken,
          +        Date expirationDate,
          +        SaveCallback callback)
          +
          Links a ParseUser to a Facebook account, allowing you to use Facebook for authentication, and + providing access to Facebook data for the user. This method allows you to handle getting access + tokens for the user yourself, rather than delegating to the Facebook SDK.
          +
          Parameters:
          user - The user to link to a Facebook account.
          facebookId - The facebook ID of the user being linked.
          accessToken - The access token for the user.
          expirationDate - The expiration date of the access token.
          callback - Callback for notifying when the new authentication data has been saved to the user.
          +
        • +
        + + + +
          +
        • +

          linkInBackground

          +
          public static Task<Void> linkInBackground(ParseUser user,
          +                          Collection<String> permissions,
          +                          Activity activity,
          +                          int activityCode)
          +
          Links a ParseUser to a Facebook account, allowing you to use Facebook for authentication, and + providing access to Facebook data for the user. This method delegates to the Facebook SDK's + authenticate() method. +

          + IMPORTANT: Note that single sign-on authentication will not function correctly if you do + not include a call to the finishAuthentication() method in your onActivityResult() + function! Please see below for more information. +

          + From the Facebook SDK documentation: +

          + Starts either an Activity or a dialog which prompts the user to log in to Facebook and grant + the requested permissions to the given application. +

          + This method will, when possible, use Facebook's single sign-on for Android to obtain an access + token. This involves proxying a call through the Facebook for Android stand-alone application, + which will handle the authentication flow, and return an OAuth access token for making API + calls. +

          + Because this process will not be available for all users, if single sign-on is not possible, + this method will automatically fall back to the OAuth 2.0 User-Agent flow. In this flow, the + user credentials are handled by Facebook in an embedded WebView, not by the client application. + As such, the dialog makes a network request and renders HTML content rather than a native UI. + The access token is retrieved from a redirect to a special URL that the WebView handles.

          +
          Parameters:
          user - The user to link to a Facebook account.
          permissions - A list of permissions to be used when logging in. Many of these constants are defined + here: ParseFacebookUtils.Permissions.
          activity - The Android activity in which we want to display the authorization dialog.
          activityCode - Single sign-on requires an activity result to be called back to the client application + -- if you are waiting on other activities to return data, pass a custom activity code + here to avoid collisions.
          +
          Returns:
          A Task that will be resolved when linking is completed.
          +
        • +
        + + + + + + + + + + + + + + + +
          +
        • +

          link

          +
          public static void link(ParseUser user,
          +        Collection<String> permissions,
          +        Activity activity,
          +        int activityCode,
          +        SaveCallback callback)
          +
          Links a ParseUser to a Facebook account, allowing you to use Facebook for authentication, and + providing access to Facebook data for the user. This method delegates to the Facebook SDK's + authenticate() method. +

          + IMPORTANT: Note that single sign-on authentication will not function correctly if you do + not include a call to the finishAuthentication() method in your onActivityResult() + function! Please see below for more information. +

          + From the Facebook SDK documentation: +

          + Starts either an Activity or a dialog which prompts the user to log in to Facebook and grant + the requested permissions to the given application. +

          + This method will, when possible, use Facebook's single sign-on for Android to obtain an access + token. This involves proxying a call through the Facebook for Android stand-alone application, + which will handle the authentication flow, and return an OAuth access token for making API + calls. +

          + Because this process will not be available for all users, if single sign-on is not possible, + this method will automatically fall back to the OAuth 2.0 User-Agent flow. In this flow, the + user credentials are handled by Facebook in an embedded WebView, not by the client application. + As such, the dialog makes a network request and renders HTML content rather than a native UI. + The access token is retrieved from a redirect to a special URL that the WebView handles.

          +
          Parameters:
          user - The user to link to a Facebook account.
          permissions - A list of permissions to be used when logging in. Many of these constants are defined + here: ParseFacebookUtils.Permissions.
          activity - The Android activity in which we want to display the authorization dialog.
          activityCode - Single sign-on requires an activity result to be called back to the client application + -- if you are waiting on other activities to return data, pass a custom activity code + here to avoid collisions.
          callback - Callback for notifying the calling application when the Facebook authentication has + completed, failed, or been canceled.
          +
        • +
        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
          +
        • +

          logInInBackground

          +
          public static Task<ParseUser> logInInBackground(String facebookId,
          +                                String accessToken,
          +                                Date expirationDate)
          +
          Logs in a ParseUser using Facebook for authentication. If a user for the given Facebook + credentials does not already exist, a new user will be created. This method allows you to + handle getting access tokens for the user yourself, rather than delegating to the Facebook SDK.
          +
          Parameters:
          facebookId - The facebook ID of the user being linked.
          accessToken - The access token for the user.
          expirationDate - The expiration date of the access token.
          +
          Returns:
          A Task that will be resolved when logging in is completed.
          +
        • +
        + + + +
          +
        • +

          logIn

          +
          public static void logIn(String facebookId,
          +         String accessToken,
          +         Date expirationDate,
          +         LogInCallback callback)
          +
          Logs in a ParseUser using Facebook for authentication. If a user for the given Facebook + credentials does not already exist, a new user will be created. This method allows you to + handle getting access tokens for the user yourself, rather than delegating to the Facebook SDK.
          +
          Parameters:
          facebookId - The facebook ID of the user being linked.
          accessToken - The access token for the user.
          expirationDate - The expiration date of the access token.
          callback - Callback for notifying when the new authentication data has been saved to the user.
          +
        • +
        + + + +
          +
        • +

          logInInBackground

          +
          public static Task<ParseUser> logInInBackground(Collection<String> permissions,
          +                                Activity activity,
          +                                int activityCode)
          +
          Logs in a ParseUser using Facebook for authentication. If a user for the given Facebook + credentials does not already exist, a new user will be created. This method delegates to the + Facebook SDK's authenticate() method. +

          + IMPORTANT: Note that single sign-on authentication will not function correctly if you do + not include a call to the finishAuthentication() method in your onActivityResult() + function! Please see below for more information. +

          + From the Facebook SDK documentation: +

          + Starts either an Activity or a dialog which prompts the user to log in to Facebook and grant + the requested permissions to the given application. +

          + This method will, when possible, use Facebook's single sign-on for Android to obtain an access + token. This involves proxying a call through the Facebook for Android stand-alone application, + which will handle the authentication flow, and return an OAuth access token for making API + calls. +

          + Because this process will not be available for all users, if single sign-on is not possible, + this method will automatically fall back to the OAuth 2.0 User-Agent flow. In this flow, the + user credentials are handled by Facebook in an embedded WebView, not by the client application. + As such, the dialog makes a network request and renders HTML content rather than a native UI. + The access token is retrieved from a redirect to a special URL that the WebView handles.

          +
          Parameters:
          permissions - A list of permissions to be used when logging in. Many of these constants are defined + here: ParseFacebookUtils.Permissions.
          activity - The Android activity in which we want to display the authorization dialog.
          activityCode - Single sign-on requires an activity result to be called back to the client application + -- if you are waiting on other activities to return data, pass a custom activity code + here to avoid collisions.
          +
          Returns:
          A Task that will be resolved when logging in is completed.
          +
        • +
        + + + +
          +
        • +

          logIn

          +
          public static void logIn(Collection<String> permissions,
          +         Activity activity,
          +         int activityCode,
          +         LogInCallback callback)
          +
          Logs in a ParseUser using Facebook for authentication. If a user for the given Facebook + credentials does not already exist, a new user will be created. This method delegates to the + Facebook SDK's authenticate() method. +

          + IMPORTANT: Note that single sign-on authentication will not function correctly if you do + not include a call to the finishAuthentication() method in your onActivityResult() + function! Please see below for more information. +

          + From the Facebook SDK documentation: +

          + Starts either an Activity or a dialog which prompts the user to log in to Facebook and grant + the requested permissions to the given application. +

          + This method will, when possible, use Facebook's single sign-on for Android to obtain an access + token. This involves proxying a call through the Facebook for Android stand-alone application, + which will handle the authentication flow, and return an OAuth access token for making API + calls. +

          + Because this process will not be available for all users, if single sign-on is not possible, + this method will automatically fall back to the OAuth 2.0 User-Agent flow. In this flow, the + user credentials are handled by Facebook in an embedded WebView, not by the client application. + As such, the dialog makes a network request and renders HTML content rather than a native UI. + The access token is retrieved from a redirect to a special URL that the WebView handles.

          +
          Parameters:
          permissions - A list of permissions to be used when logging in. Many of these constants are defined + here: ParseFacebookUtils.Permissions.
          activity - The Android activity in which we want to display the authorization dialog.
          activityCode - Single sign-on requires an activity result to be called back to the client application + -- if you are waiting on other activities to return data, pass a custom activity code + here to avoid collisions.
          callback - Callback for notifying the calling application when the Facebook authentication has + completed, failed, or been canceled.
          +
        • +
        + + + + + + + + + + + + + + + +
          +
        • +

          finishAuthentication

          +
          public static void finishAuthentication(int requestCode,
          +                        int resultCode,
          +                        Intent data)
          +
          Completes authentication after the Facebook app returns an activity result. IMPORTANT: + This method must be invoked at the top of the calling activity's onActivityResult() function or + Facebook authentication will not function properly! +

          + If your calling activity does not currently implement onActivityResult(), you must implement it + and include a call to this method if you intend to use the + ParseFacebookUtils.logIn(Activity, int, LogInCallback) or + ParseFacebookUtils.link(ParseUser, Activity, int, SaveCallback) methods in ParseFacebookUtilities + . For more information, see http://developer.android.com/reference/android/app/ + Activity.html#onActivityResult(int, int, android.content.Intent)

          +
        • +
        + + + +
          +
        • +

          saveLatestSessionDataInBackground

          +
          public static Task<Void> saveLatestSessionDataInBackground(ParseUser user)
          +
          Saves the latest session data to the user. Call this after requesting new read or publish + permissions for the user's Facebook session.
          +
          Parameters:
          user - The user whose session information should be updated.
          +
          Returns:
          A Task that is resolved when the session save is completed.
          +
        • +
        + + + +
          +
        • +

          saveLatestSessionData

          +
          public static void saveLatestSessionData(ParseUser user,
          +                         SaveCallback callback)
          +
          Saves the latest session data to the user. Call this after requesting new read or publish + permissions for the user's Facebook session.
          +
          Parameters:
          user - The user whose session information should be updated.
          callback - Callback invoked when the session data has been saved.
          +
        • +
        + + + + + + + +
          +
        • +

          shouldExtendAccessToken

          +
          @Deprecated
          +public static boolean shouldExtendAccessToken(ParseUser user)
          +
          Deprecated. This is now handled automatically by the Facebook SDK.
          +
        • +
        + + + +
          +
        • +

          extendAccessToken

          +
          @Deprecated
          +public static void extendAccessToken(ParseUser user,
          +                                Context context,
          +                                SaveCallback callback)
          +
          Deprecated. This is now handled automatically by the Facebook SDK.
          +
        • +
        + + + +
          +
        • +

          extendAccessTokenIfNeeded

          +
          @Deprecated
          +public static boolean extendAccessTokenIfNeeded(ParseUser user,
          +                                           Context context,
          +                                           SaveCallback callback)
          +
          Deprecated. This is now handled automatically by the Facebook SDK.
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/com/parse/class-use/ParseFacebookUtils.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/com/parse/class-use/ParseFacebookUtils.html new file mode 100644 index 00000000..8770ab11 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/com/parse/class-use/ParseFacebookUtils.html @@ -0,0 +1,111 @@ + + + + +Uses of Class com.parse.ParseFacebookUtils + + + + + + + + + +
    +

    Uses of Class
    com.parse.ParseFacebookUtils

    +
    +
    No usage of com.parse.ParseFacebookUtils
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/com/parse/package-frame.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/com/parse/package-frame.html new file mode 100644 index 00000000..143da5bc --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/com/parse/package-frame.html @@ -0,0 +1,17 @@ + + + + +com.parse + + + +

    com.parse

    +
    +

    Classes

    + +
    + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/com/parse/package-summary.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/com/parse/package-summary.html new file mode 100644 index 00000000..48bd4914 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/com/parse/package-summary.html @@ -0,0 +1,131 @@ + + + + +com.parse + + + + + + + + + +
    +

    Package com.parse

    +
    +
    +
      +
    • + + + + + + + + + + + + +
      Class Summary 
      ClassDescription
      ParseFacebookUtils +
      Provides a set of utilities for using Parse with Facebook.
      +
      +
    • +
    +
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/com/parse/package-tree.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/com/parse/package-tree.html new file mode 100644 index 00000000..546c39d2 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/com/parse/package-tree.html @@ -0,0 +1,120 @@ + + + + +com.parse Class Hierarchy + + + + + + +
    + + + + + +
    + + +
    +

    Hierarchy For Package com.parse

    +
    +
    +

    Class Hierarchy

    + +
    + +
    + + + + + +
    + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/com/parse/package-use.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/com/parse/package-use.html new file mode 100644 index 00000000..1940cd08 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/com/parse/package-use.html @@ -0,0 +1,111 @@ + + + + +Uses of Package com.parse + + + + + + +
    + + + + + +
    + + +
    +

    Uses of Package
    com.parse

    +
    +
    No usage of com.parse
    + +
    + + + + + +
    + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/constant-values.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/constant-values.html new file mode 100644 index 00000000..61dacc12 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/constant-values.html @@ -0,0 +1,111 @@ + + + + +Constant Field Values + + + + + + +
    + + + + + +
    + + +
    +

    Constant Field Values

    +

    Contents

    +
    + +
    + + + + + +
    + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/deprecated-list.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/deprecated-list.html new file mode 100644 index 00000000..2a88bfc1 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/deprecated-list.html @@ -0,0 +1,183 @@ + + + + +Deprecated List + + + + + + +
    + + + + + +
    + + +
    +

    Deprecated API

    +

    Contents

    + +
    +
    + + + +
    + +
    + + + + + +
    + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/help-doc.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/help-doc.html new file mode 100644 index 00000000..5b4c5b69 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/help-doc.html @@ -0,0 +1,212 @@ + + + + +API Help + + + + + + +
    + + + + + +
    + + +
    +

    How This API Document Is Organized

    +
    This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
    +
    +
    +
      +
    • +

      Package

      +

      Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

      +
        +
      • Interfaces (italic)
      • +
      • Classes
      • +
      • Enums
      • +
      • Exceptions
      • +
      • Errors
      • +
      • Annotation Types
      • +
      +
    • +
    • +

      Class/Interface

      +

      Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

      +
        +
      • Class inheritance diagram
      • +
      • Direct Subclasses
      • +
      • All Known Subinterfaces
      • +
      • All Known Implementing Classes
      • +
      • Class/interface declaration
      • +
      • Class/interface description
      • +
      +
        +
      • Nested Class Summary
      • +
      • Field Summary
      • +
      • Constructor Summary
      • +
      • Method Summary
      • +
      +
        +
      • Field Detail
      • +
      • Constructor Detail
      • +
      • Method Detail
      • +
      +

      Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

      +
    • +
    • +

      Annotation Type

      +

      Each annotation type has its own separate page with the following sections:

      +
        +
      • Annotation Type declaration
      • +
      • Annotation Type description
      • +
      • Required Element Summary
      • +
      • Optional Element Summary
      • +
      • Element Detail
      • +
      +
    • +
    • +

      Enum

      +

      Each enum has its own separate page with the following sections:

      +
        +
      • Enum declaration
      • +
      • Enum description
      • +
      • Enum Constant Summary
      • +
      • Enum Constant Detail
      • +
      +
    • +
    • +

      Use

      +

      Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

      +
    • +
    • +

      Tree (Class Hierarchy)

      +

      There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

      +
        +
      • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
      • +
      • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
      • +
      +
    • +
    • +

      Deprecated API

      +

      The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

      +
    • +
    • +

      Index

      +

      The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

      +
    • +
    • +

      Prev/Next

      +

      These links take you to the next or previous class, interface, package, or related page.

      +
    • +
    • +

      Frames/No Frames

      +

      These links show and hide the HTML frames. All pages are available with or without frames.

      +
    • +
    • +

      All Classes

      +

      The All Classes link shows all classes and interfaces except non-static nested types.

      +
    • +
    • +

      Serialized Form

      +

      Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

      +
    • +
    • +

      Constant Field Values

      +

      The Constant Field Values page lists the static final fields and their values.

      +
    • +
    +This help file applies to API documentation generated using the standard doclet.
    + +
    + + + + + +
    + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/index-all.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/index-all.html new file mode 100644 index 00000000..61766c6d --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/index-all.html @@ -0,0 +1,325 @@ + + + + +Index + + + + + + +
    + + + + + +
    + + +
    C E F G I L P S U  + + +

    C

    +
    +
    com.parse - package com.parse
    +
     
    +
    + + + +

    E

    +
    +
    extendAccessToken(ParseUser, Context, SaveCallback) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Deprecated. +
    This is now handled automatically by the Facebook SDK.
    +
    +
    +
    extendAccessTokenIfNeeded(ParseUser, Context, SaveCallback) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Deprecated. +
    This is now handled automatically by the Facebook SDK.
    +
    +
    +
    + + + +

    F

    +
    +
    finishAuthentication(int, int, Intent) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Completes authentication after the Facebook app returns an activity result.
    +
    +
    + + + +

    G

    +
    +
    getFacebook() - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Deprecated. +
    Please use ParseFacebookUtils.getSession() and related Facebook SDK 3.0+ APIs instead.
    +
    +
    +
    getSession() - Static method in class com.parse.ParseFacebookUtils
    +
     
    +
    + + + +

    I

    +
    +
    initialize() - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Initializes Facebook for use with Parse.
    +
    +
    initialize(String) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Initializes Facebook with a custom appId for use with Parse.
    +
    +
    isLinked(ParseUser) - Static method in class com.parse.ParseFacebookUtils
    +
     
    +
    + + + +

    L

    +
    +
    link(ParseUser, String, String, Date) - Static method in class com.parse.ParseFacebookUtils
    +
    + +
    +
    link(ParseUser, String, String, Date, SaveCallback) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Links a ParseUser to a Facebook account, allowing you to use Facebook for authentication, and + providing access to Facebook data for the user.
    +
    +
    link(ParseUser, Collection<String>, Activity, int, SaveCallback) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Links a ParseUser to a Facebook account, allowing you to use Facebook for authentication, and + providing access to Facebook data for the user.
    +
    +
    link(ParseUser, Collection<String>, Activity, SaveCallback) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Links a user using the default activity code if single sign-on is enabled.
    +
    +
    link(ParseUser, Collection<String>, Activity, int) - Static method in class com.parse.ParseFacebookUtils
    +
    + +
    +
    link(ParseUser, Collection<String>, Activity) - Static method in class com.parse.ParseFacebookUtils
    +
    + +
    +
    link(ParseUser, Activity, int, SaveCallback) - Static method in class com.parse.ParseFacebookUtils
    +
     
    +
    link(ParseUser, Activity, SaveCallback) - Static method in class com.parse.ParseFacebookUtils
    +
     
    +
    link(ParseUser, Activity, int) - Static method in class com.parse.ParseFacebookUtils
    +
    + +
    +
    link(ParseUser, Activity) - Static method in class com.parse.ParseFacebookUtils
    +
    + +
    +
    linkInBackground(ParseUser, String, String, Date) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Links a ParseUser to a Facebook account, allowing you to use Facebook for authentication, and + providing access to Facebook data for the user.
    +
    +
    linkInBackground(ParseUser, Collection<String>, Activity, int) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Links a ParseUser to a Facebook account, allowing you to use Facebook for authentication, and + providing access to Facebook data for the user.
    +
    +
    linkInBackground(ParseUser, Collection<String>, Activity) - Static method in class com.parse.ParseFacebookUtils
    +
     
    +
    linkInBackground(ParseUser, Activity, int) - Static method in class com.parse.ParseFacebookUtils
    +
     
    +
    linkInBackground(ParseUser, Activity) - Static method in class com.parse.ParseFacebookUtils
    +
     
    +
    logIn(String, String, Date, LogInCallback) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Logs in a ParseUser using Facebook for authentication.
    +
    +
    logIn(Collection<String>, Activity, int, LogInCallback) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Logs in a ParseUser using Facebook for authentication.
    +
    +
    logIn(Activity, int, LogInCallback) - Static method in class com.parse.ParseFacebookUtils
    +
     
    +
    logIn(Collection<String>, Activity, LogInCallback) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Logs in a user using the default activity code if single sign-on is enabled.
    +
    +
    logIn(Activity, LogInCallback) - Static method in class com.parse.ParseFacebookUtils
    +
     
    +
    logInInBackground(String, String, Date) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Logs in a ParseUser using Facebook for authentication.
    +
    +
    logInInBackground(Collection<String>, Activity, int) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Logs in a ParseUser using Facebook for authentication.
    +
    +
    + + + +

    P

    +
    +
    ParseFacebookUtils - Class in com.parse
    +
    +
    Provides a set of utilities for using Parse with Facebook.
    +
    +
    + + + +

    S

    +
    +
    saveLatestSessionData(ParseUser, SaveCallback) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Saves the latest session data to the user.
    +
    +
    saveLatestSessionData(ParseUser) - Static method in class com.parse.ParseFacebookUtils
    +
    + +
    +
    saveLatestSessionDataInBackground(ParseUser) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Saves the latest session data to the user.
    +
    +
    shouldExtendAccessToken(ParseUser) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Deprecated. +
    This is now handled automatically by the Facebook SDK.
    +
    +
    +
    + + + +

    U

    +
    +
    unlink(ParseUser) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Unlinks a user from a Facebook account.
    +
    +
    unlinkInBackground(ParseUser) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Unlinks a user from a Facebook account in the background.
    +
    +
    unlinkInBackground(ParseUser, SaveCallback) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Unlinks a user from a Facebook account in the background.
    +
    +
    +C E F G I L P S U 
    + +
    + + + + + +
    + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/index.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/index.html new file mode 100644 index 00000000..a24946c9 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/index.html @@ -0,0 +1,70 @@ + + + + +Generated Documentation (Untitled) + + + + + + +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<h2>Frame Alert</h2> +<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="com/parse/package-summary.html">Non-frame version</a>.</p> + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/overview-tree.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/overview-tree.html new file mode 100644 index 00000000..400df122 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/overview-tree.html @@ -0,0 +1,124 @@ + + + + +Class Hierarchy + + + + + + +
    + + + + + +
    + + +
    +

    Hierarchy For All Packages

    +Package Hierarchies: + +
    +
    +

    Class Hierarchy

    + +
    + +
    + + + + + +
    + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/package-list b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/package-list new file mode 100644 index 00000000..efe15013 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/package-list @@ -0,0 +1 @@ +com.parse diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/resources/background.gif b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/resources/background.gif new file mode 100644 index 00000000..f471940f Binary files /dev/null and b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/resources/background.gif differ diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/resources/tab.gif b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/resources/tab.gif new file mode 100644 index 00000000..1a73a83b Binary files /dev/null and b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/resources/tab.gif differ diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/resources/titlebar.gif b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/resources/titlebar.gif new file mode 100644 index 00000000..17443b3e Binary files /dev/null and b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/resources/titlebar.gif differ diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/resources/titlebar_end.gif b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/resources/titlebar_end.gif new file mode 100644 index 00000000..3ad78d46 Binary files /dev/null and b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/resources/titlebar_end.gif differ diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/stylesheet.css b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/stylesheet.css new file mode 100644 index 00000000..0aeaa97f --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0-javadoc/stylesheet.css @@ -0,0 +1,474 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ +body { + background-color:#ffffff; + color:#353833; + font-family:Arial, Helvetica, sans-serif; + font-size:76%; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4c6b87; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4c6b87; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-size:1.3em; +} +h1 { + font-size:1.8em; +} +h2 { + font-size:1.5em; +} +h3 { + font-size:1.4em; +} +h4 { + font-size:1.3em; +} +h5 { + font-size:1.2em; +} +h6 { + font-size:1.1em; +} +ul { + list-style-type:disc; +} +code, tt { + font-size:1.2em; +} +dt code { + font-size:1.2em; +} +table tr td dt code { + font-size:1.2em; + vertical-align:top; +} +sup { + font-size:.6em; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:.8em; + z-index:200; + margin-top:-7px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + background-image:url(resources/titlebar.gif); + background-position:left top; + background-repeat:no-repeat; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-image:url(resources/background.gif); + background-repeat:repeat-x; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:1em; + margin:0; +} +.topNav { + background-image:url(resources/background.gif); + background-repeat:repeat-x; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; +} +.bottomNav { + margin-top:10px; + background-image:url(resources/background.gif); + background-repeat:repeat-x; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; +} +.subNav { + background-color:#dee3e9; + border-bottom:1px solid #9eadc0; + float:left; + width:100%; + overflow:hidden; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding:3px 6px; +} +ul.subNavList li{ + list-style:none; + float:left; + font-size:90%; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; +} +.navBarCell1Rev { + background-image:url(resources/tab.gif); + background-color:#a88834; + color:#FFFFFF; + margin: auto 5px; + border:1px solid #c9aa44; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader h1 { + font-size:1.3em; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 25px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:1.2em; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border-top:1px solid #9eadc0; + border-bottom:1px solid #9eadc0; + margin:0 0 6px -8px; + padding:2px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border-top:1px solid #9eadc0; + border-bottom:1px solid #9eadc0; + margin:0 0 6px -8px; + padding:2px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:1.0em; +} +.indexContainer h2 { + font-size:1.1em; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:1.1em; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:10px 0 10px 20px; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:25px; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #9eadc0; + background-color:#f9f9f9; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:1px solid #9eadc0; + border-top:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; + border-bottom:1px solid #9eadc0; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.contentContainer table, .classUseContainer table, .constantValuesContainer table { + border-bottom:1px solid #9eadc0; + width:100%; +} +.contentContainer ul li table, .classUseContainer ul li table, .constantValuesContainer ul li table { + width:100%; +} +.contentContainer .description table, .contentContainer .details table { + border-bottom:none; +} +.contentContainer ul li table th.colOne, .contentContainer ul li table th.colFirst, .contentContainer ul li table th.colLast, .classUseContainer ul li table th, .constantValuesContainer ul li table th, .contentContainer ul li table td.colOne, .contentContainer ul li table td.colFirst, .contentContainer ul li table td.colLast, .classUseContainer ul li table td, .constantValuesContainer ul li table td{ + vertical-align:top; + padding-right:20px; +} +.contentContainer ul li table th.colLast, .classUseContainer ul li table th.colLast,.constantValuesContainer ul li table th.colLast, +.contentContainer ul li table td.colLast, .classUseContainer ul li table td.colLast,.constantValuesContainer ul li table td.colLast, +.contentContainer ul li table th.colOne, .classUseContainer ul li table th.colOne, +.contentContainer ul li table td.colOne, .classUseContainer ul li table td.colOne { + padding-right:3px; +} +.overviewSummary caption, .packageSummary caption, .contentContainer ul.blockList li.blockList caption, .summary caption, .classUseContainer caption, .constantValuesContainer caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#FFFFFF; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + margin:0px; +} +caption a:link, caption a:hover, caption a:active, caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .packageSummary caption span, .contentContainer ul.blockList li.blockList caption span, .summary caption span, .classUseContainer caption span, .constantValuesContainer caption span { + white-space:nowrap; + padding-top:8px; + padding-left:8px; + display:block; + float:left; + background-image:url(resources/titlebar.gif); + height:18px; +} +.overviewSummary .tabEnd, .packageSummary .tabEnd, .contentContainer ul.blockList li.blockList .tabEnd, .summary .tabEnd, .classUseContainer .tabEnd, .constantValuesContainer .tabEnd { + width:10px; + background-image:url(resources/titlebar_end.gif); + background-repeat:no-repeat; + background-position:top right; + position:relative; + float:left; +} +ul.blockList ul.blockList li.blockList table { + margin:0 0 12px 0px; + width:100%; +} +.tableSubHeadingColor { + background-color: #EEEEFF; +} +.altColor { + background-color:#eeeeef; +} +.rowColor { + background-color:#ffffff; +} +.overviewSummary td, .packageSummary td, .contentContainer ul.blockList li.blockList td, .summary td, .classUseContainer td, .constantValuesContainer td { + text-align:left; + padding:3px 3px 3px 7px; +} +th.colFirst, th.colLast, th.colOne, .constantValuesContainer th { + background:#dee3e9; + border-top:1px solid #9eadc0; + border-bottom:1px solid #9eadc0; + text-align:left; + padding:3px 3px 3px 7px; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +td.colFirst, th.colFirst { + border-left:1px solid #9eadc0; + white-space:nowrap; +} +td.colLast, th.colLast { + border-right:1px solid #9eadc0; +} +td.colOne, th.colOne { + border-right:1px solid #9eadc0; + border-left:1px solid #9eadc0; +} +table.overviewSummary { + padding:0px; + margin-left:0px; +} +table.overviewSummary td.colFirst, table.overviewSummary th.colFirst, +table.overviewSummary td.colOne, table.overviewSummary th.colOne { + width:25%; + vertical-align:middle; +} +table.packageSummary td.colFirst, table.overviewSummary th.colFirst { + width:25%; + vertical-align:middle; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:.9em; +} +.block { + display:block; + margin:3px 0 0 0; +} +.strong { + font-weight:bold; +} diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0.jar b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0.jar new file mode 100644 index 00000000..71107355 Binary files /dev/null and b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0.jar differ diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0.jar.properties b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0.jar.properties new file mode 100644 index 00000000..e70e66eb --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV3-1.9.0.jar.properties @@ -0,0 +1 @@ +doc=ParseFacebookUtilsV3-1.9.0-javadoc diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/allclasses-frame.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/allclasses-frame.html new file mode 100644 index 00000000..a45d0911 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/allclasses-frame.html @@ -0,0 +1,16 @@ + + + + +All Classes + + + +

    All Classes

    + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/allclasses-noframe.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/allclasses-noframe.html new file mode 100644 index 00000000..a9b2b599 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/allclasses-noframe.html @@ -0,0 +1,16 @@ + + + + +All Classes + + + +

    All Classes

    + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/com/parse/ParseFacebookUtils.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/com/parse/ParseFacebookUtils.html new file mode 100644 index 00000000..2b188c6b --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/com/parse/ParseFacebookUtils.html @@ -0,0 +1,793 @@ + + + + +ParseFacebookUtils + + + + + + + + + + +
    +
    com.parse
    +

    Class ParseFacebookUtils

    +
    +
    +
      +
    • Object
    • +
    • +
        +
      • com.parse.ParseFacebookUtils
      • +
      +
    • +
    +
    +
      +
    • +
      +
      +
      public final class ParseFacebookUtils
      +extends Object
      +
      Provides a set of utilities for using Parse with Facebook. +

      + Note: ParseFacebookUtils requires Facebook Android SDK v4.x.x +

      + To use ParseFacebookUtils, you'll need to set up the Facebook SDK: +

      + Add the Facebook SDK: compile 'com.facebook.android:facebook-android-sdk:4.x.x' +

      + Add the following to the &lt;application&gt; node in your AndroidManifest.xml: +

      + <meta-data
      +        android:name="com.facebook.sdk.ApplicationId"
      +        android:value="@string/facebook_app_id"/>
      + 
      +

      + Create facebook_app_id in your strings.xml with your Facebook App ID +

      + Then you can use ParseFacebookUtils: +

      + Initialize ParseFacebookUtils in your Application.onCreate(): +

      + public class MyApplication extends Application {
      +   public void onCreate() {
      +     Parse.initialize(this);
      +     ...
      +     ParseFacebookUtils.initialize(this);
      +   }
      + }
      + 
      +

      + Add ParseFacebookUtils.onActivityResult(int, int, android.content.Intent) to + your Activity.onActivityResult(int, int, android.content.Intent): +

      + public class MyActivity extends Activity {
      +   protected void onActivityResult(int requestCode, int resultCode, Intent data) {
      +     super.onActivityResult(requestCode, resultCode, data);
      +     ParseFacebookUtils.finishAuthentication(requestCode, resultCode, data);
      +   }
      + }
      + 
      +

      + Lastly, log in with ParseFacebookUtils.logInWithReadPermissionsInBackground(android.app.Activity, java.util.Collection)

      +
    • +
    +
    +
    + +
    +
    +
      +
    • + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          isLinked

          +
          public static boolean isLinked(ParseUser user)
          +
          Returns:
          true if the user is linked to a Facebook account.
          +
        • +
        + + + +
          +
        • +

          initialize

          +
          public static void initialize(Context context)
          +
          Initializes ParseFacebookUtils and FacebookSdk. +

          + This should be called in your Application.onCreate().

          +
          Parameters:
          context - The application context
          +
        • +
        + + + +
          +
        • +

          initialize

          +
          public static void initialize(Context context,
          +              int callbackRequestCodeOffset)
          +
          Initializes ParseFacebookUtils and FacebookSdk. +

          + This should be called in your Application.onCreate().

          +
          Parameters:
          context - The application context
          callbackRequestCodeOffset - The request code offset that Facebook activities will be + called with. Please do not use the range between the + value you set and another 100 entries after it in your + other requests.
          +
        • +
        + + + +
          +
        • +

          onActivityResult

          +
          public static boolean onActivityResult(int requestCode,
          +                       int resultCode,
          +                       Intent data)
          +
          The method that should be called from the Activity's or Fragment's onActivityResult method.
          +
          Parameters:
          requestCode - The request code that's received by the Activity or Fragment.
          resultCode - The result code that's received by the Activity or Fragment.
          data - The result data that's received by the Activity or Fragment.
          +
          Returns:
          true if the result could be handled.
          +
        • +
        + + + +
          +
        • +

          logInInBackground

          +
          public static Task<ParseUser> logInInBackground(com.facebook.AccessToken accessToken)
          +
          Log in using a Facebook account using authorization credentials that have already been + obtained.
          +
          Parameters:
          accessToken - Authorization credentials of a Facebook user.
          +
          Returns:
          A task that will be resolved when logging in is complete.
          +
        • +
        + + + +
          +
        • +

          logInInBackground

          +
          public static Task<ParseUser> logInInBackground(com.facebook.AccessToken accessToken,
          +                                LogInCallback callback)
          +
          Log in using a Facebook account using authorization credentials that have already been + obtained.
          +
          Parameters:
          accessToken - Authorization credentials of a Facebook user.
          callback - A callback that will be executed when logging in is complete.
          +
        • +
        + + + +
          +
        • +

          logInWithReadPermissionsInBackground

          +
          public static Task<ParseUser> logInWithReadPermissionsInBackground(Activity activity,
          +                                                   Collection<String> permissions)
          +
          Log in using Facebook login with the requested read permissions.
          +
          Parameters:
          activity - The activity which is starting the login process.
          permissions - The requested permissions.
          +
          Returns:
          A task that will be resolved when logging in is complete.
          +
        • +
        + + + +
          +
        • +

          logInWithReadPermissionsInBackground

          +
          public static Task<ParseUser> logInWithReadPermissionsInBackground(Activity activity,
          +                                                   Collection<String> permissions,
          +                                                   LogInCallback callback)
          +
          Log in using Facebook login with the requested read permissions.
          +
          Parameters:
          activity - The activity which is starting the login process.
          permissions - The requested permissions.
          callback - A callback that will be executed when logging in is complete.
          +
        • +
        + + + +
          +
        • +

          logInWithPublishPermissionsInBackground

          +
          public static Task<ParseUser> logInWithPublishPermissionsInBackground(Activity activity,
          +                                                      Collection<String> permissions)
          +
          Log in using Facebook login with the requested publish permissions.
          +
          Parameters:
          activity - The activity which is starting the login process.
          permissions - The requested permissions.
          +
          Returns:
          A task that will be resolved when logging in is complete.
          +
        • +
        + + + +
          +
        • +

          logInWithPublishPermissionsInBackground

          +
          public static Task<ParseUser> logInWithPublishPermissionsInBackground(Activity activity,
          +                                                      Collection<String> permissions,
          +                                                      LogInCallback callback)
          +
          Log in using Facebook login with the requested publish permissions.
          +
          Parameters:
          activity - The activity which is starting the login process.
          permissions - The requested permissions.
          callback - A callback that will be executed when logging in is complete.
          +
        • +
        + + + +
          +
        • +

          logInWithReadPermissionsInBackground

          +
          public static Task<ParseUser> logInWithReadPermissionsInBackground(Fragment fragment,
          +                                                   Collection<String> permissions)
          +
          Log in using Facebook login with the requested read permissions.
          +
          Parameters:
          fragment - The fragment which is starting the login process.
          permissions - The requested permissions.
          +
          Returns:
          A task that will be resolved when logging in is complete.
          +
        • +
        + + + +
          +
        • +

          logInWithReadPermissionsInBackground

          +
          public static Task<ParseUser> logInWithReadPermissionsInBackground(Fragment fragment,
          +                                                   Collection<String> permissions,
          +                                                   LogInCallback callback)
          +
          Log in using Facebook login with the requested read permissions.
          +
          Parameters:
          fragment - The fragment which is starting the login process.
          permissions - The requested permissions.
          callback - A callback that will be executed when logging in is complete.
          +
        • +
        + + + +
          +
        • +

          logInWithPublishPermissionsInBackground

          +
          public static Task<ParseUser> logInWithPublishPermissionsInBackground(Fragment fragment,
          +                                                      Collection<String> permissions)
          +
          Log in using Facebook login with the requested publish permissions.
          +
          Parameters:
          fragment - The fragment which is starting the login process.
          permissions - The requested permissions.
          +
          Returns:
          A task that will be resolved when logging in is complete.
          +
        • +
        + + + +
          +
        • +

          logInWithPublishPermissionsInBackground

          +
          public static Task<ParseUser> logInWithPublishPermissionsInBackground(Fragment fragment,
          +                                                      Collection<String> permissions,
          +                                                      LogInCallback callback)
          +
          Log in using Facebook login with the requested publish permissions.
          +
          Parameters:
          fragment - The fragment which is starting the login process.
          permissions - The requested permissions.
          callback - A callback that will be executed when logging in is complete.
          +
        • +
        + + + +
          +
        • +

          linkInBackground

          +
          public static Task<Void> linkInBackground(ParseUser user,
          +                          com.facebook.AccessToken accessToken)
          +
          Link an existing Parse user with a Facebook account using authorization credentials that have + already been obtained.
          +
          Parameters:
          accessToken - Authorization credentials of a Facebook user.
          +
          Returns:
          A task that will be resolved when linking is complete.
          +
        • +
        + + + +
          +
        • +

          linkInBackground

          +
          public static Task<Void> linkInBackground(ParseUser user,
          +                          com.facebook.AccessToken accessToken,
          +                          SaveCallback callback)
          +
          Link an existing Parse user with a Facebook account using authorization credentials that have + already been obtained.
          +
          Parameters:
          accessToken - Authorization credentials of a Facebook user.
          callback - A callback that will be executed when linking is complete.
          +
        • +
        + + + +
          +
        • +

          linkWithReadPermissionsInBackground

          +
          public static Task<Void> linkWithReadPermissionsInBackground(ParseUser user,
          +                                             Activity activity,
          +                                             Collection<String> permissions)
          +
          Link an existing Parse user to Facebook with the requested read permissions.
          +
          Parameters:
          user - The Parse user to link with.
          activity - The activity which is starting the login process.
          permissions - The requested permissions.
          +
          Returns:
          A task that will be resolved when linking is complete.
          +
        • +
        + + + +
          +
        • +

          linkWithReadPermissionsInBackground

          +
          public static Task<Void> linkWithReadPermissionsInBackground(ParseUser user,
          +                                             Activity activity,
          +                                             Collection<String> permissions,
          +                                             SaveCallback callback)
          +
          Link an existing Parse user to Facebook with the requested read permissions.
          +
          Parameters:
          user - The Parse user to link with.
          activity - The activity which is starting the login process.
          permissions - The requested permissions.
          callback - A callback that will be executed when linking is complete.
          +
        • +
        + + + +
          +
        • +

          linkWithPublishPermissionsInBackground

          +
          public static Task<Void> linkWithPublishPermissionsInBackground(ParseUser user,
          +                                                Activity activity,
          +                                                Collection<String> permissions)
          +
          Link an existing Parse user to Facebook with the requested publish permissions.
          +
          Parameters:
          user - The Parse user to link with.
          activity - The activity which is starting the login process.
          permissions - The requested permissions.
          +
          Returns:
          A task that will be resolved when linking is complete.
          +
        • +
        + + + +
          +
        • +

          linkWithPublishPermissionsInBackground

          +
          public static Task<Void> linkWithPublishPermissionsInBackground(ParseUser user,
          +                                                Activity activity,
          +                                                Collection<String> permissions,
          +                                                SaveCallback callback)
          +
          Link an existing Parse user to Facebook with the requested publish permissions.
          +
          Parameters:
          user - The Parse user to link with.
          activity - The activity which is starting the login process.
          permissions - The requested permissions.
          callback - A callback that will be executed when linking is complete.
          +
        • +
        + + + +
          +
        • +

          linkWithReadPermissionsInBackground

          +
          public static Task<Void> linkWithReadPermissionsInBackground(ParseUser user,
          +                                             Fragment fragment,
          +                                             Collection<String> permissions)
          +
          Link an existing Parse user to Facebook with the requested read permissions.
          +
          Parameters:
          user - The Parse user to link with.
          fragment - The fragment which is starting the login process.
          permissions - The requested permissions.
          +
          Returns:
          A task that will be resolved when linking is complete.
          +
        • +
        + + + +
          +
        • +

          linkWithReadPermissionsInBackground

          +
          public static Task<Void> linkWithReadPermissionsInBackground(ParseUser user,
          +                                             Fragment fragment,
          +                                             Collection<String> permissions,
          +                                             SaveCallback callback)
          +
          Link an existing Parse user to Facebook with the requested read permissions.
          +
          Parameters:
          user - The Parse user to link with.
          fragment - The fragment which is starting the login process.
          permissions - The requested permissions.
          callback - A callback that will be executed when linking is complete.
          +
        • +
        + + + +
          +
        • +

          linkWithPublishPermissionsInBackground

          +
          public static Task<Void> linkWithPublishPermissionsInBackground(ParseUser user,
          +                                                Fragment fragment,
          +                                                Collection<String> permissions)
          +
          Link an existing Parse user to Facebook with the requested publish permissions.
          +
          Parameters:
          user - The Parse user to link with.
          fragment - The fragment which is starting the login process.
          permissions - The requested permissions.
          +
          Returns:
          A task that will be resolved when linking is complete.
          +
        • +
        + + + +
          +
        • +

          linkWithPublishPermissionsInBackground

          +
          public static Task<Void> linkWithPublishPermissionsInBackground(ParseUser user,
          +                                                Fragment fragment,
          +                                                Collection<String> permissions,
          +                                                SaveCallback callback)
          +
          Link an existing Parse user to Facebook with the requested publish permissions.
          +
          Parameters:
          user - The Parse user to link with.
          fragment - The fragment which is starting the login process.
          permissions - The requested permissions.
          callback - A callback that will be executed when linking is complete.
          +
        • +
        + + + +
          +
        • +

          unlinkInBackground

          +
          public static Task<Void> unlinkInBackground(ParseUser user)
          +
          Unlink a user from a Facebook account. This will save the user's data.
          +
          Parameters:
          user - The user to unlink.
          +
          Returns:
          A task that will be resolved when unlinking has completed.
          +
        • +
        + + + +
          +
        • +

          unlinkInBackground

          +
          public static Task<Void> unlinkInBackground(ParseUser user,
          +                            SaveCallback callback)
          +
          Unlink a user from a Facebook account. This will save the user's data.
          +
          Parameters:
          user - The user to unlink.
          callback - A callback that will be executed when unlinking is complete.
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/com/parse/class-use/ParseFacebookUtils.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/com/parse/class-use/ParseFacebookUtils.html new file mode 100644 index 00000000..8770ab11 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/com/parse/class-use/ParseFacebookUtils.html @@ -0,0 +1,111 @@ + + + + +Uses of Class com.parse.ParseFacebookUtils + + + + + + + + + +
    +

    Uses of Class
    com.parse.ParseFacebookUtils

    +
    +
    No usage of com.parse.ParseFacebookUtils
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/com/parse/package-frame.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/com/parse/package-frame.html new file mode 100644 index 00000000..143da5bc --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/com/parse/package-frame.html @@ -0,0 +1,17 @@ + + + + +com.parse + + + +

    com.parse

    +
    +

    Classes

    + +
    + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/com/parse/package-summary.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/com/parse/package-summary.html new file mode 100644 index 00000000..48bd4914 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/com/parse/package-summary.html @@ -0,0 +1,131 @@ + + + + +com.parse + + + + + + + + + +
    +

    Package com.parse

    +
    +
    +
      +
    • + + + + + + + + + + + + +
      Class Summary 
      ClassDescription
      ParseFacebookUtils +
      Provides a set of utilities for using Parse with Facebook.
      +
      +
    • +
    +
    + + + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/com/parse/package-tree.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/com/parse/package-tree.html new file mode 100644 index 00000000..546c39d2 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/com/parse/package-tree.html @@ -0,0 +1,120 @@ + + + + +com.parse Class Hierarchy + + + + + + +
    + + + + + +
    + + +
    +

    Hierarchy For Package com.parse

    +
    +
    +

    Class Hierarchy

    + +
    + +
    + + + + + +
    + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/com/parse/package-use.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/com/parse/package-use.html new file mode 100644 index 00000000..1940cd08 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/com/parse/package-use.html @@ -0,0 +1,111 @@ + + + + +Uses of Package com.parse + + + + + + +
    + + + + + +
    + + +
    +

    Uses of Package
    com.parse

    +
    +
    No usage of com.parse
    + +
    + + + + + +
    + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/constant-values.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/constant-values.html new file mode 100644 index 00000000..61dacc12 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/constant-values.html @@ -0,0 +1,111 @@ + + + + +Constant Field Values + + + + + + +
    + + + + + +
    + + +
    +

    Constant Field Values

    +

    Contents

    +
    + +
    + + + + + +
    + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/deprecated-list.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/deprecated-list.html new file mode 100644 index 00000000..60d6db8b --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/deprecated-list.html @@ -0,0 +1,111 @@ + + + + +Deprecated List + + + + + + +
    + + + + + +
    + + +
    +

    Deprecated API

    +

    Contents

    +
    + +
    + + + + + +
    + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/help-doc.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/help-doc.html new file mode 100644 index 00000000..5b4c5b69 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/help-doc.html @@ -0,0 +1,212 @@ + + + + +API Help + + + + + + +
    + + + + + +
    + + +
    +

    How This API Document Is Organized

    +
    This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
    +
    +
    +
      +
    • +

      Package

      +

      Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

      +
        +
      • Interfaces (italic)
      • +
      • Classes
      • +
      • Enums
      • +
      • Exceptions
      • +
      • Errors
      • +
      • Annotation Types
      • +
      +
    • +
    • +

      Class/Interface

      +

      Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

      +
        +
      • Class inheritance diagram
      • +
      • Direct Subclasses
      • +
      • All Known Subinterfaces
      • +
      • All Known Implementing Classes
      • +
      • Class/interface declaration
      • +
      • Class/interface description
      • +
      +
        +
      • Nested Class Summary
      • +
      • Field Summary
      • +
      • Constructor Summary
      • +
      • Method Summary
      • +
      +
        +
      • Field Detail
      • +
      • Constructor Detail
      • +
      • Method Detail
      • +
      +

      Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

      +
    • +
    • +

      Annotation Type

      +

      Each annotation type has its own separate page with the following sections:

      +
        +
      • Annotation Type declaration
      • +
      • Annotation Type description
      • +
      • Required Element Summary
      • +
      • Optional Element Summary
      • +
      • Element Detail
      • +
      +
    • +
    • +

      Enum

      +

      Each enum has its own separate page with the following sections:

      +
        +
      • Enum declaration
      • +
      • Enum description
      • +
      • Enum Constant Summary
      • +
      • Enum Constant Detail
      • +
      +
    • +
    • +

      Use

      +

      Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

      +
    • +
    • +

      Tree (Class Hierarchy)

      +

      There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

      +
        +
      • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
      • +
      • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
      • +
      +
    • +
    • +

      Deprecated API

      +

      The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

      +
    • +
    • +

      Index

      +

      The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

      +
    • +
    • +

      Prev/Next

      +

      These links take you to the next or previous class, interface, package, or related page.

      +
    • +
    • +

      Frames/No Frames

      +

      These links show and hide the HTML frames. All pages are available with or without frames.

      +
    • +
    • +

      All Classes

      +

      The All Classes link shows all classes and interfaces except non-static nested types.

      +
    • +
    • +

      Serialized Form

      +

      Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

      +
    • +
    • +

      Constant Field Values

      +

      The Constant Field Values page lists the static final fields and their values.

      +
    • +
    +This help file applies to API documentation generated using the standard doclet.
    + +
    + + + + + +
    + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/index-all.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/index-all.html new file mode 100644 index 00000000..9174a9bf --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/index-all.html @@ -0,0 +1,256 @@ + + + + +Index + + + + + + +
    + + + + + +
    + + +
    C I L O P U  + + +

    C

    +
    +
    com.parse - package com.parse
    +
     
    +
    + + + +

    I

    +
    +
    initialize(Context) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Initializes ParseFacebookUtils and FacebookSdk.
    +
    +
    initialize(Context, int) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Initializes ParseFacebookUtils and FacebookSdk.
    +
    +
    isLinked(ParseUser) - Static method in class com.parse.ParseFacebookUtils
    +
     
    +
    + + + +

    L

    +
    +
    linkInBackground(ParseUser, AccessToken) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Link an existing Parse user with a Facebook account using authorization credentials that have + already been obtained.
    +
    +
    linkInBackground(ParseUser, AccessToken, SaveCallback) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Link an existing Parse user with a Facebook account using authorization credentials that have + already been obtained.
    +
    +
    linkWithPublishPermissionsInBackground(ParseUser, Activity, Collection<String>) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Link an existing Parse user to Facebook with the requested publish permissions.
    +
    +
    linkWithPublishPermissionsInBackground(ParseUser, Activity, Collection<String>, SaveCallback) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Link an existing Parse user to Facebook with the requested publish permissions.
    +
    +
    linkWithPublishPermissionsInBackground(ParseUser, Fragment, Collection<String>) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Link an existing Parse user to Facebook with the requested publish permissions.
    +
    +
    linkWithPublishPermissionsInBackground(ParseUser, Fragment, Collection<String>, SaveCallback) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Link an existing Parse user to Facebook with the requested publish permissions.
    +
    +
    linkWithReadPermissionsInBackground(ParseUser, Activity, Collection<String>) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Link an existing Parse user to Facebook with the requested read permissions.
    +
    +
    linkWithReadPermissionsInBackground(ParseUser, Activity, Collection<String>, SaveCallback) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Link an existing Parse user to Facebook with the requested read permissions.
    +
    +
    linkWithReadPermissionsInBackground(ParseUser, Fragment, Collection<String>) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Link an existing Parse user to Facebook with the requested read permissions.
    +
    +
    linkWithReadPermissionsInBackground(ParseUser, Fragment, Collection<String>, SaveCallback) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Link an existing Parse user to Facebook with the requested read permissions.
    +
    +
    logInInBackground(AccessToken) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Log in using a Facebook account using authorization credentials that have already been + obtained.
    +
    +
    logInInBackground(AccessToken, LogInCallback) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Log in using a Facebook account using authorization credentials that have already been + obtained.
    +
    +
    logInWithPublishPermissionsInBackground(Activity, Collection<String>) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Log in using Facebook login with the requested publish permissions.
    +
    +
    logInWithPublishPermissionsInBackground(Activity, Collection<String>, LogInCallback) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Log in using Facebook login with the requested publish permissions.
    +
    +
    logInWithPublishPermissionsInBackground(Fragment, Collection<String>) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Log in using Facebook login with the requested publish permissions.
    +
    +
    logInWithPublishPermissionsInBackground(Fragment, Collection<String>, LogInCallback) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Log in using Facebook login with the requested publish permissions.
    +
    +
    logInWithReadPermissionsInBackground(Activity, Collection<String>) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Log in using Facebook login with the requested read permissions.
    +
    +
    logInWithReadPermissionsInBackground(Activity, Collection<String>, LogInCallback) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Log in using Facebook login with the requested read permissions.
    +
    +
    logInWithReadPermissionsInBackground(Fragment, Collection<String>) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Log in using Facebook login with the requested read permissions.
    +
    +
    logInWithReadPermissionsInBackground(Fragment, Collection<String>, LogInCallback) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Log in using Facebook login with the requested read permissions.
    +
    +
    + + + +

    O

    +
    +
    onActivityResult(int, int, Intent) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    The method that should be called from the Activity's or Fragment's onActivityResult method.
    +
    +
    + + + +

    P

    +
    +
    ParseFacebookUtils - Class in com.parse
    +
    +
    Provides a set of utilities for using Parse with Facebook.
    +
    +
    + + + +

    U

    +
    +
    unlinkInBackground(ParseUser) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Unlink a user from a Facebook account.
    +
    +
    unlinkInBackground(ParseUser, SaveCallback) - Static method in class com.parse.ParseFacebookUtils
    +
    +
    Unlink a user from a Facebook account.
    +
    +
    +C I L O P U 
    + +
    + + + + + +
    + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/index.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/index.html new file mode 100644 index 00000000..a24946c9 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/index.html @@ -0,0 +1,70 @@ + + + + +Generated Documentation (Untitled) + + + + + + +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<h2>Frame Alert</h2> +<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="com/parse/package-summary.html">Non-frame version</a>.</p> + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/overview-tree.html b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/overview-tree.html new file mode 100644 index 00000000..400df122 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/overview-tree.html @@ -0,0 +1,124 @@ + + + + +Class Hierarchy + + + + + + +
    + + + + + +
    + + +
    +

    Hierarchy For All Packages

    +Package Hierarchies: + +
    +
    +

    Class Hierarchy

    + +
    + +
    + + + + + +
    + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/package-list b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/package-list new file mode 100644 index 00000000..efe15013 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/package-list @@ -0,0 +1 @@ +com.parse diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/resources/background.gif b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/resources/background.gif new file mode 100644 index 00000000..f471940f Binary files /dev/null and b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/resources/background.gif differ diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/resources/tab.gif b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/resources/tab.gif new file mode 100644 index 00000000..1a73a83b Binary files /dev/null and b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/resources/tab.gif differ diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/resources/titlebar.gif b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/resources/titlebar.gif new file mode 100644 index 00000000..17443b3e Binary files /dev/null and b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/resources/titlebar.gif differ diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/resources/titlebar_end.gif b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/resources/titlebar_end.gif new file mode 100644 index 00000000..3ad78d46 Binary files /dev/null and b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/resources/titlebar_end.gif differ diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/stylesheet.css b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/stylesheet.css new file mode 100644 index 00000000..0aeaa97f --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0-javadoc/stylesheet.css @@ -0,0 +1,474 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ +body { + background-color:#ffffff; + color:#353833; + font-family:Arial, Helvetica, sans-serif; + font-size:76%; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4c6b87; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4c6b87; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-size:1.3em; +} +h1 { + font-size:1.8em; +} +h2 { + font-size:1.5em; +} +h3 { + font-size:1.4em; +} +h4 { + font-size:1.3em; +} +h5 { + font-size:1.2em; +} +h6 { + font-size:1.1em; +} +ul { + list-style-type:disc; +} +code, tt { + font-size:1.2em; +} +dt code { + font-size:1.2em; +} +table tr td dt code { + font-size:1.2em; + vertical-align:top; +} +sup { + font-size:.6em; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:.8em; + z-index:200; + margin-top:-7px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + background-image:url(resources/titlebar.gif); + background-position:left top; + background-repeat:no-repeat; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-image:url(resources/background.gif); + background-repeat:repeat-x; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:1em; + margin:0; +} +.topNav { + background-image:url(resources/background.gif); + background-repeat:repeat-x; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; +} +.bottomNav { + margin-top:10px; + background-image:url(resources/background.gif); + background-repeat:repeat-x; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; +} +.subNav { + background-color:#dee3e9; + border-bottom:1px solid #9eadc0; + float:left; + width:100%; + overflow:hidden; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding:3px 6px; +} +ul.subNavList li{ + list-style:none; + float:left; + font-size:90%; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; +} +.navBarCell1Rev { + background-image:url(resources/tab.gif); + background-color:#a88834; + color:#FFFFFF; + margin: auto 5px; + border:1px solid #c9aa44; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader h1 { + font-size:1.3em; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 25px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:1.2em; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border-top:1px solid #9eadc0; + border-bottom:1px solid #9eadc0; + margin:0 0 6px -8px; + padding:2px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border-top:1px solid #9eadc0; + border-bottom:1px solid #9eadc0; + margin:0 0 6px -8px; + padding:2px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:1.0em; +} +.indexContainer h2 { + font-size:1.1em; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:1.1em; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:10px 0 10px 20px; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:25px; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #9eadc0; + background-color:#f9f9f9; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:1px solid #9eadc0; + border-top:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; + border-bottom:1px solid #9eadc0; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.contentContainer table, .classUseContainer table, .constantValuesContainer table { + border-bottom:1px solid #9eadc0; + width:100%; +} +.contentContainer ul li table, .classUseContainer ul li table, .constantValuesContainer ul li table { + width:100%; +} +.contentContainer .description table, .contentContainer .details table { + border-bottom:none; +} +.contentContainer ul li table th.colOne, .contentContainer ul li table th.colFirst, .contentContainer ul li table th.colLast, .classUseContainer ul li table th, .constantValuesContainer ul li table th, .contentContainer ul li table td.colOne, .contentContainer ul li table td.colFirst, .contentContainer ul li table td.colLast, .classUseContainer ul li table td, .constantValuesContainer ul li table td{ + vertical-align:top; + padding-right:20px; +} +.contentContainer ul li table th.colLast, .classUseContainer ul li table th.colLast,.constantValuesContainer ul li table th.colLast, +.contentContainer ul li table td.colLast, .classUseContainer ul li table td.colLast,.constantValuesContainer ul li table td.colLast, +.contentContainer ul li table th.colOne, .classUseContainer ul li table th.colOne, +.contentContainer ul li table td.colOne, .classUseContainer ul li table td.colOne { + padding-right:3px; +} +.overviewSummary caption, .packageSummary caption, .contentContainer ul.blockList li.blockList caption, .summary caption, .classUseContainer caption, .constantValuesContainer caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#FFFFFF; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + margin:0px; +} +caption a:link, caption a:hover, caption a:active, caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .packageSummary caption span, .contentContainer ul.blockList li.blockList caption span, .summary caption span, .classUseContainer caption span, .constantValuesContainer caption span { + white-space:nowrap; + padding-top:8px; + padding-left:8px; + display:block; + float:left; + background-image:url(resources/titlebar.gif); + height:18px; +} +.overviewSummary .tabEnd, .packageSummary .tabEnd, .contentContainer ul.blockList li.blockList .tabEnd, .summary .tabEnd, .classUseContainer .tabEnd, .constantValuesContainer .tabEnd { + width:10px; + background-image:url(resources/titlebar_end.gif); + background-repeat:no-repeat; + background-position:top right; + position:relative; + float:left; +} +ul.blockList ul.blockList li.blockList table { + margin:0 0 12px 0px; + width:100%; +} +.tableSubHeadingColor { + background-color: #EEEEFF; +} +.altColor { + background-color:#eeeeef; +} +.rowColor { + background-color:#ffffff; +} +.overviewSummary td, .packageSummary td, .contentContainer ul.blockList li.blockList td, .summary td, .classUseContainer td, .constantValuesContainer td { + text-align:left; + padding:3px 3px 3px 7px; +} +th.colFirst, th.colLast, th.colOne, .constantValuesContainer th { + background:#dee3e9; + border-top:1px solid #9eadc0; + border-bottom:1px solid #9eadc0; + text-align:left; + padding:3px 3px 3px 7px; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +td.colFirst, th.colFirst { + border-left:1px solid #9eadc0; + white-space:nowrap; +} +td.colLast, th.colLast { + border-right:1px solid #9eadc0; +} +td.colOne, th.colOne { + border-right:1px solid #9eadc0; + border-left:1px solid #9eadc0; +} +table.overviewSummary { + padding:0px; + margin-left:0px; +} +table.overviewSummary td.colFirst, table.overviewSummary th.colFirst, +table.overviewSummary td.colOne, table.overviewSummary th.colOne { + width:25%; + vertical-align:middle; +} +table.packageSummary td.colFirst, table.overviewSummary th.colFirst { + width:25%; + vertical-align:middle; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:.9em; +} +.block { + display:block; + margin:3px 0 0 0; +} +.strong { + font-weight:bold; +} diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0.jar b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0.jar new file mode 100644 index 00000000..a447e703 Binary files /dev/null and b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0.jar differ diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0.jar.properties b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0.jar.properties new file mode 100644 index 00000000..4971dbc6 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/ParseFacebookUtilsV4-1.9.0.jar.properties @@ -0,0 +1 @@ +doc=ParseFacebookUtilsV4-1.9.0-javadoc diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/bolts-android-1.1.4-javadoc.jar b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/bolts-android-1.1.4-javadoc.jar new file mode 100644 index 00000000..7eb2d48e Binary files /dev/null and b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/bolts-android-1.1.4-javadoc.jar differ diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/bolts-android-1.1.4.jar b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/bolts-android-1.1.4.jar new file mode 100644 index 00000000..d04acb3b Binary files /dev/null and b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/bolts-android-1.1.4.jar differ diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/bolts-android-1.1.4.jar.properties b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/bolts-android-1.1.4.jar.properties new file mode 100644 index 00000000..c0fa290b --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/bolts-android-1.1.4.jar.properties @@ -0,0 +1 @@ +doc=bolts-android-1.1.4-javadoc.jar diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/third_party_licenses.txt b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/third_party_licenses.txt new file mode 100644 index 00000000..47de1047 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parse/third_party_licenses.txt @@ -0,0 +1,884 @@ +THE FOLLOWING SETS FORTH ATTRIBUTION NOTICES FOR THIRD PARTY SOFTWARE THAT MAY BE CONTAINED IN PORTIONS OF THE PARSE PRODUCT. + +----- + +The following software may be included in this product: Apache Jakarta Commons Codec. This software contains the following license and notice below: + + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +----- + +The following software may be included in this product: oauth-signpost. This software contains the following license and notice below: + + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +----- + +The following software may be included in this product: Apache Commons IO. This software contains the following license and notice below: + + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +----- + +The following software may be included in this product: google-breakpad. This software contains the following license and notice below: + +Copyright (c) 2006, Google Inc. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +* Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. +* Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +-------------------------------------------------------------------- + +Copyright 2001-2004 Unicode, Inc. + +Disclaimer + +This source code is provided as is by Unicode, Inc. No claims are +made as to fitness for any particular purpose. No warranties of any +kind are expressed or implied. The recipient agrees to determine +applicability of information provided. If this file has been +purchased on magnetic or optical media from Unicode, Inc., the +sole remedy for any claim will be exchange of defective media +within 90 days of receipt. + +Limitations on Rights to Redistribute This Code + +Unicode, Inc. hereby grants the right to freely use the information +supplied in this file in the creation of products supporting the +Unicode Standard, and to make copies of this file in any form +for internal or external distribution as long as this notice +remains attached. + +----- + +The following software may be included in this product: ACRA. This software contains the following license and notice below: + + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. \ No newline at end of file diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parseplugin.xml b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parseplugin.xml new file mode 100644 index 00000000..9c5ad89a --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/android/parseplugin.xml @@ -0,0 +1,3 @@ + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/CDVParsePlugin.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/CDVParsePlugin.h new file mode 100644 index 00000000..47e1a69c --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/CDVParsePlugin.h @@ -0,0 +1,19 @@ +#import +#import "AppDelegate.h" + +@interface CDVParsePlugin: CDVPlugin + +- (void)initialize: (CDVInvokedUrlCommand*)command; +- (void)getInstallationId: (CDVInvokedUrlCommand*)command; +- (void)getInstallationObjectId: (CDVInvokedUrlCommand*)command; +- (void)getSubscriptions: (CDVInvokedUrlCommand *)command; +- (void)subscribe: (CDVInvokedUrlCommand *)command; +- (void)unsubscribe: (CDVInvokedUrlCommand *)command; +- (void)resetBadge: (CDVInvokedUrlCommand *)command; +- (void)trackEvent: (CDVInvokedUrlCommand *)command; + +@end + +@interface AppDelegate (CDVParsePlugin) +- (void)handleRemoteNotification:(UIApplication *)application payload:(NSDictionary *)payload; +@end diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/CDVParsePlugin.m b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/CDVParsePlugin.m new file mode 100644 index 00000000..93cc6bdd --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/CDVParsePlugin.m @@ -0,0 +1,279 @@ +#import "CDVParsePlugin.h" +#import +#import +#import +#import + +static NSString * ecb = nil; +static NSMutableDictionary * launchNotification = nil; +static NSString * const PPAppId = @"appId"; +static NSString * const PPClientKey = @"clientKey"; +static NSString * const PPReceivedInForeground = @"receivedInForeground"; + +@implementation CDVParsePlugin + +- (void)resetBadge:(CDVInvokedUrlCommand *)command { + NSLog(@"ParsePlugin.resetBadge"); + CDVPluginResult* pluginResult = nil; + PFInstallation *currentInstallation = [PFInstallation currentInstallation]; + currentInstallation.badge = 0; + // [currentInstallation saveEventually]; + [currentInstallation saveInBackground]; + pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK]; + [self.commandDelegate sendPluginResult:pluginResult callbackId:command.callbackId]; + +} + +- (void)trackEvent:(CDVInvokedUrlCommand *)command { + CDVPluginResult* pluginResult = nil; + NSString *eventName = [command.arguments objectAtIndex:0]; + NSDictionary *dimensions = [command.arguments objectAtIndex:1]; + NSLog(@"ParsePlugin.trackEvent %@ %@", eventName, dimensions); + [PFAnalytics trackEvent:eventName dimensions:dimensions]; + pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK]; + [self.commandDelegate sendPluginResult:pluginResult callbackId:command.callbackId]; + +} + +- (void)registerCallback: (CDVInvokedUrlCommand*)command +{ + ecb = [command.arguments objectAtIndex:0]; + + // If the app was inactive and launched from a notification, launchNotification stores the notification temporarily. + // Now that the device is ready, we can handle the stored launchNotification and remove it. + if (launchNotification) { + [[[UIApplication sharedApplication] delegate] performSelector:@selector(handleRemoteNotification:payload:) withObject:[UIApplication sharedApplication] withObject:launchNotification]; + launchNotification = nil; + } + + CDVPluginResult* pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK]; + [self.commandDelegate sendPluginResult:pluginResult callbackId:command.callbackId]; +} + +- (void)initialize: (CDVInvokedUrlCommand*)command +{ + [self.commandDelegate runInBackground:^{ + CDVPluginResult* pluginResult = nil; + + NSString *appId = [command.arguments objectAtIndex:0]; + NSString *clientKey = [command.arguments objectAtIndex:1]; + [[NSUserDefaults standardUserDefaults] setObject:appId forKey:PPAppId]; + [[NSUserDefaults standardUserDefaults] setObject:clientKey forKey:PPClientKey]; + + [Parse setApplicationId:appId clientKey:clientKey]; + + // Register for notifications + if ([[UIApplication sharedApplication] respondsToSelector:@selector(registerUserNotificationSettings:)]) { + UIUserNotificationSettings *settings = [UIUserNotificationSettings + settingsForTypes:UIUserNotificationTypeAlert | UIUserNotificationTypeBadge | UIUserNotificationTypeSound + categories:nil]; + [[UIApplication sharedApplication] registerUserNotificationSettings:settings]; + [[UIApplication sharedApplication] registerForRemoteNotifications]; + } + else { + [[UIApplication sharedApplication] registerForRemoteNotificationTypes: + UIRemoteNotificationTypeBadge | + UIRemoteNotificationTypeAlert | + UIRemoteNotificationTypeSound]; + } + + PFInstallation *currentInstallation = [PFInstallation currentInstallation]; + NSError *error = nil; + [currentInstallation save:&error]; + if (error != nil) { + pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsString:[error localizedDescription]]; + } else { + pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK]; + } + + [self.commandDelegate sendPluginResult:pluginResult callbackId:command.callbackId]; + }]; +} + +- (void)getInstallationId:(CDVInvokedUrlCommand*) command +{ + [self.commandDelegate runInBackground:^{ + CDVPluginResult* pluginResult = nil; + PFInstallation *currentInstallation = [PFInstallation currentInstallation]; + NSString *installationId = currentInstallation.installationId; + pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsString:installationId]; + [self.commandDelegate sendPluginResult:pluginResult callbackId:command.callbackId]; + }]; +} + +- (void)getInstallationObjectId:(CDVInvokedUrlCommand*) command +{ + [self.commandDelegate runInBackground:^{ + CDVPluginResult* pluginResult = nil; + PFInstallation *currentInstallation = [PFInstallation currentInstallation]; + NSString *objectId = currentInstallation.objectId; + pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsString:objectId]; + [self.commandDelegate sendPluginResult:pluginResult callbackId:command.callbackId]; + }]; +} + +- (void)getSubscriptions: (CDVInvokedUrlCommand *)command +{ + NSArray *channels = [PFInstallation currentInstallation].channels; + CDVPluginResult* pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsArray:channels]; + [self.commandDelegate sendPluginResult:pluginResult callbackId:command.callbackId]; +} + +- (void)subscribe: (CDVInvokedUrlCommand *)command +{ + CDVPluginResult* pluginResult = nil; + PFInstallation *currentInstallation = [PFInstallation currentInstallation]; + NSString *channel = [command.arguments objectAtIndex:0]; + [currentInstallation addUniqueObject:channel forKey:@"channels"]; + [currentInstallation saveInBackground]; + pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK]; + [self.commandDelegate sendPluginResult:pluginResult callbackId:command.callbackId]; +} + +- (void)unsubscribe: (CDVInvokedUrlCommand *)command +{ + CDVPluginResult* pluginResult = nil; + PFInstallation *currentInstallation = [PFInstallation currentInstallation]; + NSString *channel = [command.arguments objectAtIndex:0]; + [currentInstallation removeObject:channel forKey:@"channels"]; + [currentInstallation saveInBackground]; + pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK]; + [self.commandDelegate sendPluginResult:pluginResult callbackId:command.callbackId]; +} + +@end + +@implementation AppDelegate (CDVParsePlugin) + +void MethodSwizzle(Class c, SEL originalSelector) { + NSString *selectorString = NSStringFromSelector(originalSelector); + SEL newSelector = NSSelectorFromString([@"swizzled_" stringByAppendingString:selectorString]); + SEL noopSelector = NSSelectorFromString([@"noop_" stringByAppendingString:selectorString]); + Method originalMethod, newMethod, noop; + originalMethod = class_getInstanceMethod(c, originalSelector); + newMethod = class_getInstanceMethod(c, newSelector); + noop = class_getInstanceMethod(c, noopSelector); + if (class_addMethod(c, originalSelector, method_getImplementation(newMethod), method_getTypeEncoding(newMethod))) { + class_replaceMethod(c, newSelector, method_getImplementation(originalMethod) ?: method_getImplementation(noop), method_getTypeEncoding(originalMethod)); + } else { + method_exchangeImplementations(originalMethod, newMethod); + } +} + ++ (void)load +{ + MethodSwizzle([self class], @selector(application:didRegisterForRemoteNotificationsWithDeviceToken:)); + MethodSwizzle([self class], @selector(application:didReceiveRemoteNotification:fetchCompletionHandler:)); + MethodSwizzle([self class], @selector(application:didFinishLaunchingWithOptions:)); + MethodSwizzle([self class], @selector(applicationDidBecomeActive:)); +} + +- (void)noop_application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)newDeviceToken +{ +} + +- (void)swizzled_application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)newDeviceToken +{ + // Call existing method + [self swizzled_application:application didRegisterForRemoteNotificationsWithDeviceToken:newDeviceToken]; + // Store the deviceToken in the current installation and save it to Parse. + PFInstallation *currentInstallation = [PFInstallation currentInstallation]; + [currentInstallation setDeviceTokenFromData:newDeviceToken]; + [currentInstallation saveInBackground]; +} + +- (NSString *)getJson:(NSDictionary *)data { + NSError *error; + NSData *jsonData = [NSJSONSerialization dataWithJSONObject:data + options:(NSJSONWritingOptions)NSJSONWritingPrettyPrinted + error:&error]; + if (!jsonData) { + NSLog(@"getJson error: %@", error.localizedDescription); + return @"{}"; + } else { + return [[NSString alloc] initWithData:jsonData encoding:NSUTF8StringEncoding]; + } +} + +- (void)noop_application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult result))handler +{ +} + +- (void)swizzled_application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult result))handler +{ + // Call existing method + [self swizzled_application:application didReceiveRemoteNotification:userInfo fetchCompletionHandler:handler]; + + NSMutableDictionary *notification = [NSMutableDictionary dictionaryWithDictionary:userInfo]; + [notification setObject:[NSNumber numberWithBool:[self isInForeground:application]] forKey:PPReceivedInForeground]; + [self handleRemoteNotification:application payload:notification]; + + handler(UIBackgroundFetchResultNoData); +} + +- (BOOL)noop_application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { + return YES; +} + +- (BOOL)swizzled_application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { + + // Call existing method + [self swizzled_application:application didFinishLaunchingWithOptions:launchOptions]; + + NSString *appId = [[NSUserDefaults standardUserDefaults] stringForKey:PPAppId]; + NSString *clientKey = [[NSUserDefaults standardUserDefaults] stringForKey:PPClientKey]; + + if (appId && clientKey) { + [Parse setApplicationId:appId clientKey:clientKey]; + } + + NSDictionary *launchPayload = [launchOptions objectForKey:UIApplicationLaunchOptionsRemoteNotificationKey]; + + if (launchPayload) { + NSMutableDictionary *notification = [NSMutableDictionary dictionaryWithDictionary:launchPayload]; + [notification setObject:[NSNumber numberWithBool:[self isInForeground:application]] forKey:PPReceivedInForeground]; + + // If the app is inactive, store the notification so that we can invoke the web app when it's ready + if (application.applicationState == UIApplicationStateInactive) { + launchNotification = notification; + } else { + [self handleRemoteNotification:application payload:notification]; + } + } + + return YES; +} + +- (BOOL)isInForeground:(UIApplication *)application { + return application.applicationState == UIApplicationStateActive; +} + +- (void)noop_applicationDidBecomeActive:(UIApplication *)application { +} + +- (void)swizzled_applicationDidBecomeActive:(UIApplication *)application { + // Call existing method + [self swizzled_applicationDidBecomeActive:application]; + // Reset the badge on app open + application.applicationIconBadgeNumber = 0; +} + +- (void)handleRemoteNotification:(UIApplication *)application payload:(NSMutableDictionary *)payload { + + // track analytics when the app was opened as a result of tapping a remote notification + if (![[payload objectForKey:PPReceivedInForeground] boolValue]) { + [PFAnalytics trackAppOpenedWithRemoteNotificationPayload:payload]; + } + + // send the callback to the webview + if (ecb) { + NSString *jsString = [NSString stringWithFormat:@"%@(%@);", ecb, [self getJson:payload]]; + + if ([self.viewController.webView respondsToSelector:@selector(stringByEvaluatingJavaScriptFromString:)]) { + // perform the selector on the main thread to bypass known iOS issue: http://goo.gl/0E1iAj + [self.viewController.webView performSelectorOnMainThread:@selector(stringByEvaluatingJavaScriptFromString:) withObject:jsString waitUntilDone:NO]; + } + } +} + +@end diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Bolts b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Bolts new file mode 120000 index 00000000..190cc04c --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Bolts @@ -0,0 +1 @@ +./Versions/A/Bolts \ No newline at end of file diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Headers b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Headers new file mode 120000 index 00000000..b0cc393f --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Headers @@ -0,0 +1 @@ +./Versions/A/Headers \ No newline at end of file diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Bolts b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Bolts new file mode 100644 index 00000000..2f6ba68d Binary files /dev/null and b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Bolts differ diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFAppLink.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFAppLink.h new file mode 100644 index 00000000..5e51acd8 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFAppLink.h @@ -0,0 +1,49 @@ +/* + * Copyright (c) 2014, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + +#import + +/*! The version of the App Link protocol that this library supports */ +FOUNDATION_EXPORT NSString *const BFAppLinkVersion; + +/*! + Contains App Link metadata relevant for navigation on this device + derived from the HTML at a given URL. + */ +@interface BFAppLink : NSObject + +/*! + Creates a BFAppLink with the given list of BFAppLinkTargets and target URL. + + Generally, this will only be used by implementers of the BFAppLinkResolving protocol, + as these implementers will produce App Link metadata for a given URL. + + @param sourceURL the URL from which this App Link is derived + @param targets an ordered list of BFAppLinkTargets for this platform derived + from App Link metadata. + @param webURL the fallback web URL, if any, for the app link. + */ ++ (instancetype)appLinkWithSourceURL:(NSURL *)sourceURL + targets:(NSArray *)targets + webURL:(NSURL *)webURL; + +/*! The URL from which this BFAppLink was derived */ +@property (nonatomic, strong, readonly) NSURL *sourceURL; + +/*! + The ordered list of targets applicable to this platform that will be used + for navigation. + */ +@property (nonatomic, copy, readonly) NSArray *targets; + +/*! The fallback web URL to use if no targets are installed on this device. */ +@property (nonatomic, strong, readonly) NSURL *webURL; + +@end diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFAppLinkNavigation.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFAppLinkNavigation.h new file mode 100644 index 00000000..d459f722 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFAppLinkNavigation.h @@ -0,0 +1,93 @@ +/* + * Copyright (c) 2014, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + +#import + +#import + +/*! + The result of calling navigate on a BFAppLinkNavigation + */ +typedef NS_ENUM(NSInteger, BFAppLinkNavigationType) { + /*! Indicates that the navigation failed and no app was opened */ + BFAppLinkNavigationTypeFailure, + /*! Indicates that the navigation succeeded by opening the URL in the browser */ + BFAppLinkNavigationTypeBrowser, + /*! Indicates that the navigation succeeded by opening the URL in an app on the device */ + BFAppLinkNavigationTypeApp +}; + +@protocol BFAppLinkResolving; +@class BFTask; + +/*! + Represents a pending request to navigate to an App Link. Most developers will + simply use navigateToURLInBackground: to open a URL, but developers can build + custom requests with additional navigation and app data attached to them by + creating BFAppLinkNavigations themselves. + */ +@interface BFAppLinkNavigation : NSObject + +/*! + The extras for the AppLinkNavigation. This will generally contain application-specific + data that should be passed along with the request, such as advertiser or affiliate IDs or + other such metadata relevant on this device. + */ +@property (nonatomic, copy, readonly) NSDictionary *extras; + +/*! + The al_applink_data for the AppLinkNavigation. This will generally contain data common to + navigation attempts such as back-links, user agents, and other information that may be used + in routing and handling an App Link request. + */ +@property (nonatomic, copy, readonly) NSDictionary *appLinkData; + +/*! The AppLink to navigate to */ +@property (nonatomic, strong, readonly) BFAppLink *appLink; + +/*! Creates an AppLinkNavigation with the given link, extras, and App Link data */ ++ (instancetype)navigationWithAppLink:(BFAppLink *)appLink + extras:(NSDictionary *)extras + appLinkData:(NSDictionary *)appLinkData; + +/*! Performs the navigation */ +- (BFAppLinkNavigationType)navigate:(NSError **)error; + +/*! Returns a BFAppLink for the given URL */ ++ (BFTask *)resolveAppLinkInBackground:(NSURL *)destination; + +/*! Returns a BFAppLink for the given URL using the given App Link resolution strategy */ ++ (BFTask *)resolveAppLinkInBackground:(NSURL *)destination resolver:(id)resolver; + +/*! Navigates to a BFAppLink and returns whether it opened in-app or in-browser */ ++ (BFAppLinkNavigationType)navigateToAppLink:(BFAppLink *)link error:(NSError **)error; + +/*! Navigates to a URL (an asynchronous action) and returns a BFNavigationType */ ++ (BFTask *)navigateToURLInBackground:(NSURL *)destination; + +/*! + Navigates to a URL (an asynchronous action) using the given App Link resolution + strategy and returns a BFNavigationType + */ ++ (BFTask *)navigateToURLInBackground:(NSURL *)destination resolver:(id)resolver; + +/*! + Gets the default resolver to be used for App Link resolution. If the developer has not set one explicitly, + a basic, built-in resolver will be used. + */ ++ (id)defaultResolver; + +/*! + Sets the default resolver to be used for App Link resolution. Setting this to nil will revert the + default resolver to the basic, built-in resolver provided by Bolts. + */ ++ (void)setDefaultResolver:(id)resolver; + +@end diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFAppLinkResolving.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFAppLinkResolving.h new file mode 100644 index 00000000..baa1451e --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFAppLinkResolving.h @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2014, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + +#import + +@class BFTask; + +/*! + Implement this protocol to provide an alternate strategy for resolving + App Links that may include pre-fetching, caching, or querying for App Link + data from an index provided by a service provider. + */ +@protocol BFAppLinkResolving + +/*! + Asynchronously resolves App Link data for a given URL. + + @param url The URL to resolve into an App Link. + @returns A BFTask that will return a BFAppLink for the given URL. + */ +- (BFTask *)appLinkFromURLInBackground:(NSURL *)url; + +@end diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFAppLinkReturnToRefererController.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFAppLinkReturnToRefererController.h new file mode 100644 index 00000000..22648d44 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFAppLinkReturnToRefererController.h @@ -0,0 +1,87 @@ +/* + * Copyright (c) 2014, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + +#import +#import + +#import + +@class BFAppLink; +@class BFAppLinkReturnToRefererController; + +/*! + Protocol that a class can implement in order to be notified when the user has navigated back + to the referer of an App Link. + */ +@protocol BFAppLinkReturnToRefererControllerDelegate + +@optional + +/*! Called when the user has tapped to navigate, but before the navigation has been performed. */ +- (void)returnToRefererController:(BFAppLinkReturnToRefererController *)controller + willNavigateToAppLink:(BFAppLink *)appLink; + +/*! Called after the navigation has been attempted, with an indication of whether the referer + app link was successfully opened. */ +- (void)returnToRefererController:(BFAppLinkReturnToRefererController *)controller + didNavigateToAppLink:(BFAppLink *)url + type:(BFAppLinkNavigationType)type; + +@end + +/*! + A controller class that implements default behavior for a BFAppLinkReturnToRefererView, including + the ability to display the view above the navigation bar for navigation-bsaed apps. + */ +@interface BFAppLinkReturnToRefererController : NSObject + +/*! + The delegate that will be notified when the user navigates back to the referer. + */ +@property (nonatomic, weak) id delegate; + +/*! + The BFAppLinkReturnToRefererView this controller is controlling. + */ +@property (nonatomic, strong) BFAppLinkReturnToRefererView *view; + +/*! + Initializes a controller suitable for controlling a BFAppLinkReturnToRefererView that is to be displayed + contained within another UIView (i.e., not displayed above the navigation bar). + */ +- (instancetype)init; + +/*! + Initializes a controller suitable for controlling a BFAppLinkReturnToRefererView that is to be displayed + displayed above the navigation bar. + */ +- (instancetype)initForDisplayAboveNavController:(UINavigationController *)navController; + +/*! + Removes the view entirely from the navigation controller it is currently displayed in. + */ +- (void)removeFromNavController; + +/*! + Shows the BFAppLinkReturnToRefererView with the specified referer information. If nil or missing data, + the view will not be displayed. */ +- (void)showViewForRefererAppLink:(BFAppLink *)refererAppLink; + +/*! + Shows the BFAppLinkReturnToRefererView with referer information extracted from the specified URL. + If nil or missing referer App Link data, the view will not be displayed. */ +- (void)showViewForRefererURL:(NSURL *)url; + +/*! + Closes the view, possibly animating it. + */ +- (void)closeViewAnimated:(BOOL)animated; + +@end diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFAppLinkReturnToRefererView.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFAppLinkReturnToRefererView.h new file mode 100644 index 00000000..e3af9408 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFAppLinkReturnToRefererView.h @@ -0,0 +1,91 @@ +/* + * Copyright (c) 2014, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + +#import +#import + +#import + +@class BFAppLinkReturnToRefererView; +@class BFURL; + +typedef enum BFIncludeStatusBarInSize { + BFIncludeStatusBarInSizeNever, + BFIncludeStatusBarInSizeIOS7AndLater, + BFIncludeStatusBarInSizeAlways, +} BFIncludeStatusBarInSize; + +/*! + Protocol that a class can implement in order to be notified when the user has navigated back + to the referer of an App Link. + */ +@protocol BFAppLinkReturnToRefererViewDelegate + +/*! + Called when the user has tapped inside the close button. + */ +- (void)returnToRefererViewDidTapInsideCloseButton:(BFAppLinkReturnToRefererView *)view; + +/*! + Called when the user has tapped inside the App Link portion of the view. + */ +- (void)returnToRefererViewDidTapInsideLink:(BFAppLinkReturnToRefererView *)view + link:(BFAppLink *)link; + +@end + +/*! + Provides a UIView that displays a button allowing users to navigate back to the + application that launched the App Link currently being handled, if the App Link + contained referer data. The user can also close the view by clicking a close button + rather than navigating away. If the view is provided an App Link that does not contain + referer data, it will have zero size and no UI will be displayed. + */ +@interface BFAppLinkReturnToRefererView : UIView + +/*! + The delegate that will be notified when the user navigates back to the referer. + */ +@property (nonatomic, weak) id delegate; + +/*! + The color of the text label and close button. + */ +@property (nonatomic, strong) UIColor *textColor; + +@property (nonatomic, strong) BFAppLink *refererAppLink; + +/*! + Indicates whether to extend the size of the view to include the current status bar + size, for use in scenarios where the view might extend under the status bar on iOS 7 and + above; this property has no effect on earlier versions of iOS. + */ +@property (nonatomic, assign) BFIncludeStatusBarInSize includeStatusBarInSize; + +/*! + Indicates whether the user has closed the view by clicking the close button. + */ +@property (nonatomic, assign) BOOL closed; + +/*! + For apps that use a navigation controller, this method allows for displaying the view as + a banner above the navigation bar of the navigation controller. It will listen for orientation + change and other events to ensure it stays properly positioned above the nevigation bar. + If this method is called from, e.g., viewDidAppear, its counterpart, detachFromMainWindow should + be called from, e.g., viewWillDisappear. + */ +//- (void)attachToMainWindowAboveNavigationController:(UINavigationController *)navigationController view:(UIView *)view; + +/*! + Indicates that the view should no longer position itself above a navigation bar. + */ +//- (void)detachFromMainWindow; + +@end diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFAppLinkTarget.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFAppLinkTarget.h new file mode 100644 index 00000000..61721269 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFAppLinkTarget.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) 2014, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + +#import + +/*! + Represents a target defined in App Link metadata, consisting of at least + a URL, and optionally an App Store ID and name. + */ +@interface BFAppLinkTarget : NSObject + +/*! Creates a BFAppLinkTarget with the given app site and target URL. */ ++ (instancetype)appLinkTargetWithURL:(NSURL *)url + appStoreId:(NSString *)appStoreId + appName:(NSString *)appName; + +/*! The URL prefix for this app link target */ +@property (nonatomic, strong, readonly) NSURL *URL; + +/*! The app ID for the app store */ +@property (nonatomic, copy, readonly) NSString *appStoreId; + +/*! The name of the app */ +@property (nonatomic, copy, readonly) NSString *appName; + +@end diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFExecutor.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFExecutor.h new file mode 100644 index 00000000..02af9ba2 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFExecutor.h @@ -0,0 +1,58 @@ +/* + * Copyright (c) 2014, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + +#import + +/*! + An object that can run a given block. + */ +@interface BFExecutor : NSObject + +/*! + Returns a default executor, which runs continuations immediately until the call stack gets too + deep, then dispatches to a new GCD queue. + */ ++ (instancetype)defaultExecutor; + +/*! + Returns an executor that runs continuations on the thread where the previous task was completed. + */ ++ (instancetype)immediateExecutor; + +/*! + Returns an executor that runs continuations on the main thread. + */ ++ (instancetype)mainThreadExecutor; + +/*! + Returns a new executor that uses the given block to execute continuations. + @param block The block to use. + */ ++ (instancetype)executorWithBlock:(void(^)(void(^block)()))block; + +/*! + Returns a new executor that runs continuations on the given queue. + @param queue The instance of `dispatch_queue_t` to dispatch all continuations onto. + */ ++ (instancetype)executorWithDispatchQueue:(dispatch_queue_t)queue; + +/*! + Returns a new executor that runs continuations on the given queue. + @param queue The instance of `NSOperationQueue` to run all continuations on. + */ ++ (instancetype)executorWithOperationQueue:(NSOperationQueue *)queue; + +/*! + Runs the given block using this executor's particular strategy. + @param block The block to execute. + */ +- (void)execute:(void(^)())block; + +@end diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFMeasurementEvent.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFMeasurementEvent.h new file mode 100644 index 00000000..7a9948c3 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFMeasurementEvent.h @@ -0,0 +1,46 @@ +/* + * Copyright (c) 2014, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + +#import + +/*! The name of the notification posted by BFMeasurementEvent */ +FOUNDATION_EXPORT NSString *const BFMeasurementEventNotificationName; + +/*! Defines keys in the userInfo object for the notification named BFMeasurementEventNotificationName */ +/*! The string field for the name of the event */ +FOUNDATION_EXPORT NSString *const BFMeasurementEventNameKey; +/*! The dictionary field for the arguments of the event */ +FOUNDATION_EXPORT NSString *const BFMeasurementEventArgsKey; + + +/*! Bolts Events raised by BFMeasurementEvent for Applink */ +/*! + The name of the event posted when [BFURL URLWithURL:] is called successfully. This represents the successful parsing of an app link URL. + */ +FOUNDATION_EXPORT NSString *const BFAppLinkParseEventName; + +/*! + The name of the event posted when [BFURL URLWithInboundURL:] is called successfully. + This represents parsing an inbound app link URL from a different application + */ +FOUNDATION_EXPORT NSString *const BFAppLinkNavigateInEventName; + +/*! The event raised when the user navigates from your app to other apps */ +FOUNDATION_EXPORT NSString *const BFAppLinkNavigateOutEventName; + +/*! + The event raised when the user navigates out from your app and back to the referrer app. + e.g when the user leaves your app after tapping the back-to-referrer navigation bar + */ +FOUNDATION_EXPORT NSString *const BFAppLinkNavigateBackToReferrerEventName; + +@interface BFMeasurementEvent : NSObject + +@end diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFTask.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFTask.h new file mode 100644 index 00000000..2ac84d60 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFTask.h @@ -0,0 +1,166 @@ +/* + * Copyright (c) 2014, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + +#import + +@class BFExecutor; +@class BFTask; + +/*! + A block that can act as a continuation for a task. + */ +typedef id(^BFContinuationBlock)(BFTask *task); + +/*! + The consumer view of a Task. A BFTask has methods to + inspect the state of the task, and to add continuations to + be run once the task is complete. + */ +@interface BFTask : NSObject + +/*! + Creates a task that is already completed with the given result. + @param result The result for the task. + */ ++ (instancetype)taskWithResult:(id)result; + +/*! + Creates a task that is already completed with the given error. + @param error The error for the task. + */ ++ (instancetype)taskWithError:(NSError *)error; + +/*! + Creates a task that is already completed with the given exception. + @param exception The exception for the task. + */ ++ (instancetype)taskWithException:(NSException *)exception; + +/*! + Creates a task that is already cancelled. + */ ++ (instancetype)cancelledTask; + +/*! + Returns a task that will be completed (with result == nil) once + all of the input tasks have completed. + @param tasks An `NSArray` of the tasks to use as an input. + */ ++ (instancetype)taskForCompletionOfAllTasks:(NSArray *)tasks; + +/*! + Returns a task that will be completed a certain amount of time in the future. + @param millis The approximate number of milliseconds to wait before the + task will be finished (with result == nil). + */ ++ (instancetype)taskWithDelay:(int)millis; + +/*! + Returns a task that will be completed after the given block completes with + the specified executor. + @param executor A BFExecutor responsible for determining how the + continuation block will be run. + @param block The block to immediately schedule to run with the given executor. + @returns A task that will be completed after block has run. + If block returns a BFTask, then the task returned from + this method will not be completed until that task is completed. + */ ++ (instancetype)taskFromExecutor:(BFExecutor *)executor + withBlock:(id (^)())block; + +// Properties that will be set on the task once it is completed. + +/*! + The result of a successful task. + */ +@property (nonatomic, strong, readonly) id result; + + +/*! + The error of a failed task. + */ +@property (nonatomic, strong, readonly) NSError *error; + +/*! + The exception of a failed task. + */ +@property (nonatomic, strong, readonly) NSException *exception; + +/*! + Whether this task has been cancelled. + */ +@property (nonatomic, assign, readonly, getter = isCancelled) BOOL cancelled; + +/*! + Whether this task has completed. + */ +@property (nonatomic, assign, readonly, getter = isCompleted) BOOL completed; + +/*! + Enqueues the given block to be run once this task is complete. + This method uses a default execution strategy. The block will be + run on the thread where the previous task completes, unless the + the stack depth is too deep, in which case it will be run on a + dispatch queue with default priority. + @param block The block to be run once this task is complete. + @returns A task that will be completed after block has run. + If block returns a BFTask, then the task returned from + this method will not be completed until that task is completed. + */ +- (instancetype)continueWithBlock:(BFContinuationBlock)block; + +/*! + Enqueues the given block to be run once this task is complete. + @param executor A BFExecutor responsible for determining how the + continuation block will be run. + @param block The block to be run once this task is complete. + @returns A task that will be completed after block has run. + If block returns a BFTask, then the task returned from + this method will not be completed until that task is completed. + */ +- (instancetype)continueWithExecutor:(BFExecutor *)executor + withBlock:(BFContinuationBlock)block; + +/*! + Identical to continueWithBlock:, except that the block is only run + if this task did not produce a cancellation, error, or exception. + If it did, then the failure will be propagated to the returned + task. + @param block The block to be run once this task is complete. + @returns A task that will be completed after block has run. + If block returns a BFTask, then the task returned from + this method will not be completed until that task is completed. + */ +- (instancetype)continueWithSuccessBlock:(BFContinuationBlock)block; + +/*! + Identical to continueWithExecutor:withBlock:, except that the block + is only run if this task did not produce a cancellation, error, or + exception. If it did, then the failure will be propagated to the + returned task. + @param executor A BFExecutor responsible for determining how the + continuation block will be run. + @param block The block to be run once this task is complete. + @returns A task that will be completed after block has run. + If block returns a BFTask, then the task returned from + this method will not be completed until that task is completed. + */ +- (instancetype)continueWithExecutor:(BFExecutor *)executor + withSuccessBlock:(BFContinuationBlock)block; + +/*! + Waits until this operation is completed. + This method is inefficient and consumes a thread resource while + it's running. It should be avoided. This method logs a warning + message if it is used on the main thread. + */ +- (void)waitUntilFinished; + +@end diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFTaskCompletionSource.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFTaskCompletionSource.h new file mode 100644 index 00000000..d0ea545d --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFTaskCompletionSource.h @@ -0,0 +1,85 @@ +/* + * Copyright (c) 2014, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + +#import + +@class BFTask; + +/*! + A BFTaskCompletionSource represents the producer side of tasks. + It is a task that also has methods for changing the state of the + task by settings its completion values. + */ +@interface BFTaskCompletionSource : NSObject + +/*! + Creates a new unfinished task. + */ ++ (instancetype)taskCompletionSource; + +/*! + The task associated with this TaskCompletionSource. + */ +@property (nonatomic, retain, readonly) BFTask *task; + +/*! + Completes the task by setting the result. + Attempting to set this for a completed task will raise an exception. + @param result The result of the task. + */ +- (void)setResult:(id)result; + +/*! + Completes the task by setting the error. + Attempting to set this for a completed task will raise an exception. + @param error The error for the task. + */ +- (void)setError:(NSError *)error; + +/*! + Completes the task by setting an exception. + Attempting to set this for a completed task will raise an exception. + @param exception The exception for the task. + */ +- (void)setException:(NSException *)exception; + +/*! + Completes the task by marking it as cancelled. + Attempting to set this for a completed task will raise an exception. + */ +- (void)cancel; + +/*! + Sets the result of the task if it wasn't already completed. + @returns whether the new value was set. + */ +- (BOOL)trySetResult:(id)result; + +/*! + Sets the error of the task if it wasn't already completed. + @param error The error for the task. + @returns whether the new value was set. + */ +- (BOOL)trySetError:(NSError *)error; + +/*! + Sets the exception of the task if it wasn't already completed. + @param exception The exception for the task. + @returns whether the new value was set. + */ +- (BOOL)trySetException:(NSException *)exception; + +/*! + Sets the cancellation state of the task if it wasn't already completed. + @returns whether the new value was set. + */ +- (BOOL)trySetCancelled; + +@end diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFURL.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFURL.h new file mode 100644 index 00000000..f269e2d1 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFURL.h @@ -0,0 +1,77 @@ +/* + * Copyright (c) 2014, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + +#import + + + +@class BFAppLink; + +/*! + Provides a set of utilities for working with NSURLs, such as parsing of query parameters + and handling for App Link requests. + */ +@interface BFURL : NSObject + +/*! + Creates a link target from a raw URL. + On success, this posts the BFAppLinkParseEventName measurement event. If you are constructing the BFURL within your application delegate's + application:openURL:sourceApplication:annotation:, you should instead use URLWithInboundURL:sourceApplication: + to support better BFMeasurementEvent notifications + @param url The instance of `NSURL` to create BFURL from. + */ ++ (BFURL *)URLWithURL:(NSURL *)url; + +/*! + Creates a link target from a raw URL received from an external application. This is typically called from the app delegate's + application:openURL:sourceApplication:annotation: and will post the BFAppLinkNavigateInEventName measurement event. + @param url The instance of `NSURL` to create BFURL from. + @param sourceApplication the bundle ID of the app that is requesting your app to open the URL. The same sourceApplication in application:openURL:sourceApplication:annotation: +*/ ++ (BFURL *)URLWithInboundURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication; + +/*! + Gets the target URL. If the link is an App Link, this is the target of the App Link. + Otherwise, it is the url that created the target. + */ +@property (nonatomic, strong, readonly) NSURL *targetURL; + +/*! + Gets the query parameters for the target, parsed into an NSDictionary. + */ +@property (nonatomic, strong, readonly) NSDictionary *targetQueryParameters; + +/*! + If this link target is an App Link, this is the data found in al_applink_data. + Otherwise, it is nil. + */ +@property (nonatomic, strong, readonly) NSDictionary *appLinkData; + +/*! + If this link target is an App Link, this is the data found in extras. + */ +@property (nonatomic, strong, readonly) NSDictionary *appLinkExtras; + +/*! + The App Link indicating how to navigate back to the referer app, if any. + */ +@property (nonatomic, strong, readonly) BFAppLink *appLinkReferer; + +/*! + The URL that was used to create this BFURL. + */ +@property (nonatomic, strong, readonly) NSURL *inputURL; + +/*! + The query parameters of the inputURL, parsed into an NSDictionary. + */ +@property (nonatomic, strong, readonly) NSDictionary *inputQueryParameters; + +@end diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFWebViewAppLinkResolver.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFWebViewAppLinkResolver.h new file mode 100644 index 00000000..cffa5292 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BFWebViewAppLinkResolver.h @@ -0,0 +1,26 @@ +/* + * Copyright (c) 2014, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + +#import + +#import + +/*! + A reference implementation for an App Link resolver that uses a hidden UIWebView + to parse the HTML containing App Link metadata. + */ +@interface BFWebViewAppLinkResolver : NSObject + +/*! + Gets the instance of a BFWebViewAppLinkResolver. + */ ++ (instancetype)sharedInstance; + +@end diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/Bolts.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/Bolts.h new file mode 100644 index 00000000..e22bdd54 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/Bolts.h @@ -0,0 +1,37 @@ +/* + * Copyright (c) 2014, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + +#import +#import +#import +#import + +#if TARGET_OS_IPHONE +#import +#import +#import +#import +#import +#import +#import +#endif + +/*! @abstract 80175001: There were multiple errors. */ +extern NSInteger const kBFMultipleErrorsError; + +@interface Bolts : NSObject + +/*! + Returns the version of the Bolts Framework as an NSString. + @returns The NSString representation of the current version. + */ ++ (NSString *)version; + +@end diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BoltsVersion.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BoltsVersion.h new file mode 100644 index 00000000..24e802ed --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/A/Headers/BoltsVersion.h @@ -0,0 +1 @@ +#define BOLTS_VERSION @"1.1.3" diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/Current b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/Current new file mode 120000 index 00000000..044dcb92 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Bolts.framework/Versions/Current @@ -0,0 +1 @@ +./A \ No newline at end of file diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFACL.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFACL.h new file mode 100644 index 00000000..aa05ebbb --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFACL.h @@ -0,0 +1,255 @@ +// +// PFACL.h +// +// Copyright 2011-present Parse Inc. All rights reserved. +// + +#import + +@class PFRole; +@class PFUser; + +/*! + The `PFACL` class is used to control which users can access or modify a particular object. + Each can have its own `PFACL`. You can grant read and write permissions separately to specific users, + to groups of users that belong to roles, or you can grant permissions to "the public" so that, + for example, any user could read a particular object but only a particular set of users could write to that object. + */ +@interface PFACL : NSObject + +///-------------------------------------- +/// @name Creating an ACL +///-------------------------------------- + +/*! + @abstract Creates an ACL with no permissions granted. + + @returns Returns a new `PFACL`. + */ ++ (PFACL *)ACL; + +/*! + @abstract Creates an ACL where only the provided user has access. + + @param user The user to assign access. + */ ++ (PFACL *)ACLWithUser:(PFUser *)user; + +///-------------------------------------- +/// @name Controlling Public Access +///-------------------------------------- + +/*! + @abstract Set whether the public is allowed to read this object. + + @param allowed Whether the public can read this object. + */ +- (void)setPublicReadAccess:(BOOL)allowed; + +/*! + @abstract Gets whether the public is allowed to read this object. + + @returns `YES` if the public read access is enabled, otherwise `NO`. + */ +- (BOOL)getPublicReadAccess; + +/*! + @abstract Set whether the public is allowed to write this object. + + @param allowed Whether the public can write this object. + */ +- (void)setPublicWriteAccess:(BOOL)allowed; + +/*! + @abstract Gets whether the public is allowed to write this object. + + @returns `YES` if the public write access is enabled, otherwise `NO`. + */ +- (BOOL)getPublicWriteAccess; + +///-------------------------------------- +/// @name Controlling Access Per-User +///-------------------------------------- + +/*! + @abstract Set whether the given user id is allowed to read this object. + + @param allowed Whether the given user can write this object. + @param userId The <[PFObject objectId]> of the user to assign access. + */ +- (void)setReadAccess:(BOOL)allowed forUserId:(NSString *)userId; + +/*! + @abstract Gets whether the given user id is *explicitly* allowed to read this object. + Even if this returns `NO`, the user may still be able to access it if returns `YES` + or if the user belongs to a role that has access. + + @param userId The <[PFObject objectId]> of the user for which to retrive access. + + @returns `YES` if the user with this `objectId` has *explicit* read access, otherwise `NO`. + */ +- (BOOL)getReadAccessForUserId:(NSString *)userId; + +/*! + @abstract Set whether the given user id is allowed to write this object. + + @param allowed Whether the given user can read this object. + @param userId The `objectId` of the user to assign access. + */ +- (void)setWriteAccess:(BOOL)allowed forUserId:(NSString *)userId; + +/*! + @abstract Gets whether the given user id is *explicitly* allowed to write this object. + Even if this returns NO, the user may still be able to write it if returns `YES` + or if the user belongs to a role that has access. + + @param userId The <[PFObject objectId]> of the user for which to retrive access. + + @returns `YES` if the user with this `objectId` has *explicit* write access, otherwise `NO`. + */ +- (BOOL)getWriteAccessForUserId:(NSString *)userId; + +/*! + @abstract Set whether the given user is allowed to read this object. + + @param allowed Whether the given user can read this object. + @param user The user to assign access. + */ +- (void)setReadAccess:(BOOL)allowed forUser:(PFUser *)user; + +/*! + @abstract Gets whether the given user is *explicitly* allowed to read this object. + Even if this returns `NO`, the user may still be able to access it if returns `YES` + or if the user belongs to a role that has access. + + @param user The user for which to retrive access. + + @returns `YES` if the user has *explicit* read access, otherwise `NO`. + */ +- (BOOL)getReadAccessForUser:(PFUser *)user; + +/*! + @abstract Set whether the given user is allowed to write this object. + + @param allowed Whether the given user can write this object. + @param user The user to assign access. + */ +- (void)setWriteAccess:(BOOL)allowed forUser:(PFUser *)user; + +/*! + @abstract Gets whether the given user is *explicitly* allowed to write this object. + Even if this returns `NO`, the user may still be able to write it if returns `YES` + or if the user belongs to a role that has access. + + @param user The user for which to retrive access. + + @returns `YES` if the user has *explicit* write access, otherwise `NO`. + */ +- (BOOL)getWriteAccessForUser:(PFUser *)user; + +///-------------------------------------- +/// @name Controlling Access Per-Role +///-------------------------------------- + +/*! + @abstract Get whether users belonging to the role with the given name are allowed to read this object. + Even if this returns `NO`, the role may still be able to read it if a parent role has read access. + + @param name The name of the role. + + @returns `YES` if the role has read access, otherwise `NO`. + */ +- (BOOL)getReadAccessForRoleWithName:(NSString *)name; + +/*! + @abstract Set whether users belonging to the role with the given name are allowed to read this object. + + @param allowed Whether the given role can read this object. + @param name The name of the role. + */ +- (void)setReadAccess:(BOOL)allowed forRoleWithName:(NSString *)name; + +/*! + @abstract Get whether users belonging to the role with the given name are allowed to write this object. + Even if this returns `NO`, the role may still be able to write it if a parent role has write access. + + @param name The name of the role. + + @returns `YES` if the role has read access, otherwise `NO`. + */ +- (BOOL)getWriteAccessForRoleWithName:(NSString *)name; + +/*! + @abstract Set whether users belonging to the role with the given name are allowed to write this object. + + @param allowed Whether the given role can write this object. + @param name The name of the role. + */ +- (void)setWriteAccess:(BOOL)allowed forRoleWithName:(NSString *)name; + +/*! + @abstract Get whether users belonging to the given role are allowed to read this object. + Even if this returns `NO`, the role may still be able to read it if a parent role has read access. + + @discussion The role must already be saved on the server and + it's data must have been fetched in order to use this method. + + @param role The name of the role. + + @returns `YES` if the role has read access, otherwise `NO`. + */ +- (BOOL)getReadAccessForRole:(PFRole *)role; + +/*! + @abstract Set whether users belonging to the given role are allowed to read this object. + + @discussion The role must already be saved on the server and + it's data must have been fetched in order to use this method. + + @param allowed Whether the given role can read this object. + @param role The role to assign access. + */ +- (void)setReadAccess:(BOOL)allowed forRole:(PFRole *)role; + +/*! + @abstract Get whether users belonging to the given role are allowed to write this object. + Even if this returns `NO`, the role may still be able to write it if a parent role has write access. + + @discussion The role must already be saved on the server and + it's data must have been fetched in order to use this method. + + @param role The name of the role. + + @returns `YES` if the role has write access, otherwise `NO`. + */ +- (BOOL)getWriteAccessForRole:(PFRole *)role; + +/*! + @abstract Set whether users belonging to the given role are allowed to write this object. + + @discussion The role must already be saved on the server and + it's data must have been fetched in order to use this method. + + @param allowed Whether the given role can write this object. + @param role The role to assign access. + */ +- (void)setWriteAccess:(BOOL)allowed forRole:(PFRole *)role; + +///-------------------------------------- +/// @name Setting Access Defaults +///-------------------------------------- + +/*! + @abstract Sets a default ACL that will be applied to all instances of when they are created. + + @param acl The ACL to use as a template for all instance of created after this method has been called. + This value will be copied and used as a template for the creation of new ACLs, so changes to the + instance after this method has been called will not be reflected in new instance of . + @param currentUserAccess - If `YES`, the `PFACL` that is applied to newly-created instance of will + provide read and write access to the <[PFUser currentUser]> at the time of creation. + - If `NO`, the provided `acl` will be used without modification. + - If `acl` is `nil`, this value is ignored. + */ ++ (void)setDefaultACL:(PFACL *)acl withAccessForCurrentUser:(BOOL)currentUserAccess; + +@end diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFAnalytics.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFAnalytics.h new file mode 100644 index 00000000..3068a629 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFAnalytics.h @@ -0,0 +1,160 @@ +// +// PFAnalytics.h +// +// Copyright 2011-present Parse Inc. All rights reserved. +// + +#import + +#if TARGET_OS_IPHONE +#import +#else +#import +#endif + +@class BFTask; + +/*! + `PFAnalytics` provides an interface to Parse's logging and analytics backend. + + Methods will return immediately and cache the request (+ timestamp) to be + handled "eventually." That is, the request will be sent immediately if possible + or the next time a network connection is available. + */ +@interface PFAnalytics : NSObject + +///-------------------------------------- +/// @name App-Open / Push Analytics +///-------------------------------------- + +/*! + @abstract Tracks this application being launched. If this happened as the result of the + user opening a push notification, this method sends along information to + correlate this open with that push. + + @discussion Pass in `nil` to track a standard "application opened" event. + + @param launchOptions The `NSDictionary` indicating the reason the application was + launched, if any. This value can be found as a parameter to various + `UIApplicationDelegate` methods, and can be empty or `nil`. + + @returns Returns the task encapsulating the work being done. + */ ++ (BFTask *)trackAppOpenedWithLaunchOptions:(NSDictionary *)launchOptions; + +/*! + @abstract Tracks this application being launched. + If this happened as the result of the user opening a push notification, + this method sends along information to correlate this open with that push. + + @discussion Pass in `nil` to track a standard "application opened" event. + + @param launchOptions The dictionary indicating the reason the application was + launched, if any. This value can be found as a parameter to various + `UIApplicationDelegate` methods, and can be empty or `nil`. + @param block The block to execute on server response. + It should have the following argument signature: `^(BOOL succeeded, NSError *error)` + */ ++ (void)trackAppOpenedWithLaunchOptionsInBackground:(NSDictionary *)launchOptions block:(PFBooleanResultBlock)block; + +/*! + @abstract Tracks this application being launched. If this happened as the result of the + user opening a push notification, this method sends along information to + correlate this open with that push. + + @param userInfo The Remote Notification payload, if any. This value can be + found either under `UIApplicationLaunchOptionsRemoteNotificationKey` on `launchOptions`, + or as a parameter to `application:didReceiveRemoteNotification:`. + This can be empty or `nil`. + + @returns Returns the task encapsulating the work being done. + */ ++ (BFTask *)trackAppOpenedWithRemoteNotificationPayload:(NSDictionary *)userInfo; + +/*! + @abstract Tracks this application being launched. If this happened as the result of the + user opening a push notification, this method sends along information to + correlate this open with that push. + + @param userInfo The Remote Notification payload, if any. This value can be + found either under `UIApplicationLaunchOptionsRemoteNotificationKey` on `launchOptions`, + or as a parameter to `application:didReceiveRemoteNotification:`. This can be empty or `nil`. + @param block The block to execute on server response. + It should have the following argument signature: `^(BOOL succeeded, NSError *error)` + */ ++ (void)trackAppOpenedWithRemoteNotificationPayloadInBackground:(NSDictionary *)userInfo + block:(PFBooleanResultBlock)block; + +///-------------------------------------- +/// @name Custom Analytics +///-------------------------------------- + +/*! + @abstract Tracks the occurrence of a custom event. + + @discussion Parse will store a data point at the time of invocation with the given event name. + + @param name The name of the custom event to report to Parse as having happened. + + @returns Returns the task encapsulating the work being done. + */ ++ (BFTask *)trackEvent:(NSString *)name; + +/*! + @abstract Tracks the occurrence of a custom event. Parse will store a data point at the + time of invocation with the given event name. The event will be sent at some + unspecified time in the future, even if Parse is currently inaccessible. + + @param name The name of the custom event to report to Parse as having happened. + @param block The block to execute on server response. + It should have the following argument signature: `^(BOOL succeeded, NSError *error)` + */ ++ (void)trackEventInBackground:(NSString *)name block:(PFBooleanResultBlock)block; + +/*! + @abstract Tracks the occurrence of a custom event with additional dimensions. Parse will + store a data point at the time of invocation with the given event name. + + @discussion Dimensions will allow segmentation of the occurrences of this custom event. + Keys and values should be NSStrings, and will throw otherwise. + + To track a user signup along with additional metadata, consider the following: + + NSDictionary *dimensions = @{ @"gender": @"m", + @"source": @"web", + @"dayType": @"weekend" }; + [PFAnalytics trackEvent:@"signup" dimensions:dimensions]; + + @warning There is a default limit of 8 dimensions per event tracked. + + @param name The name of the custom event to report to Parse as having happened. + @param dimensions The `NSDictionary` of information by which to segment this event. + + @returns Returns the task encapsulating the work being done. + */ ++ (BFTask *)trackEvent:(NSString *)name dimensions:(NSDictionary *)dimensions; + +/*! + @abstract Tracks the occurrence of a custom event with additional dimensions. Parse will + store a data point at the time of invocation with the given event name. The + event will be sent at some unspecified time in the future, even if Parse is currently inaccessible. + + @discussionDimensions will allow segmentation of the occurrences of this custom event. + Keys and values should be NSStrings, and will throw otherwise. + + To track a user signup along with additional metadata, consider the following: + NSDictionary *dimensions = @{ @"gender": @"m", + @"source": @"web", + @"dayType": @"weekend" }; + [PFAnalytics trackEvent:@"signup" dimensions:dimensions]; + + There is a default limit of 8 dimensions per event tracked. + + @param name The name of the custom event to report to Parse as having happened. + @param dimensions The `NSDictionary` of information by which to segment this event. + @param block The block to execute on server response. + It should have the following argument signature: `^(BOOL succeeded, NSError *error)` + */ ++ (void)trackEventInBackground:(NSString *)name dimensions:(NSDictionary *)dimensions block:(PFBooleanResultBlock)block; + +@end diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFAnonymousUtils.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFAnonymousUtils.h new file mode 100644 index 00000000..de5cf7de --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFAnonymousUtils.h @@ -0,0 +1,78 @@ +// +// PFAnonymousUtils.h +// +// Copyright 2011-present Parse Inc. All rights reserved. +// + +#import + +#if TARGET_OS_IPHONE +#import +#import +#else +#import +#import +#endif + +/*! + Provides utility functions for working with Anonymously logged-in users. + Anonymous users have some unique characteristics: + + - Anonymous users don't need a user name or password. + - Once logged out, an anonymous user cannot be recovered. + - When the current user is anonymous, the following methods can be used to switch + to a different user or convert the anonymous user into a regular one: + - signUp converts an anonymous user to a standard user with the given username and password. + Data associated with the anonymous user is retained. + - logIn switches users without converting the anonymous user. + Data associated with the anonymous user will be lost. + - Service logIn (e.g. Facebook, Twitter) will attempt to convert + the anonymous user into a standard user by linking it to the service. + If a user already exists that is linked to the service, it will instead switch to the existing user. + - Service linking (e.g. Facebook, Twitter) will convert the anonymous user + into a standard user by linking it to the service. + */ +@interface PFAnonymousUtils : NSObject + +///-------------------------------------- +/// @name Creating an Anonymous User +///-------------------------------------- + +/*! + @abstract Creates an anonymous user asynchronously and sets as a result to `BFTask`. + + @returns The task, that encapsulates the work being done. + */ ++ (BFTask *)logInInBackground; + +/*! + @abstract Creates an anonymous user. + + @param block The block to execute when anonymous user creation is complete. + It should have the following argument signature: `^(PFUser *user, NSError *error)`. + */ ++ (void)logInWithBlock:(PFUserResultBlock)block; + +/* + @abstract Creates an anonymous user. + + @param target Target object for the selector. + @param selector The selector that will be called when the asynchronous request is complete. + It should have the following signature: `(void)callbackWithUser:(PFUser *)user error:(NSError *)error`. + */ ++ (void)logInWithTarget:(id)target selector:(SEL)selector; + +///-------------------------------------- +/// @name Determining Whether a User is Anonymous +///-------------------------------------- + +/*! + @abstract Whether the object is logged in anonymously. + + @param user object to check for anonymity. The user must be logged in on this device. + + @returns `YES` if the user is anonymous. `NO` if the user is not the current user or is not anonymous. + */ ++ (BOOL)isLinkedWithUser:(PFUser *)user; + +@end diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFCloud.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFCloud.h new file mode 100644 index 00000000..6326ead6 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFCloud.h @@ -0,0 +1,84 @@ +// +// PFCloud.h +// +// Copyright 2011-present Parse Inc. All rights reserved. +// + +#import + +#if TARGET_OS_IPHONE +#import +#else +#import +#endif + +@class BFTask; + +/*! + The `PFCloud` class provides methods for interacting with Parse Cloud Functions. + */ +@interface PFCloud : NSObject + +/*! + @abstract Calls the given cloud function *synchronously* with the parameters provided. + + @param function The function name to call. + @param parameters The parameters to send to the function. + + @returns The response from the cloud function. + */ ++ (id)callFunction:(NSString *)function withParameters:(NSDictionary *)parameters; + +/*! + @abstract Calls the given cloud function *synchronously* with the parameters provided and + sets the error if there is one. + + @param function The function name to call. + @param parameters The parameters to send to the function. + @param error Pointer to an `NSError` that will be set if necessary. + + @returns The response from the cloud function. + This result could be a `NSDictionary`, an `NSArray`, `NSNumber` or `NSString`. + */ ++ (id)callFunction:(NSString *)function withParameters:(NSDictionary *)parameters error:(NSError **)error; + +/*! + @abstract Calls the given cloud function *asynchronously* with the parameters provided. + + @param function The function name to call. + @param parameters The parameters to send to the function. + + @returns The task, that encapsulates the work being done. + */ ++ (BFTask *)callFunctionInBackground:(NSString *)function withParameters:(NSDictionary *)parameters; + +/*! + @abstract Calls the given cloud function *asynchronously* with the parameters provided + and executes the given block when it is done. + + @param function The function name to call. + @param parameters The parameters to send to the function. + @param block The block to execute when the function call finished. + It should have the following argument signature: `^(id result, NSError *error)`. + */ ++ (void)callFunctionInBackground:(NSString *)function + withParameters:(NSDictionary *)parameters + block:(PFIdResultBlock)block; + +/* + @abstract Calls the given cloud function *asynchronously* with the parameters provided + and then executes the given selector when it is done. + + @param function The function name to call. + @param parameters The parameters to send to the function. + @param target The object to call the selector on. + @param selector The selector to call when the function call finished. + It should have the following signature: `(void)callbackWithResult:(id)result error:(NSError *)error`. + Result will be `nil` if error is set and vice versa. + */ ++ (void)callFunctionInBackground:(NSString *)function + withParameters:(NSDictionary *)parameters + target:(id)target + selector:(SEL)selector; + +@end diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFConfig.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFConfig.h new file mode 100644 index 00000000..e1afbe3e --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFConfig.h @@ -0,0 +1,95 @@ +// +// PFConfig.h +// +// Copyright 2011-present Parse Inc. All rights reserved. +// + +#import + +@class BFTask; +@class PFConfig; + +typedef void(^PFConfigResultBlock)(PFConfig *config, NSError *error); + +/*! + `PFConfig` is a representation of the remote configuration object. + It enables you to add things like feature gating, a/b testing or simple "Message of the day". +*/ +@interface PFConfig : NSObject + +///-------------------------------------- +/// @name Current Config +///-------------------------------------- + +/*! + @abstract Returns the most recently fetched config. + + @discussion If there was no config fetched - this method will return an empty instance of `PFConfig`. + + @returns Current, last fetched instance of PFConfig. + */ ++ (PFConfig *)currentConfig; + +///-------------------------------------- +/// @name Retrieving Config +///-------------------------------------- + +/*! + @abstract Gets the `PFConfig` object *synchronously* from the server. + + @returns Instance of `PFConfig` if the operation succeeded, otherwise `nil`. + */ ++ (PFConfig *)getConfig; + +/*! + @abstract Gets the `PFConfig` object *synchronously* from the server and sets an error if it occurs. + + @param error Pointer to an `NSError` that will be set if necessary. + + @returns Instance of PFConfig if the operation succeeded, otherwise `nil`. + */ ++ (PFConfig *)getConfig:(NSError **)error; + +/*! + @abstract Gets the `PFConfig` *asynchronously* and sets it as a result of a task. + + @returns The task, that encapsulates the work being done. + */ ++ (BFTask *)getConfigInBackground; + +/*! + @abstract Gets the `PFConfig` *asynchronously* and executes the given callback block. + + @param block The block to execute. + It should have the following argument signature: `^(PFConfig *config, NSError *error)`. + */ ++ (void)getConfigInBackgroundWithBlock:(PFConfigResultBlock)block; + +///-------------------------------------- +/// @name Parameters +///-------------------------------------- + +/*! + @abstract Returns the object associated with a given key. + + @param key The key for which to return the corresponding configuration value. + + @returns The value associated with `key`, or `nil` if there is no such value. + */ +- (id)objectForKey:(NSString *)key; + +/*! + @abstract Returns the object associated with a given key. + + @discussion This method enables usage of literal syntax on `PFConfig`. + E.g. `NSString *value = config[@"key"];` + + @see objectForKey: + + @param keyedSubscript The keyed subscript for which to return the corresponding configuration value. + + @returns The value associated with `key`, or `nil` if there is no such value. + */ +- (id)objectForKeyedSubscript:(NSString *)keyedSubscript; + +@end diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFConstants.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFConstants.h new file mode 100644 index 00000000..238f3a91 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFConstants.h @@ -0,0 +1,242 @@ +// PFConstants.h +// Copyright 2011 Parse, Inc. All rights reserved. + +#import + +@class PFObject; +@class PFUser; + +///-------------------------------------- +/// @name Version +///-------------------------------------- + +#define PARSE_VERSION @"1.6.1" + +extern NSInteger const PARSE_API_VERSION; + +///-------------------------------------- +/// @name Platform +///-------------------------------------- + +#define PARSE_IOS_ONLY (TARGET_OS_IPHONE) +#define PARSE_OSX_ONLY (TARGET_OS_MAC && !(TARGET_OS_IPHONE)) + +extern NSString *const kPFDeviceType; + +#if PARSE_IOS_ONLY +#import +#else +#import +@compatibility_alias UIImage NSImage; +@compatibility_alias UIColor NSColor; +@compatibility_alias UIView NSView; +#endif + +///-------------------------------------- +/// @name Server +///-------------------------------------- + +extern NSString *const kPFParseServer; + +///-------------------------------------- +/// @name Cache Policies +///-------------------------------------- + +typedef enum { + kPFCachePolicyIgnoreCache = 0, + kPFCachePolicyCacheOnly, + kPFCachePolicyNetworkOnly, + kPFCachePolicyCacheElseNetwork, + kPFCachePolicyNetworkElseCache, + kPFCachePolicyCacheThenNetwork +} PFCachePolicy; + +///-------------------------------------- +/// @name Logging Levels +///-------------------------------------- + +/*! + `PFLogLevel` enum specifies different levels of logging that could be used to limit or display more messages in logs. + + @see [Parse setLogLevel:] + @see [Parse logLevel] + */ +typedef NS_ENUM(uint8_t, PFLogLevel) { + /*! + Log level that disables all logging. + */ + PFLogLevelNone = 0, + /*! + Log level that if set is going to output error messages to the log. + */ + PFLogLevelError = 1, + /*! + Log level that if set is going to output the following messages to log: + - Errors + - Warnings + */ + PFLogLevelWarning = 2, + /*! + Log level that if set is going to output the following messages to log: + - Errors + - Warnings + - Informational messages + */ + PFLogLevelInfo = 3, + /*! + Log level that if set is going to output the following messages to log: + - Errors + - Warnings + - Informational messages + - Debug messages + */ + PFLogLevelDebug = 4 +}; + +///-------------------------------------- +/// @name Errors +///-------------------------------------- + +extern NSString *const PFParseErrorDomain; + +/*! @abstract 1: Internal server error. No information available. */ +extern NSInteger const kPFErrorInternalServer; + +/*! @abstract 100: The connection to the Parse servers failed. */ +extern NSInteger const kPFErrorConnectionFailed; +/*! @abstract 101: Object doesn't exist, or has an incorrect password. */ +extern NSInteger const kPFErrorObjectNotFound; +/*! @abstract 102: You tried to find values matching a datatype that doesn't support exact database matching, like an array or a dictionary. */ +extern NSInteger const kPFErrorInvalidQuery; +/*! @abstract 103: Missing or invalid classname. Classnames are case-sensitive. They must start with a letter, and a-zA-Z0-9_ are the only valid characters. */ +extern NSInteger const kPFErrorInvalidClassName; +/*! @abstract 104: Missing object id. */ +extern NSInteger const kPFErrorMissingObjectId; +/*! @abstract 105: Invalid key name. Keys are case-sensitive. They must start with a letter, and a-zA-Z0-9_ are the only valid characters. */ +extern NSInteger const kPFErrorInvalidKeyName; +/*! @abstract 106: Malformed pointer. Pointers must be arrays of a classname and an object id. */ +extern NSInteger const kPFErrorInvalidPointer; +/*! @abstract 107: Malformed json object. A json dictionary is expected. */ +extern NSInteger const kPFErrorInvalidJSON; +/*! @abstract 108: Tried to access a feature only available internally. */ +extern NSInteger const kPFErrorCommandUnavailable; +/*! @abstract 111: Field set to incorrect type. */ +extern NSInteger const kPFErrorIncorrectType; +/*! @abstract 112: Invalid channel name. A channel name is either an empty string (the broadcast channel) or contains only a-zA-Z0-9_ characters and starts with a letter. */ +extern NSInteger const kPFErrorInvalidChannelName; +/*! @abstract 114: Invalid device token. */ +extern NSInteger const kPFErrorInvalidDeviceToken; +/*! @abstract 115: Push is misconfigured. See details to find out how. */ +extern NSInteger const kPFErrorPushMisconfigured; +/*! @abstract 116: The object is too large. */ +extern NSInteger const kPFErrorObjectTooLarge; +/*! @abstract 119: That operation isn't allowed for clients. */ +extern NSInteger const kPFErrorOperationForbidden; +/*! @abstract 120: The results were not found in the cache. */ +extern NSInteger const kPFErrorCacheMiss; +/*! @abstract 121: Keys in NSDictionary values may not include '$' or '.'. */ +extern NSInteger const kPFErrorInvalidNestedKey; +/*! @abstract 122: Invalid file name. A file name contains only a-zA-Z0-9_. characters and is between 1 and 36 characters. */ +extern NSInteger const kPFErrorInvalidFileName; +/*! @abstract 123: Invalid ACL. An ACL with an invalid format was saved. This should not happen if you use PFACL. */ +extern NSInteger const kPFErrorInvalidACL; +/*! @abstract 124: The request timed out on the server. Typically this indicates the request is too expensive. */ +extern NSInteger const kPFErrorTimeout; +/*! @abstract 125: The email address was invalid. */ +extern NSInteger const kPFErrorInvalidEmailAddress; +/*! @abstract 137: A unique field was given a value that is already taken. */ +extern NSInteger const kPFErrorDuplicateValue; +/*! @abstract 139: Role's name is invalid. */ +extern NSInteger const kPFErrorInvalidRoleName; +/*! @abstract 140: Exceeded an application quota. Upgrade to resolve. */ +extern NSInteger const kPFErrorExceededQuota; +/*! @abstract 141: Cloud Code script had an error. */ +extern NSInteger const kPFScriptError; +/*! @abstract 142: Cloud Code validation failed. */ +extern NSInteger const kPFValidationError; +/*! @abstract 143: Product purchase receipt is missing */ +extern NSInteger const kPFErrorReceiptMissing; +/*! @abstract 144: Product purchase receipt is invalid */ +extern NSInteger const kPFErrorInvalidPurchaseReceipt; +/*! @abstract 145: Payment is disabled on this device */ +extern NSInteger const kPFErrorPaymentDisabled; +/*! @abstract 146: The product identifier is invalid */ +extern NSInteger const kPFErrorInvalidProductIdentifier; +/*! @abstract 147: The product is not found in the App Store */ +extern NSInteger const kPFErrorProductNotFoundInAppStore; +/*! @abstract 148: The Apple server response is not valid */ +extern NSInteger const kPFErrorInvalidServerResponse; +/*! @abstract 149: Product fails to download due to file system error */ +extern NSInteger const kPFErrorProductDownloadFileSystemFailure; +/*! @abstract 150: Fail to convert data to image. */ +extern NSInteger const kPFErrorInvalidImageData; +/*! @abstract 151: Unsaved file. */ +extern NSInteger const kPFErrorUnsavedFile; +/*! @abstract 153: Fail to delete file. */ +extern NSInteger const kPFErrorFileDeleteFailure; +/*! @abstract 155: Application has exceeded its analytics request limit. */ +extern NSInteger const kPFErrorRequestLimitExceeded; +/*! @abstract 160: Invalid event name. */ +extern NSInteger const kPFErrorInvalidEventName; +/*! @abstract 200: Username is missing or empty */ +extern NSInteger const kPFErrorUsernameMissing; +/*! @abstract 201: Password is missing or empty */ +extern NSInteger const kPFErrorUserPasswordMissing; +/*! @abstract 202: Username has already been taken */ +extern NSInteger const kPFErrorUsernameTaken; +/*! @abstract 203: Email has already been taken */ +extern NSInteger const kPFErrorUserEmailTaken; +/*! @abstract 204: The email is missing, and must be specified */ +extern NSInteger const kPFErrorUserEmailMissing; +/*! @abstract 205: A user with the specified email was not found */ +extern NSInteger const kPFErrorUserWithEmailNotFound; +/*! @abstract 206: The user cannot be altered by a client without the session. */ +extern NSInteger const kPFErrorUserCannotBeAlteredWithoutSession; +/*! @abstract 207: Users can only be created through sign up */ +extern NSInteger const kPFErrorUserCanOnlyBeCreatedThroughSignUp; +/*! @abstract 208: An existing Facebook account already linked to another user. */ +extern NSInteger const kPFErrorFacebookAccountAlreadyLinked; +/*! @abstract 208: An existing account already linked to another user. */ +extern NSInteger const kPFErrorAccountAlreadyLinked; +/*! @abstract 209: User ID mismatch */ +extern NSInteger const kPFErrorUserIdMismatch; +/*! @abstract 250: Facebook id missing from request */ +extern NSInteger const kPFErrorFacebookIdMissing; +/*! @abstract 250: Linked id missing from request */ +extern NSInteger const kPFErrorLinkedIdMissing; +/*! @abstract 251: Invalid Facebook session */ +extern NSInteger const kPFErrorFacebookInvalidSession; +/*! @abstract 251: Invalid linked session */ +extern NSInteger const kPFErrorInvalidLinkedSession; + +///-------------------------------------- +/// @name Blocks +///-------------------------------------- + +typedef void (^PFBooleanResultBlock)(BOOL succeeded, NSError *error); +typedef void (^PFIntegerResultBlock)(int number, NSError *error); +typedef void (^PFArrayResultBlock)(NSArray *objects, NSError *error); +typedef void (^PFObjectResultBlock)(PFObject *object, NSError *error); +typedef void (^PFSetResultBlock)(NSSet *channels, NSError *error); +typedef void (^PFUserResultBlock)(PFUser *user, NSError *error); +typedef void (^PFDataResultBlock)(NSData *data, NSError *error); +typedef void (^PFDataStreamResultBlock)(NSInputStream *stream, NSError *error); +typedef void (^PFStringResultBlock)(NSString *string, NSError *error); +typedef void (^PFIdResultBlock)(id object, NSError *error); +typedef void (^PFProgressBlock)(int percentDone); + +///-------------------------------------- +/// @name Deprecated Macros +///-------------------------------------- + +#ifndef PARSE_DEPRECATED +#ifdef __deprecated_msg +#define PARSE_DEPRECATED(_MSG) __deprecated_msg(_MSG) +#else +#ifdef __deprecated +#define PARSE_DEPRECATED(_MSG) __attribute__((deprecated)) +#else +#define PARSE_DEPRECATED(_MSG) +#endif +#endif +#endif diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFFile.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFFile.h new file mode 100644 index 00000000..82f7643f --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFFile.h @@ -0,0 +1,286 @@ +// +// PFFile.h +// +// Copyright 2011-present Parse Inc. All rights reserved. +// + +#import + +#if TARGET_OS_IPHONE +#import +#else +#import +#endif + +@class BFTask; + +/*! + `PFFile` representes a file of binary data stored on the Parse servers. + This can be a image, video, or anything else that an application needs to reference in a non-relational way. + */ +@interface PFFile : NSObject + +///-------------------------------------- +/// @name Creating a PFFile +///-------------------------------------- + +/*! + @abstract Creates a file with given data. A name will be assigned to it by the server. + + @param data The contents of the new `PFFile`. + + @returns A new `PFFile`. + */ ++ (instancetype)fileWithData:(NSData *)data; + +/*! + @abstract Creates a file with given data and name. + + @param name The name of the new PFFile. The file name must begin with and + alphanumeric character, and consist of alphanumeric characters, periods, + spaces, underscores, or dashes. + @param data The contents of the new `PFFile`. + + @returns A new `PFFile` object. + */ ++ (instancetype)fileWithName:(NSString *)name data:(NSData *)data; + +/*! + @abstract Creates a file with the contents of another file. + + @param name The name of the new `PFFile`. The file name must begin with and + alphanumeric character, and consist of alphanumeric characters, periods, + spaces, underscores, or dashes. + @param path The path to the file that will be uploaded to Parse. + */ ++ (instancetype)fileWithName:(NSString *)name + contentsAtPath:(NSString *)path; + +/*! + @abstract Creates a file with given data, name and content type. + + @param name The name of the new `PFFile`. The file name must begin with and + alphanumeric character, and consist of alphanumeric characters, periods, + spaces, underscores, or dashes. + @param data The contents of the new `PFFile`. + @param contentType Represents MIME type of the data. + + @returns A new `PFFile` object. + */ ++ (instancetype)fileWithName:(NSString *)name + data:(NSData *)data + contentType:(NSString *)contentType; + +/*! + @abstract Creates a file with given data and content type. + + @param data The contents of the new `PFFile`. + @param contentType Represents MIME type of the data. + + @returns A new `PFFile` object. + */ ++ (instancetype)fileWithData:(NSData *)data contentType:(NSString *)contentType; + +/*! + @abstract The name of the file. + + @discussion Before the file is saved, this is the filename given by + the user. After the file is saved, that name gets prefixed with a unique + identifier. + */ +@property (nonatomic, copy, readonly) NSString *name; + +/*! + @abstract The url of the file. + */ +@property (nonatomic, copy, readonly) NSString *url; + +///-------------------------------------- +/// @name Storing Data with Parse +///-------------------------------------- + +/*! + @abstract Whether the file has been uploaded for the first time. + */ +@property (nonatomic, assign, readonly) BOOL isDirty; + +/*! + @abstract Saves the file *synchronously*. + + @returns Returns whether the save succeeded. + */ +- (BOOL)save; + +/*! + @abstract Saves the file *synchronously* and sets an error if it occurs. + + @param error Pointer to an `NSError` that will be set if necessary. + + @returns Returns whether the save succeeded. + */ +- (BOOL)save:(NSError **)error; + +/*! + @abstract Saves the file *asynchronously*. + + @returns The task, that encapsulates the work being done. + */ +- (BFTask *)saveInBackground; + +/*! + @abstract Saves the file *asynchronously* and executes the given block. + + @param block The block should have the following argument signature: `^(BOOL succeeded, NSError *error)`. + */ +- (void)saveInBackgroundWithBlock:(PFBooleanResultBlock)block; + +/*! + @abstract Saves the file *asynchronously* and executes the given block. + + @discussion This method will execute the progressBlock periodically with the percent progress. + `progressBlock` will get called with `100` before `resultBlock` is called. + + @param block The block should have the following argument signature: `^(BOOL succeeded, NSError *error)` + @param progressBlock The block should have the following argument signature: `^(int percentDone)` + */ +- (void)saveInBackgroundWithBlock:(PFBooleanResultBlock)block + progressBlock:(PFProgressBlock)progressBlock; + +/* + @abstract Saves the file *asynchronously* and calls the given callback. + + @param target The object to call selector on. + @param selector The selector to call. + It should have the following signature: `(void)callbackWithResult:(NSNumber *)result error:(NSError *)error`. + `error` will be `nil` on success and set if there was an error. + `[result boolValue]` will tell you whether the call succeeded or not. + */ +- (void)saveInBackgroundWithTarget:(id)target selector:(SEL)selector; + +///-------------------------------------- +/// @name Getting Data from Parse +///-------------------------------------- + +/*! + @abstract Whether the data is available in memory or needs to be downloaded. + */ +@property (assign, readonly) BOOL isDataAvailable; + +/*! + @abstract *Synchronously* gets the data from cache if available or fetches its contents from the network. + + @returns The `NSData` object containing file data. Returns `nil` if there was an error in fetching. + */ +- (NSData *)getData; + +/*! + @abstract This method is like but avoids ever holding the entire `PFFile` contents in memory at once. + + @discussion This can help applications with many large files avoid memory warnings. + + @returns A stream containing the data. Returns `nil` if there was an error in fetching. + */ +- (NSInputStream *)getDataStream; + +/*! + @abstract *Synchronously* gets the data from cache if available or fetches its contents from the network. + Sets an error if it occurs. + + @param error Pointer to an `NSError` that will be set if necessary. + + @returns The `NSData` object containing file data. Returns `nil` if there was an error in fetching. + */ +- (NSData *)getData:(NSError **)error; + +/*! + @abstract This method is like but avoids ever holding the entire `PFFile` contents in memory at once. + + @param error Pointer to an `NSError` that will be set if necessary. + + @returns A stream containing the data. Returns nil if there was an error in + fetching. + */ +- (NSInputStream *)getDataStream:(NSError **)error; + +/*! + @abstract This method is like but avoids ever holding the entire `PFFile` contents in memory at once. + + @discussion This can help applications with many large files avoid memory warnings. + + @see getData + + @returns A stream containing the data. Returns `nil` if there was an error in fetching. + */ +- (BFTask *)getDataInBackground; + +/*! + @abstract This method is like but avoids + ever holding the entire `PFFile` contents in memory at once. + + @discussion This can help applications with many large files avoid memory warnings. + + @returns The task, that encapsulates the work being done. + */ +- (BFTask *)getDataStreamInBackground; + +/*! + @abstract *Asynchronously* gets the data from cache if available or fetches its contents from the network. + + @param block The block should have the following argument signature: `^(NSData *result, NSError *error)` + */ +- (void)getDataInBackgroundWithBlock:(PFDataResultBlock)block; + +/*! + @abstract This method is like but avoids + ever holding the entire `PFFile` contents in memory at once. + + @discussion This can help applications with many large files avoid memory warnings. + + @param block The block should have the following argument signature: `(NSInputStream *result, NSError *error)` + */ +- (void)getDataStreamInBackgroundWithBlock:(PFDataStreamResultBlock)block; + +/*! + @abstract *Asynchronously* gets the data from cache if available or fetches its contents from the network. + + @discussion This method will execute the progressBlock periodically with the percent progress. + `progressBlock` will get called with `100` before `resultBlock` is called. + + @param resultBlock The block should have the following argument signature: (NSData *result, NSError *error) + @param progressBlock The block should have the following argument signature: (int percentDone) + */ +- (void)getDataInBackgroundWithBlock:(PFDataResultBlock)resultBlock + progressBlock:(PFProgressBlock)progressBlock; + +/*! + @abstract This method is like but avoids + ever holding the entire `PFFile` contents in memory at once. + + @discussion This can help applications with many large files avoid memory warnings. + + @param resultBlock The block should have the following argument signature: `^(NSInputStream *result, NSError *error)`. + @param progressBlock The block should have the following argument signature: `^(int percentDone)`. + */ +- (void)getDataStreamInBackgroundWithBlock:(PFDataStreamResultBlock)resultBlock + progressBlock:(PFProgressBlock)progressBlock; + +/* + @abstract *Asynchronously* gets the data from cache if available or fetches its contents from the network. + + @param target The object to call selector on. + @param selector The selector to call. + It should have the following signature: `(void)callbackWithResult:(NSData *)result error:(NSError *)error`. + `error` will be `nil` on success and set if there was an error. + */ +- (void)getDataInBackgroundWithTarget:(id)target selector:(SEL)selector; + +///-------------------------------------- +/// @name Interrupting a Transfer +///-------------------------------------- + +/*! + @abstract Cancels the current request (upload or download of file). + */ +- (void)cancel; + +@end diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFGeoPoint.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFGeoPoint.h new file mode 100644 index 00000000..0853aa5b --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFGeoPoint.h @@ -0,0 +1,101 @@ +// +// PFGeoPoint.h +// +// Copyright 2011-present Parse Inc. All rights reserved. +// + +#import +#import + +/*! + `PFGeoPoint` may be used to embed a latitude / longitude point as the value for a key in a . + It could be used to perform queries in a geospatial manner using <[PFQuery whereKey:nearGeoPoint:]>. + + Currently, instances of may only have one key associated with a `PFGeoPoint` type. + */ +@interface PFGeoPoint : NSObject + +///-------------------------------------- +/// @name Creating a Geo Point +///-------------------------------------- + +/*! + @abstract Create a PFGeoPoint object. Latitude and longitude are set to `0.0`. + + @returns Returns a new `PFGeoPoint`. + */ ++ (PFGeoPoint *)geoPoint; + +/*! + @abstract Creates a new `PFGeoPoint` object for the given `CLLocation`, set to the location's coordinates. + + @param location Instace of `CLLocation`, with set latitude and longitude. + + @returns Returns a new PFGeoPoint at specified location. + */ ++ (PFGeoPoint *)geoPointWithLocation:(CLLocation *)location; + +/*! + @abstract Create a new `PFGeoPoint` object with the specified latitude and longitude. + + @param latitude Latitude of point in degrees. + @param longitude Longitude of point in degrees. + + @returns New point object with specified latitude and longitude. + */ ++ (PFGeoPoint *)geoPointWithLatitude:(double)latitude longitude:(double)longitude; + +/*! + @abstract Fetches the current device location and executes a block with a new `PFGeoPoint` object. + + @param geoPointHandler A block which takes the newly created `PFGeoPoint` as an argument. + It should have the following argument signature: `^(PFGeoPoint *geoPoint, NSError *error)` + */ ++ (void)geoPointForCurrentLocationInBackground:(void(^)(PFGeoPoint *geoPoint, NSError *error))geoPointHandler; + +///-------------------------------------- +/// @name Controlling Position +///-------------------------------------- + +/*! + @abstract Latitude of point in degrees. Valid range is from `-90.0` to `90.0`. + */ +@property (nonatomic, assign) double latitude; + +/*! + @abstract Longitude of point in degrees. Valid range is from `-180.0` to `180.0`. + */ +@property (nonatomic, assign) double longitude; + +///-------------------------------------- +/// @name Calculating Distance +///-------------------------------------- + +/*! + @abstract Get distance in radians from this point to specified point. + + @param point `PFGeoPoint` that represents the location of other point. + + @returns Distance in radians between the receiver and `point`. + */ +- (double)distanceInRadiansTo:(PFGeoPoint *)point; + +/*! + @abstract Get distance in miles from this point to specified point. + + @param point `PFGeoPoint` that represents the location of other point. + + @returns Distance in miles between the receiver and `point`. + */ +- (double)distanceInMilesTo:(PFGeoPoint *)point; + +/*! + @abstract Get distance in kilometers from this point to specified point. + + @param point `PFGeoPoint` that represents the location of other point. + + @returns Distance in kilometers between the receiver and `point`. + */ +- (double)distanceInKilometersTo:(PFGeoPoint *)point; + +@end diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFInstallation.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFInstallation.h new file mode 100644 index 00000000..98156c96 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFInstallation.h @@ -0,0 +1,110 @@ +// +// PFInstallation.h +// +// Copyright 2011-present Parse Inc. All rights reserved. +// + +#import + +#import +#import + +/*! + A Parse Framework Installation Object that is a local representation of an + installation persisted to the Parse cloud. This class is a subclass of a + , and retains the same functionality of a PFObject, but also extends + it with installation-specific fields and related immutability and validity + checks. + + A valid `PFInstallation` can only be instantiated via + <[PFInstallation currentInstallation]> because the required identifier fields + are readonly. The and fields are also readonly properties which + are automatically updated to match the device's time zone and application badge + when the `PFInstallation` is saved, thus these fields might not reflect the + latest device state if the installation has not recently been saved. + + `PFInstallation` objects which have a valid and are saved to + the Parse cloud can be used to target push notifications. + + This class is currently for iOS only. There is no `PFInstallation` for Parse + applications running on OS X, because they cannot receive push notifications. + */ + +@interface PFInstallation : PFObject + +/*! + @abstract The name of the Installation class in the REST API. + + @discussion This is a required PFSubclassing method. + */ ++ (NSString *)parseClassName; + +///-------------------------------------- +/// @name Targeting Installations +///-------------------------------------- + +/*! + @abstract Creates a for `PFInstallation` objects. + + @discussion The resulting query can only be used for targeting a . + Calling find methods on the resulting query will raise an exception. + */ ++ (PFQuery *)query; + +///-------------------------------------- +/// @name Accessing the Current Installation +///-------------------------------------- + +/*! + @abstract Gets the currently-running installation from disk and returns an instance of it. + + @discussion If this installation is not stored on disk, returns a `PFInstallation` + with and fields set to those of the + current installation. + + @result Returns a `PFInstallation` that represents the currently-running installation. + */ ++ (instancetype)currentInstallation; + +/*! + @abstract Sets the device token string property from an `NSData`-encoded token. + + @param deviceTokenData A token that identifies the device. + */ +- (void)setDeviceTokenFromData:(NSData *)deviceTokenData; + +///-------------------------------------- +/// @name Installation Properties +///-------------------------------------- + +/*! + @abstract The device type for the `PFInstallation`. + */ +@property (nonatomic, strong, readonly) NSString *deviceType; + +/*! + @abstract The installationId for the `PFInstallation`. + */ +@property (nonatomic, strong, readonly) NSString *installationId; + +/*! + @abstract The device token for the `PFInstallation`. + */ +@property (nonatomic, strong) NSString *deviceToken; + +/*! + @abstract The badge for the `PFInstallation`. + */ +@property (nonatomic, assign) NSInteger badge; + +/*! + @abstract The name of the time zone for the `PFInstallation`. + */ +@property (nonatomic, strong, readonly) NSString *timeZone; + +/*! + @abstract The channels for the `PFInstallation`. + */ +@property (nonatomic, strong) NSArray *channels; + +@end diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFNetworkActivityIndicatorManager.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFNetworkActivityIndicatorManager.h new file mode 100644 index 00000000..5dbd8070 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFNetworkActivityIndicatorManager.h @@ -0,0 +1,60 @@ +// +// PFNetworkActivityIndicatorManager.h +// +// Copyright 2011-present Parse Inc. All rights reserved. +// + +#import + +/*! + `PFNetworkActivityIndicatorManager` manages the state of the network activity indicator in the status bar. + When enabled, it will start managing the network activity indicator in the status bar, + according to the network operations that are performed by Parse SDK. + + The number of active requests is incremented or decremented like a stack or a semaphore, + the activity indicator will animate, as long as the number is greater than zero. + */ +@interface PFNetworkActivityIndicatorManager : NSObject + +/*! + A Boolean value indicating whether the manager is enabled. + If `YES` - the manager will start managing the status bar network activity indicator, + according to the network operations that are performed by Parse SDK. + The default value is `YES`. + */ +@property (nonatomic, assign, getter = isEnabled) BOOL enabled; + +/*! + A Boolean value indicating whether the network activity indicator is currently displayed in the status bar. + */ +@property (nonatomic, assign, readonly, getter = isNetworkActivityIndicatorVisible) BOOL networkActivityIndicatorVisible; + +/*! + The value that indicates current network activities count. + */ +@property (nonatomic, assign, readonly) NSUInteger networkActivityCount; + +/*! + @abstract Returns the shared network activity indicator manager object for the system. + + @returns The systemwide network activity indicator manager. + */ ++ (instancetype)sharedManager; + +/*! + @abstract Increments the number of active network requests. + + @discussion If this number was zero before incrementing, + this will start animating network activity indicator in the status bar. + */ +- (void)incrementActivityCount; + +/*! + @abstract Decrements the number of active network requests. + + @discussion If this number becomes zero after decrementing, + this will stop animating network activity indicator in the status bar. + */ +- (void)decrementActivityCount; + +@end diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFObject+Subclass.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFObject+Subclass.h new file mode 100644 index 00000000..bd246be9 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFObject+Subclass.h @@ -0,0 +1,128 @@ +// +// PFObject+Subclass.h +// +// Copyright 2011-present Parse Inc. All rights reserved. +// + +#import + +#if TARGET_OS_IPHONE +#import +#else +#import +#endif + +@class PFQuery; + +/*! + ### Subclassing Notes + + Developers can subclass `PFObject` for a more native object-oriented class structure. + Strongly-typed subclasses of `PFObject` must conform to the protocol + and must call before <[Parse setApplicationId:clientKey:]> is called. + After this it will be returned by and other `PFObject` factories. + + All methods in except for <[PFSubclassing parseClassName]> + are already implemented in the `PFObject+Subclass` category. + + Including `PFObject+Subclass.h` in your implementation file provides these implementations automatically. + + Subclasses support simpler initializers, query syntax, and dynamic synthesizers. + The following shows an example subclass: + + \@interface MYGame : PFObject + + // Accessing this property is the same as objectForKey:@"title" + @property (nonatomic, strong) NSString *title; + + + (NSString *)parseClassName; + + @end + + + @implementation MYGame + + @dynamic title; + + + (NSString *)parseClassName { + return @"Game"; + } + + @end + + + MYGame *game = [[MYGame alloc] init]; + game.title = @"Bughouse"; + [game saveInBackground]; + */ +@interface PFObject (Subclass) + +///-------------------------------------- +/// @name Methods for Subclasses +///-------------------------------------- + +/*! + @abstract Designated initializer for subclasses. + This method can only be called on subclasses which conform to . + This method should not be overridden. + */ +- (instancetype)init; + +/*! + @abstract Creates an instance of the registered subclass with this class's . + + @discussion This helps a subclass ensure that it can be subclassed itself. + For example, `[PFUser object]` will return a `MyUser` object if `MyUser` is a registered subclass of `PFUser`. + For this reason, `[MyClass object]` is preferred to `[[MyClass alloc] init]`. + This method can only be called on subclasses which conform to `PFSubclassing`. + A default implementation is provided by `PFObject` which should always be sufficient. + */ ++ (instancetype)object; + +/*! + @abstract Creates a reference to an existing `PFObject` for use in creating associations between `PFObjects`. + + @discussion Calling on this object will return `NO` until or has been called. + This method can only be called on subclasses which conform to . + A default implementation is provided by `PFObject` which should always be sufficient. + No network request will be made. + + @param objectId The object id for the referenced object. + + @returns An instance of `PFObject` without data. + */ ++ (instancetype)objectWithoutDataWithObjectId:(NSString *)objectId; + +/*! + @abstract Registers an Objective-C class for Parse to use for representing a given Parse class. + + @discussion Once this is called on a `PFObject` subclass, any `PFObject` Parse creates with a class name + that matches `[self parseClassName]` will be an instance of subclass. + This method can only be called on subclasses which conform to . + A default implementation is provided by `PFObject` which should always be sufficient. + */ ++ (void)registerSubclass; + +/*! + @abstract Returns a query for objects of type . + + @discussion This method can only be called on subclasses which conform to . + A default implementation is provided by which should always be sufficient. + */ ++ (PFQuery *)query; + +/*! + @abstract Returns a query for objects of type with a given predicate. + + @discussion A default implementation is provided by which should always be sufficient. + @warning This method can only be called on subclasses which conform to . + + @param predicate The predicate to create conditions from. + + @returns An instance of . + + @see [PFQuery queryWithClassName:predicate:] + */ ++ (PFQuery *)queryWithPredicate:(NSPredicate *)predicate; + +@end diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFObject.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFObject.h new file mode 100644 index 00000000..ed209db8 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFObject.h @@ -0,0 +1,1401 @@ +// +// PFObject.h +// +// Copyright 2011-present Parse Inc. All rights reserved. +// + +#import + +#if TARGET_OS_IPHONE +#import +#import +#else +#import +#import +#endif + +@protocol PFSubclassing; +@class BFTask; +@class PFRelation; + +/*! + The name of the default pin that for PFObject local data store. + */ +extern NSString *const PFObjectDefaultPin; + +/*! + The `PFObject` class is a local representation of data persisted to the Parse cloud. + This is the main class that is used to interact with objects in your app. +*/ +NS_REQUIRES_PROPERTY_DEFINITIONS +@interface PFObject : NSObject { + BOOL dirty; + + // An array of NSDictionary of NSString -> PFFieldOperation. + // Each dictionary has a subset of the object's keys as keys, and the + // changes to the value for that key as its value. + // There is always at least one dictionary of pending operations. + // Every time a save is started, a new dictionary is added to the end. + // Whenever a save completes, the new data is put into fetchedData, and + // a dictionary is removed from the start. + NSMutableArray *operationSetQueue; + + // Our best estimate as to what the current data is, based on + // the last fetch from the server, and the set of pending operations. + NSMutableDictionary *estimatedData; +} + +///-------------------------------------- +/// @name Creating a PFObject +///-------------------------------------- + +/*! + @abstract Creates a new PFObject with a class name. + + @param className A class name can be any alphanumeric string that begins with a letter. + It represents an object in your app, like a 'User' or a 'Document'. + + @returns Returns the object that is instantiated with the given class name. + */ ++ (instancetype)objectWithClassName:(NSString *)className; + +/*! + @abstract Creates a reference to an existing PFObject for use in creating associations between PFObjects. + + @discussion Calling on this object will return `NO` until has been called. + No network request will be made. + + @param className The object's class. + @param objectId The object id for the referenced object. + + @returns A `PFObject` instance without data. + */ ++ (instancetype)objectWithoutDataWithClassName:(NSString *)className + objectId:(NSString *)objectId; + +/*! + @abstract Creates a new `PFObject` with a class name, initialized with data + constructed from the specified set of objects and keys. + + @param className The object's class. + @param dictionary An `NSDictionary` of keys and objects to set on the new `PFObject`. + + @returns A PFObject with the given class name and set with the given data. + */ ++ (PFObject *)objectWithClassName:(NSString *)className dictionary:(NSDictionary *)dictionary; + +/*! + @abstract Initializes a new empty `PFObject` instance with a class name. + + @param newClassName A class name can be any alphanumeric string that begins with a letter. + It represents an object in your app, like a 'User' or a 'Document'. + + @returns Returns the object that is instantiated with the given class name. + */ +- (instancetype)initWithClassName:(NSString *)newClassName; + +///-------------------------------------- +/// @name Managing Object Properties +///-------------------------------------- + +/*! + @abstract The class name of the object. + */ +@property (strong, readonly) NSString *parseClassName; + +/*! + @abstract The id of the object. + */ +@property (nonatomic, strong) NSString *objectId; + +/*! + @abstract When the object was last updated. + */ +@property (nonatomic, strong, readonly) NSDate *updatedAt; + +/*! + @abstract When the object was created. + */ +@property (nonatomic, strong, readonly) NSDate *createdAt; + +/*! + @abstract The ACL for this object. + */ +@property (nonatomic, strong) PFACL *ACL; + +/*! + @abstract Returns an array of the keys contained in this object. + + @discussion This does not include `createdAt`, `updatedAt`, `authData`, or `objectId`. + It does include things like username and ACL. + */ +- (NSArray *)allKeys; + +///-------------------------------------- +/// @name Accessors +///-------------------------------------- + +/*! + @abstract Returns the value associated with a given key. + + @param key The key for which to return the corresponding value. + */ +- (id)objectForKey:(NSString *)key; + +/*! + @abstract Sets the object associated with a given key. + + @param object The object. + @param key The key. + */ +- (void)setObject:(id)object forKey:(NSString *)key; + +/*! + @abstract Unsets a key on the object. + + @param key The key. + */ +- (void)removeObjectForKey:(NSString *)key; + +/*! + @abstract Returns the value associated with a given key. + + @discussion This method enables usage of literal syntax on `PFObject`. + E.g. `NSString *value = object[@"key"];` + + @see objectForKey: + + @param key The key for which to return the corresponding value. + */ +- (id)objectForKeyedSubscript:(NSString *)key; + +/*! + @abstract Returns the value associated with a given key. + + @discussion This method enables usage of literal syntax on `PFObject`. + E.g. `object[@"key"] = @"value";` + + @see setObject:forKey: + + @param object The object. + @param key The key. + */ +- (void)setObject:(id)object forKeyedSubscript:(NSString *)key; + +/*! + @abstract Returns the relation object associated with the given key. + + @param key The key that the relation is associated with. + */ +- (PFRelation *)relationForKey:(NSString *)key; + +/*! + @abstract Returns the relation object associated with the given key. + + @param key The key that the relation is associated with. + + @deprecated Please use `[PFObject relationForKey:]` instead. + */ +- (PFRelation *)relationforKey:(NSString *)key PARSE_DEPRECATED("Please use -relationForKey: instead."); + +///-------------------------------------- +/// @name Array Accessors +///-------------------------------------- + +/*! + @abstract Adds an object to the end of the array associated with a given key. + + @param object The object to add. + @param key The key. + */ +- (void)addObject:(id)object forKey:(NSString *)key; + +/*! + @abstract Adds the objects contained in another array to the end of the array associated with a given key. + + @param objects The array of objects to add. + @param key The key. + */ +- (void)addObjectsFromArray:(NSArray *)objects forKey:(NSString *)key; + +/*! + @abstract Adds an object to the array associated with a given key, only if it is not already present in the array. + + @discussion The position of the insert is not guaranteed. + + @param object The object to add. + @param key The key. + */ +- (void)addUniqueObject:(id)object forKey:(NSString *)key; + +/*! + @abstract Adds the objects contained in another array to the array associated with a given key, + only adding elements which are not already present in the array. + + @dicsussion The position of the insert is not guaranteed. + + @param objects The array of objects to add. + @param key The key. + */ +- (void)addUniqueObjectsFromArray:(NSArray *)objects forKey:(NSString *)key; + +/*! + @abstract Removes all occurrences of an object from the array associated with a given key. + + @param object The object to remove. + @param key The key. + */ +- (void)removeObject:(id)object forKey:(NSString *)key; + +/*! + @abstract Removes all occurrences of the objects contained in another array from the array associated with a given key. + + @param objects The array of objects to remove. + @param key The key. + */ +- (void)removeObjectsInArray:(NSArray *)objects forKey:(NSString *)key; + +///-------------------------------------- +/// @name Increment +///-------------------------------------- + +/*! + @abstract Increments the given key by `1`. + + @param key The key. + */ +- (void)incrementKey:(NSString *)key; + +/*! + @abstract Increments the given key by a number. + + @param key The key. + @param amount The amount to increment. + */ +- (void)incrementKey:(NSString *)key byAmount:(NSNumber *)amount; + +///-------------------------------------- +/// @name Saving Objects +///-------------------------------------- + +/*! + @abstract *Synchronously* saves the `PFObject`. + + @returns Returns whether the save succeeded. + */ +- (BOOL)save; + +/*! + @abstract *Synchronously* saves the `PFObject` and sets an error if it occurs. + + @param error Pointer to an NSError that will be set if necessary. + + @returns Returns whether the save succeeded. + */ +- (BOOL)save:(NSError **)error; + +/*! + @abstract Saves the `PFObject` *asynchronously*. + + @returns The task that encapsulates the work being done. + */ +- (BFTask *)saveInBackground; + +/*! + @abstract Saves the `PFObject` *asynchronously* and executes the given callback block. + + @param block The block to execute. + It should have the following argument signature: `^(BOOL succeeded, NSError *error)`. + */ +- (void)saveInBackgroundWithBlock:(PFBooleanResultBlock)block; + +/* + @abstract Saves the `PFObject` asynchronously and calls the given callback. + + @param target The object to call selector on. + @param selector The selector to call. + It should have the following signature: `(void)callbackWithResult:(NSNumber *)result error:(NSError *)error`. + `error` will be `nil` on success and set if there was an error. + `[result boolValue]` will tell you whether the call succeeded or not. + */ +- (void)saveInBackgroundWithTarget:(id)target selector:(SEL)selector; + +/*! + @see saveEventually: + */ +- (void)saveEventually; + +/*! + @abstract Saves this object to the server at some unspecified time in the future, + even if Parse is currently inaccessible. + + @discussion Use this when you may not have a solid network connection, and don't need to know when the save completes. + If there is some problem with the object such that it can't be saved, it will be silently discarded. If the save + completes successfully while the object is still in memory, then callback will be called. + + Objects saved with this method will be stored locally in an on-disk cache until they can be delivered to Parse. + They will be sent immediately if possible. Otherwise, they will be sent the next time a network connection is + available. Objects saved this way will persist even after the app is closed, in which case they will be sent the + next time the app is opened. If more than 10MB of data is waiting to be sent, subsequent calls to + will cause old saves to be silently discarded until the connection can be re-established, and the queued objects + can be saved. + + @param callback The block to execute. + It should have the following argument signature: `^(BOOL succeeded, NSError *error)`. + */ +- (void)saveEventually:(PFBooleanResultBlock)callback; + +///-------------------------------------- +/// @name Saving Many Objects +///-------------------------------------- + +/*! + @abstract Saves a collection of objects *synchronously all at once. + + @param objects The array of objects to save. + + @returns Returns whether the save succeeded. + */ ++ (BOOL)saveAll:(NSArray *)objects; + +/*! + @abstract Saves a collection of objects *synchronously* all at once and sets an error if necessary. + + @param objects The array of objects to save. + @param error Pointer to an `NSError` that will be set if necessary. + + @returns Returns whether the save succeeded. + */ ++ (BOOL)saveAll:(NSArray *)objects error:(NSError **)error; + +/*! + @abstract Saves a collection of objects all at once *asynchronously*. + + @param objects The array of objects to save. + + @returns The task that encapsulates the work being done. + */ ++ (BFTask *)saveAllInBackground:(NSArray *)objects; + +/*! + @abstract Saves a collection of objects all at once `asynchronously` and executes the block when done. + + @param objects The array of objects to save. + @param block The block to execute. + It should have the following argument signature: `^(BOOL succeeded, NSError *error)`. + */ ++ (void)saveAllInBackground:(NSArray *)objects + block:(PFBooleanResultBlock)block; + +/* + @abstract Saves a collection of objects all at once *asynchronously* and calls a callback when done. + + @param objects The array of objects to save. + @param target The object to call selector on. + @param selector The selector to call. + It should have the following signature: `(void)callbackWithResult:(NSNumber *)number error:(NSError *)error`. + `error` will be `nil` on success and set if there was an error. + `[result boolValue]` will tell you whether the call succeeded or not. + */ ++ (void)saveAllInBackground:(NSArray *)objects + target:(id)target + selector:(SEL)selector; + +///-------------------------------------- +/// @name Deleting Many Objects +///-------------------------------------- + +/*! + @abstract *Synchronously* deletes a collection of objects all at once. + + @param objects The array of objects to delete. + + @returns Returns whether the delete succeeded. + */ ++ (BOOL)deleteAll:(NSArray *)objects; + +/*! + @abstract *Synchronously* deletes a collection of objects all at once and sets an error if necessary. + + @param objects The array of objects to delete. + @param error Pointer to an `NSError` that will be set if necessary. + + @returns Returns whether the delete succeeded. + */ ++ (BOOL)deleteAll:(NSArray *)objects error:(NSError **)error; + +/*! + @abstract Deletes a collection of objects all at once asynchronously. + @param objects The array of objects to delete. + @returns The task that encapsulates the work being done. + */ ++ (BFTask *)deleteAllInBackground:(NSArray *)objects; + +/*! + @abstract Deletes a collection of objects all at once *asynchronously* and executes the block when done. + + @param objects The array of objects to delete. + @param block The block to execute. + It should have the following argument signature: `^(BOOL succeeded, NSError *error)`. + */ ++ (void)deleteAllInBackground:(NSArray *)objects + block:(PFBooleanResultBlock)block; + +/* + @abstract Deletes a collection of objects all at once *asynchronously* and calls a callback when done. + + @param objects The array of objects to delete. + @param target The object to call selector on. + @param selector The selector to call. + It should have the following signature: `(void)callbackWithResult:(NSNumber *)number error:(NSError *)error`. + `error` will be `nil` on success and set if there was an error. + `[result boolValue]` will tell you whether the call succeeded or not. + */ ++ (void)deleteAllInBackground:(NSArray *)objects + target:(id)target + selector:(SEL)selector; + +///-------------------------------------- +/// @name Getting an Object +///-------------------------------------- + +/*! + @abstract Gets whether the `PFObject` has been fetched. + + @returns `YES` if the PFObject is new or has been fetched or refreshed, otherwise `NO`. + */ +- (BOOL)isDataAvailable; + +#if PARSE_IOS_ONLY + +/*! + @abstract Refreshes the PFObject with the current data from the server. + + @deprecated Please use `-fetch` instead. + */ +- (void)refresh PARSE_DEPRECATED("Please use `-fetch` instead."); + +/*! + @abstract *Synchronously* refreshes the `PFObject` with the current data from the server and sets an error if it occurs. + + @param error Pointer to an `NSError` that will be set if necessary. + + @deprecated Please use `-fetch:` instead. + */ +- (void)refresh:(NSError **)error PARSE_DEPRECATED("Please use `-fetch:` instead."); + +/*! + @abstract *Asynchronously* refreshes the `PFObject` and executes the given callback block. + + @param block The block to execute. + The block should have the following argument signature: `^(PFObject *object, NSError *error)` + + @deprecated Please use `-fetchInBackgroundWithBlock:` instead. + */ +- (void)refreshInBackgroundWithBlock:(PFObjectResultBlock)block PARSE_DEPRECATED("Please use `-fetchInBackgroundWithBlock:` instead."); + +/* + @abstract *Asynchronously* refreshes the `PFObject` and calls the given callback. + + @param target The target on which the selector will be called. + @param selector The selector to call. + It should have the following signature: `(void)callbackWithResult:(PFObject *)refreshedObject error:(NSError *)error`. + `error` will be `nil` on success and set if there was an error. + `refreshedObject` will be the `PFObject` with the refreshed data. + + @deprecated Please use `fetchInBackgroundWithTarget:selector:` instead. + */ +- (void)refreshInBackgroundWithTarget:(id)target + selector:(SEL)selector PARSE_DEPRECATED("Please use `fetchInBackgroundWithTarget:selector:` instead."); + +#endif + +/*! + @abstract *Synchronously* fetches the PFObject with the current data from the server. + */ +- (void)fetch; +/*! + @abstract *Synchronously* fetches the PFObject with the current data from the server and sets an error if it occurs. + + @param error Pointer to an `NSError` that will be set if necessary. + */ +- (void)fetch:(NSError **)error; + +/*! + @abstract *Synchronously* fetches the `PFObject` data from the server if is `NO`. + */ +- (PFObject *)fetchIfNeeded; + +/*! + @abstract *Synchronously* fetches the `PFObject` data from the server if is `NO`. + + @param error Pointer to an `NSError` that will be set if necessary. + */ +- (PFObject *)fetchIfNeeded:(NSError **)error; + +/*! + @abstract Fetches the `PFObject` *asynchronously* and sets it as a result for the task. + + @returns The task that encapsulates the work being done. + */ +- (BFTask *)fetchInBackground; + +/*! + @abstract Fetches the PFObject *asynchronously* and executes the given callback block. + + @param block The block to execute. + It should have the following argument signature: `^(PFObject *object, NSError *error)`. + */ +- (void)fetchInBackgroundWithBlock:(PFObjectResultBlock)block; + +/* + @abstract Fetches the `PFObject *asynchronously* and calls the given callback. + + @param target The target on which the selector will be called. + @param selector The selector to call. + It should have the following signature: `(void)callbackWithResult:(PFObject *)refreshedObject error:(NSError *)error`. + `error` will be `nil` on success and set if there was an error. + `refreshedObject` will be the `PFObject` with the refreshed data. + */ +- (void)fetchInBackgroundWithTarget:(id)target selector:(SEL)selector; + +/*! + @abstract Fetches the `PFObject` data *asynchronously* if isDataAvailable is `NO`, + then sets it as a result for the task. + + @returns The task that encapsulates the work being done. + */ +- (BFTask *)fetchIfNeededInBackground; + +/*! + @abstract Fetches the `PFObject` data *asynchronously* if is `NO`, then calls the callback block. + + @param block The block to execute. + It should have the following argument signature: `^(PFObject *object, NSError *error)`. + */ +- (void)fetchIfNeededInBackgroundWithBlock:(PFObjectResultBlock)block; + +/* + @abstract Fetches the PFObject's data asynchronously if isDataAvailable is false, then calls the callback. + + @param target The target on which the selector will be called. + @param selector The selector to call. + It should have the following signature: `(void)callbackWithResult:(PFObject *)fetchedObject error:(NSError *)error`. + `error` will be `nil` on success and set if there was an error. + `refreshedObject` will be the `PFObject` with the refreshed data. + */ +- (void)fetchIfNeededInBackgroundWithTarget:(id)target + selector:(SEL)selector; + +///-------------------------------------- +/// @name Getting Many Objects +///-------------------------------------- + +/*! + @abstract *Synchronously* fetches all of the `PFObject` objects with the current data from the server. + + @param objects The list of objects to fetch. + */ ++ (void)fetchAll:(NSArray *)objects; + +/*! + @abstract *Synchronously* fetches all of the `PFObject` objects with the current data from the server + and sets an error if it occurs. + + @param objects The list of objects to fetch. + @param error Pointer to an `NSError` that will be set if necessary. + */ ++ (void)fetchAll:(NSArray *)objects error:(NSError **)error; + +/*! + @abstract *Synchronously* fetches all of the `PFObject` objects with the current data from the server. + @param objects The list of objects to fetch. + */ ++ (void)fetchAllIfNeeded:(NSArray *)objects; + +/*! + @abstract *Synchronously* fetches all of the `PFObject` objects with the current data from the server + and sets an error if it occurs. + + @param objects The list of objects to fetch. + @param error Pointer to an `NSError` that will be set if necessary. + */ ++ (void)fetchAllIfNeeded:(NSArray *)objects error:(NSError **)error; + +/*! + @abstract Fetches all of the `PFObject` objects with the current data from the server *asynchronously*. + + @param objects The list of objects to fetch. + + @returns The task that encapsulates the work being done. + */ ++ (BFTask *)fetchAllInBackground:(NSArray *)objects; + +/*! + @abstract Fetches all of the `PFObject` objects with the current data from the server *asynchronously* + and calls the given block. + + @param objects The list of objects to fetch. + @param block The block to execute. + It should have the following argument signature: `^(NSArray *objects, NSError *error)`. + */ ++ (void)fetchAllInBackground:(NSArray *)objects + block:(PFArrayResultBlock)block; + +/* + @abstract Fetches all of the `PFObject` objects with the current data from the server *asynchronously* + and calls the given callback. + + @param objects The list of objects to fetch. + @param target The target on which the selector will be called. + @param selector The selector to call. + It should have the following signature: `(void)callbackWithResult:(NSArray *)fetchedObjects error:(NSError *)error`. + `error` will be `nil` on success and set if there was an error. + `fetchedObjects` will the array of `PFObject` objects that were fetched. + */ ++ (void)fetchAllInBackground:(NSArray *)objects + target:(id)target + selector:(SEL)selector; + +/*! + @abstract Fetches all of the `PFObject` objects with the current data from the server *asynchronously*. + + @param objects The list of objects to fetch. + + @returns The task that encapsulates the work being done. + */ ++ (BFTask *)fetchAllIfNeededInBackground:(NSArray *)objects; + +/*! + @abstract Fetches all of the PFObjects with the current data from the server *asynchronously* + and calls the given block. + + @param objects The list of objects to fetch. + @param block The block to execute. + It should have the following argument signature: `^(NSArray *objects, NSError *error)`. + */ ++ (void)fetchAllIfNeededInBackground:(NSArray *)objects + block:(PFArrayResultBlock)block; + +/* + @abstract Fetches all of the PFObjects with the current data from the server *asynchronously* + and calls the given callback. + + @param objects The list of objects to fetch. + @param target The target on which the selector will be called. + @param selector The selector to call. + It should have the following signature: `(void)callbackWithResult:(NSArray *)fetchedObjects error:(NSError *)error`. + `error` will be `nil` on success and set if there was an error. + `fetchedObjects` will the array of `PFObject` objects that were fetched. + */ ++ (void)fetchAllIfNeededInBackground:(NSArray *)objects + target:(id)target + selector:(SEL)selector; + +///-------------------------------------- +/// @name Fetching From Local Datastore +///-------------------------------------- + +/*! + @abstract *Synchronously* loads data from the local datastore into this object, + if it has not been fetched from the server already. + */ +- (void)fetchFromLocalDatastore; + +/*! + @abstract *Synchronously* loads data from the local datastore into this object, if it has not been fetched + from the server already. + + @discussion If the object is not stored in the local datastore, this `error` will be set to + return kPFErrorCacheMiss. + + @param error Pointer to an `NSError` that will be set if necessary. + */ +- (void)fetchFromLocalDatastore:(NSError **)error; + +/*! + @abstract *Asynchronously* loads data from the local datastore into this object, + if it has not been fetched from the server already. + + @returns The task that encapsulates the work being done. + */ +- (BFTask *)fetchFromLocalDatastoreInBackground; + +/*! + @abstract *Asynchronously* loads data from the local datastore into this object, + if it has not been fetched from the server already. + + @param block The block to execute. + It should have the following argument signature: `^(PFObject *object, NSError *error)`. + */ +- (void)fetchFromLocalDatastoreInBackgroundWithBlock:(PFObjectResultBlock)block; + +///-------------------------------------- +/// @name Deleting an Object +///-------------------------------------- + +/*! + @abstract *Synchronously* deletes the `PFObject`. + + @returns Returns whether the delete succeeded. + */ +- (BOOL)delete; + +/*! + @abstract *Synchronously* deletes the `PFObject` and sets an error if it occurs. + + @param error Pointer to an `NSError` that will be set if necessary. + + @returns Returns whether the delete succeeded. + */ +- (BOOL)delete:(NSError **)error; + +/*! + @abstract Deletes the `PFObject` *asynchronously*. + + @returns The task that encapsulates the work being done. + */ +- (BFTask *)deleteInBackground; + +/*! + @abstract Deletes the `PFObject` *asynchronously* and executes the given callback block. + + @param block The block to execute. + It should have the following argument signature: `^(BOOL succeeded, NSError *error)`. + */ +- (void)deleteInBackgroundWithBlock:(PFBooleanResultBlock)block; + +/* + @abstract Deletes the `PFObject` *asynchronously* and calls the given callback. + + @param target The object to call selector on. + @param selector The selector to call. + It should have the following signature: `(void)callbackWithResult:(NSNumber *)result error:(NSError *)error`. + `error` will be `nil` on success and set if there was an error. + `[result boolValue]` will tell you whether the call succeeded or not. + */ +- (void)deleteInBackgroundWithTarget:(id)target + selector:(SEL)selector; + +/*! + @abstract Deletes this object from the server at some unspecified time in the future, + even if Parse is currently inaccessible. + + @discussion Use this when you may not have a solid network connection, + and don't need to know when the delete completes. If there is some problem with the object + such that it can't be deleted, the request will be silently discarded. + + Delete instructions made with this method will be stored locally in an on-disk cache until they can be transmitted + to Parse. They will be sent immediately if possible. Otherwise, they will be sent the next time a network connection + is available. Delete requests will persist even after the app is closed, in which case they will be sent the + next time the app is opened. If more than 10MB of or commands are waiting + to be sent, subsequent calls to or will cause old requests to be silently discarded + until the connection can be re-established, and the queued requests can go through. + */ +- (void)deleteEventually; + +///-------------------------------------- +/// @name Dirtiness +///-------------------------------------- + +/*! + @abstract Gets whether any key-value pair in this object (or its children) + has been added/updated/removed and not saved yet. + + @returns Returns whether this object has been altered and not saved yet. + */ +- (BOOL)isDirty; + +/*! + @abstract Get whether a value associated with a key has been added/updated/removed and not saved yet. + + @param key The key to check for + + @returns Returns whether this key has been altered and not saved yet. + */ +- (BOOL)isDirtyForKey:(NSString *)key; + + +///-------------------------------------- +/// @name Pinning +///-------------------------------------- + +/*! + @abstract *Synchronously* stores the object and every object it points to in the local datastore, recursively, + using a default pin name: `PFObjectDefaultPin`. + + @discussion If those other objects have not been fetched from Parse, they will not be stored. However, + if they have changed data, all the changes will be retained. To get the objects back later, you can + use a that uses <[PFQuery fromLocalDatastore]>, or you can create an unfetched pointer with + <[PFObject objectWithoutDataWithClassName:objectId:]> and then call on it. + + @returns Returns whether the pin succeeded. + + @see unpin: + @see PFObjectDefaultPin + */ +- (BOOL)pin; + +/*! + @abstract *Synchronously* stores the object and every object it points to in the local datastore, recursively, + using a default pin name: `PFObjectDefaultPin`. + + @discussion If those other objects have not been fetched from Parse, they will not be stored. However, + if they have changed data, all the changes will be retained. To get the objects back later, you can + use a that uses <[PFQuery fromLocalDatastore]>, or you can create an unfetched pointer with + <[PFObject objectWithoutDataWithClassName:objectId:]> and then call on it. + + @param error Pointer to an `NSError` that will be set if necessary. + + @returns Returns whether the pin succeeded. + + @see unpin: + @see PFObjectDefaultPin + */ +- (BOOL)pin:(NSError **)error; + +/*! + @abstract *Synchronously* stores the object and every object it points to in the local datastore, recursively. + + @discussion If those other objects have not been fetched from Parse, they will not be stored. However, + if they have changed data, all the changes will be retained. To get the objects back later, you can + use a that uses <[PFQuery fromLocalDatastore]>, or you can create an unfetched pointer with + <[PFObject objectWithoutDataWithClassName:objectId:]> and then call on it. + + @param name The name of the pin. + + @returns Returns whether the pin succeeded. + + @see unpinWithName: + */ +- (BOOL)pinWithName:(NSString *)name; + +/*! + @abstract *Synchronously* stores the object and every object it points to in the local datastore, recursively. + + @discussion If those other objects have not been fetched from Parse, they will not be stored. However, + if they have changed data, all the changes will be retained. To get the objects back later, you can + use a that uses <[PFQuery fromLocalDatastore]>, or you can create an unfetched pointer with + <[PFObject objectWithoutDataWithClassName:objectId:]> and then call on it. + + @param name The name of the pin. + @param error Pointer to an `NSError` that will be set if necessary. + + @returns Returns whether the pin succeeded. + + @see unpinWithName: + */ +- (BOOL)pinWithName:(NSString *)name + error:(NSError **)error; + +/*! + @abstract *Asynchronously* stores the object and every object it points to in the local datastore, recursively, + using a default pin name: `PFObjectDefaultPin`. + + @discussion If those other objects have not been fetched from Parse, they will not be stored. However, + if they have changed data, all the changes will be retained. To get the objects back later, you can + use a that uses <[PFQuery fromLocalDatastore]>, or you can create an unfetched pointer with + <[PFObject objectWithoutDataWithClassName:objectId:]> and then call on it. + + @returns The task that encapsulates the work being done. + + @see unpinInBackground + @see PFObjectDefaultPin + */ +- (BFTask *)pinInBackground; + +/*! + @abstract *Asynchronously* stores the object and every object it points to in the local datastore, recursively, + using a default pin name: `PFObjectDefaultPin`. + + @discussion If those other objects have not been fetched from Parse, they will not be stored. However, + if they have changed data, all the changes will be retained. To get the objects back later, you can + use a that uses <[PFQuery fromLocalDatastore]>, or you can create an unfetched pointer with + <[PFObject objectWithoutDataWithClassName:objectId:]> and then call on it. + + @param block The block to execute. + It should have the following argument signature: `^(BOOL succeeded, NSError *error)`. + + @see unpinInBackgroundWithBlock: + @see PFObjectDefaultPin + */ +- (void)pinInBackgroundWithBlock:(PFBooleanResultBlock)block; + +/*! + @abstract *Asynchronously* stores the object and every object it points to in the local datastore, recursively. + + @discussion If those other objects have not been fetched from Parse, they will not be stored. However, + if they have changed data, all the changes will be retained. To get the objects back later, you can + use a that uses <[PFQuery fromLocalDatastore]>, or you can create an unfetched pointer with + <[PFObject objectWithoutDataWithClassName:objectId:]> and then call on it. + + @param name The name of the pin. + + @returns The task that encapsulates the work being done. + + @see unpinInBackgroundWithName: + */ +- (BFTask *)pinInBackgroundWithName:(NSString *)name; + +/*! + @abstract *Asynchronously* stores the object and every object it points to in the local datastore, recursively. + + @discussion If those other objects have not been fetched from Parse, they will not be stored. However, + if they have changed data, all the changes will be retained. To get the objects back later, you can + use a that uses <[PFQuery fromLocalDatastore]>, or you can create an unfetched pointer with + <[PFObject objectWithoutDataWithClassName:objectId:]> and then call on it. + + @param name The name of the pin. + @param block The block to execute. + It should have the following argument signature: `^(BOOL succeeded, NSError *error)`. + + @see unpinInBackgroundWithName:block: + */ +- (void)pinInBackgroundWithName:(NSString *)name + block:(PFBooleanResultBlock)block; + +///-------------------------------------- +/// @name Pinning Many Objects +///-------------------------------------- + +/*! + @abstract *Synchronously* stores the objects and every object they point to in the local datastore, recursively, + using a default pin name: `PFObjectDefaultPin`. + + @discussion If those other objects have not been fetched from Parse, they will not be stored. However, + if they have changed data, all the changes will be retained. To get the objects back later, you can + use a that uses <[PFQuery fromLocalDatastore]>, or you can create an unfetched pointer with + `[PFObject objectWithoutDataWithClassName:objectId:]` and then call `fetchFromLocalDatastore:` on it. + + @param objects The objects to be pinned. + + @returns Returns whether the pin succeeded. + + @see unpinAll: + @see PFObjectDefaultPin + */ ++ (BOOL)pinAll:(NSArray *)objects; + +/*! + @abstract *Synchronously* stores the objects and every object they point to in the local datastore, recursively, + using a default pin name: `PFObjectDefaultPin`. + + @discussion If those other objects have not been fetched from Parse, they will not be stored. However, + if they have changed data, all the changes will be retained. To get the objects back later, you can + use a that uses <[PFQuery fromLocalDatastore]>, or you can create an unfetched pointer with + `[PFObject objectWithoutDataWithClassName:objectId:]` and then call `fetchFromLocalDatastore:` on it. + + @param objects The objects to be pinned. + @param error Pointer to an `NSError` that will be set if necessary. + + @returns Returns whether the pin succeeded. + + @see unpinAll:error: + @see PFObjectDefaultPin + */ ++ (BOOL)pinAll:(NSArray *)objects error:(NSError **)error; + +/*! + @abstract *Synchronously* stores the objects and every object they point to in the local datastore, recursively. + + @discussion If those other objects have not been fetched from Parse, they will not be stored. However, + if they have changed data, all the changes will be retained. To get the objects back later, you can + use a that uses <[PFQuery fromLocalDatastore]>, or you can create an unfetched pointer with + `[PFObject objectWithoutDataWithClassName:objectId:]` and then call `fetchFromLocalDatastore:` on it. + + @param objects The objects to be pinned. + @param name The name of the pin. + + @returns Returns whether the pin succeeded. + + @see unpinAll:withName: + */ ++ (BOOL)pinAll:(NSArray *)objects withName:(NSString *)name; + +/*! + @abstract *Synchronously* stores the objects and every object they point to in the local datastore, recursively. + + @discussion If those other objects have not been fetched from Parse, they will not be stored. However, + if they have changed data, all the changes will be retained. To get the objects back later, you can + use a that uses <[PFQuery fromLocalDatastore]>, or you can create an unfetched pointer with + `[PFObject objectWithoutDataWithClassName:objectId:]` and then call `fetchFromLocalDatastore:` on it. + + @param objects The objects to be pinned. + @param name The name of the pin. + @param error Pointer to an `NSError` that will be set if necessary. + + @returns Returns whether the pin succeeded. + + @see unpinAll:withName:error: + */ ++ (BOOL)pinAll:(NSArray *)objects + withName:(NSString *)name + error:(NSError **)error; + +/*! + @abstract *Asynchronously* stores the objects and every object they point to in the local datastore, recursively, + using a default pin name: `PFObjectDefaultPin`. + + @discussion If those other objects have not been fetched from Parse, they will not be stored. However, + if they have changed data, all the changes will be retained. To get the objects back later, you can + use a that uses <[PFQuery fromLocalDatastore]>, or you can create an unfetched pointer with + `[PFObject objectWithoutDataWithClassName:objectId:]` and then call `fetchFromLocalDatastore:` on it. + + @param objects The objects to be pinned. + + @returns The task that encapsulates the work being done. + + @see unpinAllInBackground: + @see PFObjectDefaultPin + */ ++ (BFTask *)pinAllInBackground:(NSArray *)objects; + +/*! + @abstract *Asynchronously* stores the objects and every object they point to in the local datastore, recursively, + using a default pin name: `PFObjectDefaultPin`. + + @discussion If those other objects have not been fetched from Parse, they will not be stored. However, + if they have changed data, all the changes will be retained. To get the objects back later, you can + use a that uses <[PFQuery fromLocalDatastore]>, or you can create an unfetched pointer with + `[PFObject objectWithoutDataWithClassName:objectId:]` and then call `fetchFromLocalDatastore:` on it. + + @param objects The objects to be pinned. + @param block The block to execute. + It should have the following argument signature: `^(BOOL succeeded, NSError *error)`. + + @see unpinAllInBackground:block: + @see PFObjectDefaultPin + */ ++ (void)pinAllInBackground:(NSArray *)objects + block:(PFBooleanResultBlock)block; + +/*! + @abstract *Asynchronously* stores the objects and every object they point to in the local datastore, recursively. + + @discussion If those other objects have not been fetched from Parse, they will not be stored. However, + if they have changed data, all the changes will be retained. To get the objects back later, you can + use a that uses <[PFQuery fromLocalDatastore]>, or you can create an unfetched pointer with + `[PFObject objectWithoutDataWithClassName:objectId:]` and then call `fetchFromLocalDatastore:` on it. + + @param objects The objects to be pinned. + @param name The name of the pin. + + @returns The task that encapsulates the work being done. + + @see unpinAllInBackground:withName: + */ ++ (BFTask *)pinAllInBackground:(NSArray *)objects + withName:(NSString *)name; + +/*! + @abstract *Asynchronously* stores the objects and every object they point to in the local datastore, recursively. + + @discussion If those other objects have not been fetched from Parse, they will not be stored. However, + if they have changed data, all the changes will be retained. To get the objects back later, you can + use a that uses <[PFQuery fromLocalDatastore]>, or you can create an unfetched pointer with + `[PFObject objectWithoutDataWithClassName:objectId:]` and then call `fetchFromLocalDatastore:` on it. + + @param objects The objects to be pinned. + @param name The name of the pin. + @param block The block to execute. + It should have the following argument signature: `^(BOOL succeeded, NSError *error)`. + + @see unpinAllInBackground:withName:block: + */ ++ (void)pinAllInBackground:(NSArray *)objects + withName:(NSString *)name + block:(PFBooleanResultBlock)block; + +///-------------------------------------- +/// @name Unpinning +///-------------------------------------- + +/*! + @abstract *Synchronously* removes the object and every object it points to in the local datastore, recursively, + using a default pin name: `PFObjectDefaultPin`. + + @returns Returns whether the unpin succeeded. + + @see pin: + @see PFObjectDefaultPin + */ +- (BOOL)unpin; + +/*! + @abstract *Synchronously* removes the object and every object it points to in the local datastore, recursively, + using a default pin name: `PFObjectDefaultPin`. + + @param error Pointer to an `NSError` that will be set if necessary. + + @returns Returns whether the unpin succeeded. + + @see pin: + @see PFObjectDefaultPin + */ +- (BOOL)unpin:(NSError **)error; + +/*! + @abstract *Synchronously* removes the object and every object it points to in the local datastore, recursively. + + @param name The name of the pin. + + @returns Returns whether the unpin succeeded. + + @see pinWithName: + */ +- (BOOL)unpinWithName:(NSString *)name; + +/*! + @abstract *Synchronously* removes the object and every object it points to in the local datastore, recursively. + + @param name The name of the pin. + @param error Pointer to an `NSError` that will be set if necessary. + + @returns Returns whether the unpin succeeded. + + @see pinWithName:error: + */ +- (BOOL)unpinWithName:(NSString *)name + error:(NSError **)error; + +/*! + @abstract *Asynchronously* removes the object and every object it points to in the local datastore, recursively, + using a default pin name: `PFObjectDefaultPin`. + + @returns The task that encapsulates the work being done. + + @see pinInBackground + @see PFObjectDefaultPin + */ +- (BFTask *)unpinInBackground; + +/*! + @abstract *Asynchronously* removes the object and every object it points to in the local datastore, recursively, + using a default pin name: `PFObjectDefaultPin`. + + @param block The block to execute. + It should have the following argument signature: `^(BOOL succeeded, NSError *error)`. + + @see pinInBackgroundWithBlock: + @see PFObjectDefaultPin + */ +- (void)unpinInBackgroundWithBlock:(PFBooleanResultBlock)block; + +/*! + @abstract *Asynchronously* removes the object and every object it points to in the local datastore, recursively. + + @param name The name of the pin. + + @returns The task that encapsulates the work being done. + + @see pinInBackgroundWithName: + */ +- (BFTask *)unpinInBackgroundWithName:(NSString *)name; + +/*! + @abstract *Asynchronously* removes the object and every object it points to in the local datastore, recursively. + + @param name The name of the pin. + @param block The block to execute. + It should have the following argument signature: `^(BOOL succeeded, NSError *error)`. + + @see pinInBackgroundWithName:block: + */ +- (void)unpinInBackgroundWithName:(NSString *)name + block:(PFBooleanResultBlock)block; + +///-------------------------------------- +/// @name Unpinning Many Objects +///-------------------------------------- + +/*! + @abstract *Synchronously* removes all objects in the local datastore + using a default pin name: `PFObjectDefaultPin`. + + @returns Returns whether the unpin succeeded. + + @see PFObjectDefaultPin + */ ++ (BOOL)unpinAllObjects; + +/*! + @abstract *Synchronously* removes all objects in the local datastore + using a default pin name: `PFObjectDefaultPin`. + + @param error Pointer to an `NSError` that will be set if necessary. + + @returns Returns whether the unpin succeeded. + + @see PFObjectDefaultPin + */ ++ (BOOL)unpinAllObjects:(NSError **)error; + +/*! + @abstract *Synchronously* removes all objects with the specified pin name. + + @param name The name of the pin. + + @returns Returns whether the unpin succeeded. + */ ++ (BOOL)unpinAllObjectsWithName:(NSString *)name; + +/*! + @abstract *Synchronously* removes all objects with the specified pin name. + + @param name The name of the pin. + @param error Pointer to an `NSError` that will be set if necessary. + + @returns Returns whether the unpin succeeded. + */ ++ (BOOL)unpinAllObjectsWithName:(NSString *)name + error:(NSError **)error; + +/*! + @abstract *Asynchronously* removes all objects in the local datastore + using a default pin name: `PFObjectDefaultPin`. + + @returns The task that encapsulates the work being done. + + @see PFObjectDefaultPin + */ ++ (BFTask *)unpinAllObjectsInBackground; + +/*! + @abstract *Asynchronously* removes all objects in the local datastore + using a default pin name: `PFObjectDefaultPin`. + + @param block The block to execute. + It should have the following argument signature: `^(BOOL succeeded, NSError *error)`. + + @see PFObjectDefaultPin + */ ++ (void)unpinAllObjectsInBackgroundWithBlock:(PFBooleanResultBlock)block; + +/*! + @abstract *Asynchronously* removes all objects with the specified pin name. + + @param name The name of the pin. + + @returns The task that encapsulates the work being done. + */ ++ (BFTask *)unpinAllObjectsInBackgroundWithName:(NSString *)name; + +/*! + @abstract *Asynchronously* removes all objects with the specified pin name. + + @param name The name of the pin. + @param block The block to execute. + It should have the following argument signature: `^(BOOL succeeded, NSError *error)`. + */ ++ (void)unpinAllObjectsInBackgroundWithName:(NSString *)name + block:(PFBooleanResultBlock)block; + +/*! + @abstract *Synchronously* removes the objects and every object they point to in the local datastore, recursively, + using a default pin name: `PFObjectDefaultPin`. + + @param objects The objects. + + @returns Returns whether the unpin succeeded. + + @see pinAll: + @see PFObjectDefaultPin + */ ++ (BOOL)unpinAll:(NSArray *)objects; + +/*! + @abstract *Synchronously* removes the objects and every object they point to in the local datastore, recursively, + using a default pin name: `PFObjectDefaultPin`. + + @param objects The objects. + @param error Pointer to an `NSError` that will be set if necessary. + + @returns Returns whether the unpin succeeded. + + @see pinAll:error: + @see PFObjectDefaultPin + */ ++ (BOOL)unpinAll:(NSArray *)objects error:(NSError **)error; + +/*! + @abstract *Synchronously* removes the objects and every object they point to in the local datastore, recursively. + + @param objects The objects. + @param name The name of the pin. + + @returns Returns whether the unpin succeeded. + + @see pinAll:withName: + */ ++ (BOOL)unpinAll:(NSArray *)objects withName:(NSString *)name; + +/*! + @abstract *Synchronously* removes the objects and every object they point to in the local datastore, recursively. + + @param objects The objects. + @param name The name of the pin. + @param error Pointer to an `NSError` that will be set if necessary. + + @returns Returns whether the unpin succeeded. + + @see pinAll:withName:error: + */ ++ (BOOL)unpinAll:(NSArray *)objects + withName:(NSString *)name + error:(NSError **)error; + +/*! + @abstract *Asynchronously* removes the objects and every object they point to in the local datastore, recursively, + using a default pin name: `PFObjectDefaultPin`. + + @param objects The objects. + + @returns The task that encapsulates the work being done. + + @see pinAllInBackground: + @see PFObjectDefaultPin + */ ++ (BFTask *)unpinAllInBackground:(NSArray *)objects; + +/*! + @abstract *Asynchronously* removes the objects and every object they point to in the local datastore, recursively, + using a default pin name: `PFObjectDefaultPin`. + + @param objects The objects. + @param block The block to execute. + It should have the following argument signature: `^(BOOL succeeded, NSError *error)`. + + @see pinAllInBackground:block: + @see PFObjectDefaultPin + */ ++ (void)unpinAllInBackground:(NSArray *)objects + block:(PFBooleanResultBlock)block; + +/*! + @abstract *Asynchronously* removes the objects and every object they point to in the local datastore, recursively. + + @param objects The objects. + @param name The name of the pin. + + @returns The task that encapsulates the work being done. + + @see pinAllInBackground:withName: + */ ++ (BFTask *)unpinAllInBackground:(NSArray *)objects + withName:(NSString *)name; + +/*! + @abstract *Asynchronously* removes the objects and every object they point to in the local datastore, recursively. + + @param objects The objects. + @param name The name of the pin. + @param block The block to execute. + It should have the following argument signature: `^(BOOL succeeded, NSError *error)`. + + @see pinAllInBackground:withName:block: + */ ++ (void)unpinAllInBackground:(NSArray *)objects + withName:(NSString *)name + block:(PFBooleanResultBlock)block; + +@end diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFProduct.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFProduct.h new file mode 100644 index 00000000..cd57a25e --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFProduct.h @@ -0,0 +1,76 @@ +// +// PFProduct.h +// +// Copyright 2011-present Parse Inc. All rights reserved. +// + +#import +#import +#import + +/*! + The `PFProduct` class represents an in-app purchase product on the Parse server. + By default, products can only be created via the Data Browser. Saving a `PFProduct` will result in error. + However, the products' metadata information can be queried and viewed. + + This class is currently for iOS only. + */ +@interface PFProduct : PFObject + +/*! + @abstract The name of the Installation class in the REST API. + + @discussion This is a required PFSubclassing method. + */ ++ (NSString *)parseClassName; + +///-------------------------------------- +/// @name Querying for Products +///-------------------------------------- + +/*! + @abstract A that could be used to fetch all product instances from Parse. + */ ++ (PFQuery *)query; + +///-------------------------------------- +/// @name Product-specific Properties +///-------------------------------------- + +/*! + @abstract The product identifier of the product. + + @discussion This should match the product identifier in iTunes Connect exactly. + */ +@property (nonatomic, strong) NSString *productIdentifier; + +/*! + @abstract The icon of the product. + */ +@property (nonatomic, strong) PFFile *icon; + +/*! + @abstract The title of the product. + */ +@property (nonatomic, strong) NSString *title; + +/*! + @abstract The subtitle of the product. + */ +@property (nonatomic, strong) NSString *subtitle; + +/*! + @abstract The order in which the product information is displayed in . + + @discussion The product with a smaller order is displayed earlier in the . + */ +@property (nonatomic, strong) NSNumber *order; + +/*! + @abstract The name of the associated download. + + @discussion If there is no downloadable asset, it should be `nil`. + */ +@property (nonatomic, strong, readonly) NSString *downloadName; + +@end diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFPurchase.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFPurchase.h new file mode 100644 index 00000000..3a8e6618 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFPurchase.h @@ -0,0 +1,87 @@ +// +// PFPurchase.h +// +// Copyright 2011-present Parse Inc. All rights reserved. +// + +#import +#import + +#import + +@class PFProduct; + +/*! + `PFPurchase` provides a set of APIs for working with in-app purchases. + + This class is currently for iOS only. + */ +@interface PFPurchase : NSObject + +/*! + @abstract Add application logic block which is run when buying a product. + + @discussion This method should be called once for each product, and should be called before + calling . All invocations to should happen within + the same method, and on the main thread. It is recommended to place all invocations of this method + in `application:didFinishLaunchingWithOptions:`. + + @param productIdentifier the product identifier + @param block The block to be run when buying a product. + */ ++ (void)addObserverForProduct:(NSString *)productIdentifier + block:(void(^)(SKPaymentTransaction *transaction))block; + +/*! + @abstract *Asynchronously* initiates the purchase for the product. + + @param productIdentifier the product identifier + @param block the completion block. + */ ++ (void)buyProduct:(NSString *)productIdentifier block:(void(^)(NSError *error))block; + +/*! + @abstract *Asynchronously* download the purchased asset, which is stored on Parse's server. + + @discussion Parse verifies the receipt with Apple and delivers the content only if the receipt is valid. + + @param transaction the transaction, which contains the receipt. + @param completion the completion block. + */ ++ (void)downloadAssetForTransaction:(SKPaymentTransaction *)transaction + completion:(void(^)(NSString *filePath, NSError *error))completion; + +/*! + @abstract *Asynchronously* download the purchased asset, which is stored on Parse's server. + + @discussion Parse verifies the receipt with Apple and delivers the content only if the receipt is valid. + + @param transaction the transaction, which contains the receipt. + @param completion the completion block. + @param progress the progress block, which is called multiple times to reveal progress of the download. + */ ++ (void)downloadAssetForTransaction:(SKPaymentTransaction *)transaction + completion:(void(^)(NSString *filePath, NSError *error))completion + progress:(PFProgressBlock)progress; + +/*! + @abstract *Asynchronously* restore completed transactions for the current user. + + @discussion Only nonconsumable purchases are restored. If observers for the products have been added before + calling this method, invoking the method reruns the application logic associated with the purchase. + + @warning This method is only important to developers who want to preserve purchase states across + different installations of the same app. + */ ++ (void)restore; + +/* + @abstract Returns a content path of the asset of a product, if it was purchased and downloaded. + + @discussion To download and verify purchases use . + + @warning This method will return `nil`, if the purchase wasn't verified or if the asset was not downloaded. + */ ++ (NSString *)assetContentPathForProduct:(PFProduct *)product; + +@end diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFPush.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFPush.h new file mode 100644 index 00000000..961a8065 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFPush.h @@ -0,0 +1,523 @@ +// +// PFPush.h +// +// Copyright 2011-present Parse Inc. All rights reserved. +// + +#import + +#import + +@class BFTask; +@class PFQuery; + +/*! + The `PFPush` class defines a push notification that can be sent from a client device. + + The preferred way of modifying or retrieving channel subscriptions is to use + the class, instead of the class methods in `PFPush`. + + This class is currently for iOS only. Parse does not handle Push Notifications + to Parse applications running on OS X. Push Notifications can be sent from OS X + applications via Cloud Code or the REST API to push-enabled devices (e.g. iOS or Android). + */ +@interface PFPush : NSObject + +///-------------------------------------- +/// @name Creating a Push Notification +///-------------------------------------- + ++ (PFPush *)push; + +///-------------------------------------- +/// @name Configuring a Push Notification +///-------------------------------------- + +/*! + @abstract Sets the channel on which this push notification will be sent. + + @param channel The channel to set for this push. + The channel name must start with a letter and contain only letters, numbers, dashes, and underscores. + */ +- (void)setChannel:(NSString *)channel; + +/*! + @abstract Sets the array of channels on which this push notification will be sent. + + @param channels The array of channels to set for this push. + Each channel name must start with a letter and contain only letters, numbers, dashes, and underscores. + */ +- (void)setChannels:(NSArray *)channels; + +/*! + @abstract Sets an installation query to which this push notification will be sent. + + @discussion The query should be created via <[PFInstallation query]> and should not specify a skip, limit, or order. + + @param query The installation query to set for this push. + */ +- (void)setQuery:(PFQuery *)query; + +/*! + @abstract Sets an alert message for this push notification. + + @warning This will overwrite any data specified in setData. + + @param message The message to send in this push. + */ +- (void)setMessage:(NSString *)message; + +/*! + @abstract Sets an arbitrary data payload for this push notification. + + @discussion See the guide for information about the dictionary structure. + + @warning This will overwrite any data specified in setMessage. + + @param data The data to send in this push. + */ +- (void)setData:(NSDictionary *)data; + +/*! + @abstract Sets whether this push will go to Android devices. + + @param pushToAndroid Whether this push will go to Android devices. + + @deprecated Please use a `[PFInstallation query]` with a constraint on deviceType instead. + */ +- (void)setPushToAndroid:(BOOL)pushToAndroid PARSE_DEPRECATED("Please use a [PFInstallation query] with a constraint on deviceType."); + +/*! + @abstract Sets whether this push will go to iOS devices. + + @param pushToIOS Whether this push will go to iOS devices. + + @deprecated Please use a `[PFInstallation query]` with a constraint on deviceType instead. + */ +- (void)setPushToIOS:(BOOL)pushToIOS PARSE_DEPRECATED("Please use a [PFInstallation query] with a constraint on deviceType."); + +/*! + @abstract Sets the expiration time for this notification. + + @discussion The notification will be sent to devices which are either online + at the time the notification is sent, or which come online before the expiration time is reached. + Because device clocks are not guaranteed to be accurate, + most applications should instead use . + + @see expireAfterTimeInterval: + + @param date The time at which the notification should expire. + */ +- (void)expireAtDate:(NSDate *)date; + +/*! + @abstract Sets the time interval after which this notification should expire. + + @discussion This notification will be sent to devices which are either online at + the time the notification is sent, or which come online within the given + time interval of the notification being received by Parse's server. + An interval which is less than or equal to zero indicates that the + message should only be sent to devices which are currently online. + + @param timeInterval The interval after which the notification should expire. + */ +- (void)expireAfterTimeInterval:(NSTimeInterval)timeInterval; + +/*! + @abstract Clears both expiration values, indicating that the notification should never expire. + */ +- (void)clearExpiration; + +///-------------------------------------- +/// @name Sending Push Notifications +///-------------------------------------- + +/*! + @abstract *Synchronously* send a push message to a channel. + + @param channel The channel to send to. The channel name must start with + a letter and contain only letters, numbers, dashes, and underscores. + @param message The message to send. + @param error Pointer to an `NSError` that will be set if necessary. + + @returns Returns whether the send succeeded. + */ ++ (BOOL)sendPushMessageToChannel:(NSString *)channel + withMessage:(NSString *)message + error:(NSError **)error; + +/*! + @abstract *Asynchronously* send a push message to a channel. + + @param channel The channel to send to. The channel name must start with + a letter and contain only letters, numbers, dashes, and underscores. + @param message The message to send. + + @returns The task, that encapsulates the work being done. + */ ++ (BFTask *)sendPushMessageToChannelInBackground:(NSString *)channel + withMessage:(NSString *)message; + +/*! + @abstract *Asynchronously* sends a push message to a channel and calls the given block. + + @param channel The channel to send to. The channel name must start with + a letter and contain only letters, numbers, dashes, and underscores. + @param message The message to send. + @param block The block to execute. + It should have the following argument signature: `^(BOOL succeeded, NSError *error)` + */ ++ (void)sendPushMessageToChannelInBackground:(NSString *)channel + withMessage:(NSString *)message + block:(PFBooleanResultBlock)block; + +/* + @abstract *Asynchronously* send a push message to a channel. + + @param channel The channel to send to. The channel name must start with + a letter and contain only letters, numbers, dashes, and underscores. + @param message The message to send. + @param target The object to call selector on. + @param selector The selector to call. + It should have the following signature: `(void)callbackWithResult:(NSNumber *)result error:(NSError *)error`. + `error` will be `nil` on success and set if there was an error. + `[result boolValue]` will tell you whether the call succeeded or not. + */ ++ (void)sendPushMessageToChannelInBackground:(NSString *)channel + withMessage:(NSString *)message + target:(id)target + selector:(SEL)selector; + +/*! + @abstract Send a push message to a query. + + @param query The query to send to. The query must be a query created with <[PFInstallation query]>. + @param message The message to send. + @param error Pointer to an NSError that will be set if necessary. + + @returns Returns whether the send succeeded. + */ ++ (BOOL)sendPushMessageToQuery:(PFQuery *)query + withMessage:(NSString *)message + error:(NSError **)error; + +/*! + @abstract *Asynchronously* send a push message to a query. + + @param query The query to send to. The query must be a query created with <[PFInstallation query]>. + @param message The message to send. + + @returns The task, that encapsulates the work being done. + */ ++ (BFTask *)sendPushMessageToQueryInBackground:(PFQuery *)query + withMessage:(NSString *)message; + +/*! + @abstract *Asynchronously* sends a push message to a query and calls the given block. + + @param query The query to send to. The query must be a PFInstallation query + created with [PFInstallation query]. + @param message The message to send. + @param block The block to execute. + It should have the following argument signature: `^(BOOL succeeded, NSError *error)` + */ ++ (void)sendPushMessageToQueryInBackground:(PFQuery *)query + withMessage:(NSString *)message + block:(PFBooleanResultBlock)block; + +/*! + @abstract *Synchronously* send this push message. + + @param error Pointer to an `NSError` that will be set if necessary. + + @returns Returns whether the send succeeded. + */ +- (BOOL)sendPush:(NSError **)error; + +/*! + @abstract *Asynchronously* send this push message. + @returns The task, that encapsulates the work being done. + */ +- (BFTask *)sendPushInBackground; + +/*! + @abstract *Asynchronously* send this push message and executes the given callback block. + + @param block The block to execute. + It should have the following argument signature: `^(BOOL succeeded, NSError *error)`. + */ +- (void)sendPushInBackgroundWithBlock:(PFBooleanResultBlock)block; + +/* + @abstract *Asynchronously* send this push message and calls the given callback. + + @param target The object to call selector on. + @param selector The selector to call. + It should have the following signature: `(void)callbackWithResult:(NSNumber *)result error:(NSError *)error`. + `error` will be `nil` on success and set if there was an error. + `[result boolValue]` will tell you whether the call succeeded or not. + */ +- (void)sendPushInBackgroundWithTarget:(id)target selector:(SEL)selector; + +/*! + @abstract *Synchronously* send a push message with arbitrary data to a channel. + + @discussion See the guide for information about the dictionary structure. + + @param channel The channel to send to. The channel name must start with + a letter and contain only letters, numbers, dashes, and underscores. + @param data The data to send. + @param error Pointer to an NSError that will be set if necessary. + + @returns Returns whether the send succeeded. + */ ++ (BOOL)sendPushDataToChannel:(NSString *)channel + withData:(NSDictionary *)data + error:(NSError **)error; + +/*! + @abstract *Asynchronously* send a push message with arbitrary data to a channel. + + @discussion See the guide for information about the dictionary structure. + + @param channel The channel to send to. The channel name must start with + a letter and contain only letters, numbers, dashes, and underscores. + @param data The data to send. + + @returns The task, that encapsulates the work being done. + */ ++ (BFTask *)sendPushDataToChannelInBackground:(NSString *)channel + withData:(NSDictionary *)data; + +/*! + @abstract Asynchronously sends a push message with arbitrary data to a channel and calls the given block. + + @discussion See the guide for information about the dictionary structure. + + @param channel The channel to send to. The channel name must start with + a letter and contain only letters, numbers, dashes, and underscores. + @param data The data to send. + @param block The block to execute. + It should have the following argument signature: `^(BOOL succeeded, NSError *error)`. + */ ++ (void)sendPushDataToChannelInBackground:(NSString *)channel + withData:(NSDictionary *)data + block:(PFBooleanResultBlock)block; + +/* + @abstract *Asynchronously* send a push message with arbitrary data to a channel. + + @discussion See the guide for information about the dictionary structure. + + @param channel The channel to send to. The channel name must start with + a letter and contain only letters, numbers, dashes, and underscores. + @param data The data to send. + @param target The object to call selector on. + @param selector The selector to call. + It should have the following signature: `(void)callbackWithResult:(NSNumber *)result error:(NSError *)error`. + `error` will be `nil` on success and set if there was an error. + `[result boolValue]` will tell you whether the call succeeded or not. + */ ++ (void)sendPushDataToChannelInBackground:(NSString *)channel + withData:(NSDictionary *)data + target:(id)target + selector:(SEL)selector; + +/*! + @abstract *Synchronously* send a push message with arbitrary data to a query. + + @discussion See the guide for information about the dictionary structure. + + @param query The query to send to. The query must be a query + created with <[PFInstallation query]>. + @param data The data to send. + @param error Pointer to an NSError that will be set if necessary. + + @returns Returns whether the send succeeded. + */ ++ (BOOL)sendPushDataToQuery:(PFQuery *)query + withData:(NSDictionary *)data + error:(NSError **)error; + +/*! + @abstract Asynchronously send a push message with arbitrary data to a query. + + @discussion See the guide for information about the dictionary structure. + + @param query The query to send to. The query must be a query + created with <[PFInstallation query]>. + @param data The data to send. + + @returns The task, that encapsulates the work being done. + */ ++ (BFTask *)sendPushDataToQueryInBackground:(PFQuery *)query + withData:(NSDictionary *)data; + +/*! + @abstract *Asynchronously* sends a push message with arbitrary data to a query and calls the given block. + + @discussion See the guide for information about the dictionary structure. + + @param query The query to send to. The query must be a query + created with <[PFInstallation query]>. + @param data The data to send. + @param block The block to execute. + It should have the following argument signature: `^(BOOL succeeded, NSError *error)`. + */ ++ (void)sendPushDataToQueryInBackground:(PFQuery *)query + withData:(NSDictionary *)data + block:(PFBooleanResultBlock)block; + +///-------------------------------------- +/// @name Handling Notifications +///-------------------------------------- + +/*! + @abstract A default handler for push notifications while the app is active that + could be used to mimic the behavior of iOS push notifications while the app is backgrounded or not running. + + @discussion Call this from `application:didReceiveRemoteNotification:`. + + @param userInfo The userInfo dictionary you get in `appplication:didReceiveRemoteNotification:`. + */ ++ (void)handlePush:(NSDictionary *)userInfo; + +///-------------------------------------- +/// @name Managing Channel Subscriptions +///-------------------------------------- + +/*! + @abstract Store the device token locally for push notifications. + + @discussion Usually called from you main app delegate's `didRegisterForRemoteNotificationsWithDeviceToken:`. + + @param deviceToken Either as an `NSData` straight from `application:didRegisterForRemoteNotificationsWithDeviceToken:` + or as an `NSString` if you converted it yourself. + */ ++ (void)storeDeviceToken:(id)deviceToken; + +/*! + @abstract *Synchronously* get all the channels that this device is subscribed to. + + @param error Pointer to an `NSError` that will be set if necessary. + + @returns Returns an `NSSet` containing all the channel names this device is subscribed to. + */ ++ (NSSet *)getSubscribedChannels:(NSError **)error; + +/*! + @abstract *Asynchronously* get all the channels that this device is subscribed to. + + @returns The task, that encapsulates the work being done. + */ ++ (BFTask *)getSubscribedChannelsInBackground; + +/*! + @abstract *Asynchronously* get all the channels that this device is subscribed to. + @param block The block to execute. + It should have the following argument signature: `^(NSSet *channels, NSError *error)`. + */ ++ (void)getSubscribedChannelsInBackgroundWithBlock:(PFSetResultBlock)block; + +/* + @abstract *Asynchronously* get all the channels that this device is subscribed to. + + @param target The object to call selector on. + @param selector The selector to call. + It should have the following signature: `(void)callbackWithResult:(NSSet *)result error:(NSError *)error`. + `error` will be `nil` on success and set if there was an error. + */ ++ (void)getSubscribedChannelsInBackgroundWithTarget:(id)target + selector:(SEL)selector; + +/*! + @abstract *Synchrnously* subscribes the device to a channel of push notifications. + + @param channel The channel to subscribe to. The channel name must start with + a letter and contain only letters, numbers, dashes, and underscores. + @param error Pointer to an `NSError` that will be set if necessary. + + @returns Returns whether the subscribe succeeded. + */ ++ (BOOL)subscribeToChannel:(NSString *)channel error:(NSError **)error; + +/*! + @abstract *Asynchronously* subscribes the device to a channel of push notifications. + + @param channel The channel to subscribe to. The channel name must start with + a letter and contain only letters, numbers, dashes, and underscores. + + @returns The task, that encapsulates the work being done. + */ ++ (BFTask *)subscribeToChannelInBackground:(NSString *)channel; + +/*! + @abstract *Asynchronously* subscribes the device to a channel of push notifications and calls the given block. + + @param channel The channel to subscribe to. The channel name must start with + a letter and contain only letters, numbers, dashes, and underscores. + @param block The block to execute. + It should have the following argument signature: `^(BOOL succeeded, NSError *error)` + */ ++ (void)subscribeToChannelInBackground:(NSString *)channel + block:(PFBooleanResultBlock)block; + +/* + @abstract *Asynchronously* subscribes the device to a channel of push notifications and calls the given callback. + + @param channel The channel to subscribe to. The channel name must start with + a letter and contain only letters, numbers, dashes, and underscores. + @param target The object to call selector on. + @param selector The selector to call. + It should have the following signature: `(void)callbackWithResult:(NSNumber *)result error:(NSError *)error`. + `error` will be `nil` on success and set if there was an error. + `[result boolValue]` will tell you whether the call succeeded or not. + */ ++ (void)subscribeToChannelInBackground:(NSString *)channel + target:(id)target + selector:(SEL)selector; + +/*! + @abstract *Synchronously* unsubscribes the device to a channel of push notifications. + + @param channel The channel to unsubscribe from. + @param error Pointer to an `NSError` that will be set if necessary. + + @returns Returns whether the unsubscribe succeeded. + */ ++ (BOOL)unsubscribeFromChannel:(NSString *)channel error:(NSError **)error; + +/*! + @abstract *Asynchronously* unsubscribes the device from a channel of push notifications. + + @param channel The channel to unsubscribe from. + + @returns The task, that encapsulates the work being done. + */ ++ (BFTask *)unsubscribeFromChannelInBackground:(NSString *)channel; + +/*! + @abstract *Asynchronously* unsubscribes the device from a channel of push notifications and calls the given block. + + @param channel The channel to unsubscribe from. + @param block The block to execute. + It should have the following argument signature: `^(BOOL succeeded, NSError *error)`. + */ ++ (void)unsubscribeFromChannelInBackground:(NSString *)channel + block:(PFBooleanResultBlock)block; + +/* + @abstract *Asynchronously* unsubscribes the device from a channel of push notifications and calls the given callback. + + @param channel The channel to unsubscribe from. + @param target The object to call selector on. + @param selector The selector to call. + It should have the following signature: `(void)callbackWithResult:(NSNumber *)result error:(NSError *)error`. + `error` will be `nil` on success and set if there was an error. + `[result boolValue]` will tell you whether the call succeeded or not. + */ ++ (void)unsubscribeFromChannelInBackground:(NSString *)channel + target:(id)target + selector:(SEL)selector; + +@end diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFQuery.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFQuery.h new file mode 100644 index 00000000..e78f98a3 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFQuery.h @@ -0,0 +1,791 @@ +// +// PFQuery.h +// +// Copyright 2011-present Parse Inc. All rights reserved. +// + +#import + +#if TARGET_OS_IPHONE +#import +#import +#import +#import +#else +#import +#import +#import +#import +#endif + +@class BFTask; + +/*! + The `PFQuery` class defines a query that is used to query for s. + */ +@interface PFQuery : NSObject + +///-------------------------------------- +/// @name Creating a Query for a Class +///-------------------------------------- + +/*! + @abstract Returns a `PFQuery` for a given class. + + @param className The class to query on. + + @returns A `PFQuery` object. + */ ++ (PFQuery *)queryWithClassName:(NSString *)className; + +/*! + @abstract Creates a PFQuery with the constraints given by predicate. + + @discussion The following types of predicates are supported: + + - Simple comparisons such as `=`, `!=`, `<`, `>`, `<=`, `>=`, and `BETWEEN` with a key and a constant. + - Containment predicates, such as `x IN {1, 2, 3}`. + - Key-existence predicates, such as `x IN SELF`. + - BEGINSWITH expressions. + - Compound predicates with `AND`, `OR`, and `NOT`. + - SubQueries with `key IN %@`, subquery. + + The following types of predicates are NOT supported: + + - Aggregate operations, such as `ANY`, `SOME`, `ALL`, or `NONE`. + - Regular expressions, such as `LIKE`, `MATCHES`, `CONTAINS`, or `ENDSWITH`. + - Predicates comparing one key to another. + - Complex predicates with many ORed clauses. + + @param className The class to query on. + @param predicate The predicate to create conditions from. + */ ++ (PFQuery *)queryWithClassName:(NSString *)className predicate:(NSPredicate *)predicate; + +/*! + Initializes the query with a class name. + @param newClassName The class name. + */ +- (instancetype)initWithClassName:(NSString *)newClassName; + +/*! + The class name to query for + */ +@property (nonatomic, strong) NSString *parseClassName; + +///-------------------------------------- +/// @name Adding Basic Constraints +///-------------------------------------- + +/*! + @abstract Make the query include PFObjects that have a reference stored at the provided key. + + @discussion This has an effect similar to a join. You can use dot notation to specify which fields in + the included object are also fetch. + + @param key The key to load child s for. + */ +- (void)includeKey:(NSString *)key; + +/*! + @abstract Make the query restrict the fields of the returned s to include only the provided keys. + + @discussion If this is called multiple times, then all of the keys specified in each of the calls will be included. + + @param keys The keys to include in the result. + */ +- (void)selectKeys:(NSArray *)keys; + +/*! + @abstract Add a constraint that requires a particular key exists. + + @param key The key that should exist. + */ +- (void)whereKeyExists:(NSString *)key; + +/*! + @abstract Add a constraint that requires a key not exist. + + @param key The key that should not exist. + */ +- (void)whereKeyDoesNotExist:(NSString *)key; + +/*! + @abstract Add a constraint to the query that requires a particular key's object to be equal to the provided object. + + @param key The key to be constrained. + @param object The object that must be equalled. + */ +- (void)whereKey:(NSString *)key equalTo:(id)object; + +/*! + @abstract Add a constraint to the query that requires a particular key's object to be less than the provided object. + + @param key The key to be constrained. + @param object The object that provides an upper bound. + */ +- (void)whereKey:(NSString *)key lessThan:(id)object; + +/*! + @abstract Add a constraint to the query that requires a particular key's object + to be less than or equal to the provided object. + + @param key The key to be constrained. + @param object The object that must be equalled. + */ +- (void)whereKey:(NSString *)key lessThanOrEqualTo:(id)object; + +/*! + @abstract Add a constraint to the query that requires a particular key's object + to be greater than the provided object. + + @param key The key to be constrained. + @param object The object that must be equalled. + */ +- (void)whereKey:(NSString *)key greaterThan:(id)object; + +/*! + @abstract Add a constraint to the query that requires a particular key's + object to be greater than or equal to the provided object. + + @param key The key to be constrained. + @param object The object that must be equalled. + */ +- (void)whereKey:(NSString *)key greaterThanOrEqualTo:(id)object; + +/*! + @abstract Add a constraint to the query that requires a particular key's object + to be not equal to the provided object. + + @param key The key to be constrained. + @param object The object that must not be equalled. + */ +- (void)whereKey:(NSString *)key notEqualTo:(id)object; + +/*! + @abstract Add a constraint to the query that requires a particular key's object + to be contained in the provided array. + + @param key The key to be constrained. + @param array The possible values for the key's object. + */ +- (void)whereKey:(NSString *)key containedIn:(NSArray *)array; + +/*! + @abstract Add a constraint to the query that requires a particular key's object + not be contained in the provided array. + + @param key The key to be constrained. + @param array The list of values the key's object should not be. + */ +- (void)whereKey:(NSString *)key notContainedIn:(NSArray *)array; + +/*! + @abstract Add a constraint to the query that requires a particular key's array + contains every element of the provided array. + + @param key The key to be constrained. + @param array The array of values to search for. + */ +- (void)whereKey:(NSString *)key containsAllObjectsInArray:(NSArray *)array; + +///-------------------------------------- +/// @name Adding Location Constraints +///-------------------------------------- + +/*! + @abstract Add a constraint to the query that requires a particular key's coordinates (specified via ) + be near a reference point. + + @discussion Distance is calculated based on angular distance on a sphere. Results will be sorted by distance + from reference point. + + @param key The key to be constrained. + @param geopoint The reference point represented as a . + */ +- (void)whereKey:(NSString *)key nearGeoPoint:(PFGeoPoint *)geopoint; + +/*! + @abstract Add a constraint to the query that requires a particular key's coordinates (specified via ) + be near a reference point and within the maximum distance specified (in miles). + + @discussion Distance is calculated based on a spherical coordinate system. + Results will be sorted by distance (nearest to farthest) from the reference point. + + @param key The key to be constrained. + @param geopoint The reference point represented as a . + @param maxDistance Maximum distance in miles. + */ +- (void)whereKey:(NSString *)key nearGeoPoint:(PFGeoPoint *)geopoint withinMiles:(double)maxDistance; + +/*! + @abstract Add a constraint to the query that requires a particular key's coordinates (specified via ) + be near a reference point and within the maximum distance specified (in kilometers). + + @discussion Distance is calculated based on a spherical coordinate system. + Results will be sorted by distance (nearest to farthest) from the reference point. + + @param key The key to be constrained. + @param geopoint The reference point represented as a . + @param maxDistance Maximum distance in kilometers. + */ +- (void)whereKey:(NSString *)key nearGeoPoint:(PFGeoPoint *)geopoint withinKilometers:(double)maxDistance; + +/*! + Add a constraint to the query that requires a particular key's coordinates (specified via ) be near + a reference point and within the maximum distance specified (in radians). Distance is calculated based on + angular distance on a sphere. Results will be sorted by distance (nearest to farthest) from the reference point. + + @param key The key to be constrained. + @param geopoint The reference point as a . + @param maxDistance Maximum distance in radians. + */ +- (void)whereKey:(NSString *)key nearGeoPoint:(PFGeoPoint *)geopoint withinRadians:(double)maxDistance; + +/*! + @abstract Add a constraint to the query that requires a particular key's coordinates (specified via ) be + contained within a given rectangular geographic bounding box. + + @param key The key to be constrained. + @param southwest The lower-left inclusive corner of the box. + @param northeast The upper-right inclusive corner of the box. + */ +- (void)whereKey:(NSString *)key withinGeoBoxFromSouthwest:(PFGeoPoint *)southwest toNortheast:(PFGeoPoint *)northeast; + +///-------------------------------------- +/// @name Adding String Constraints +///-------------------------------------- + +/*! + @abstract Add a regular expression constraint for finding string values that match the provided regular expression. + + @warning This may be slow for large datasets. + + @param key The key that the string to match is stored in. + @param regex The regular expression pattern to match. + */ +- (void)whereKey:(NSString *)key matchesRegex:(NSString *)regex; + +/*! + @abstract Add a regular expression constraint for finding string values that match the provided regular expression. + + @warning This may be slow for large datasets. + + @param key The key that the string to match is stored in. + @param regex The regular expression pattern to match. + @param modifiers Any of the following supported PCRE modifiers: + - `i` - Case insensitive search + - `m` - Search across multiple lines of input + */ +- (void)whereKey:(NSString *)key matchesRegex:(NSString *)regex modifiers:(NSString *)modifiers; + +/*! + @abstract Add a constraint for finding string values that contain a provided substring. + + @warning This will be slow for large datasets. + + @param key The key that the string to match is stored in. + @param substring The substring that the value must contain. + */ +- (void)whereKey:(NSString *)key containsString:(NSString *)substring; + +/*! + @abstract Add a constraint for finding string values that start with a provided prefix. + + @discussion This will use smart indexing, so it will be fast for large datasets. + + @param key The key that the string to match is stored in. + @param prefix The substring that the value must start with. + */ +- (void)whereKey:(NSString *)key hasPrefix:(NSString *)prefix; + +/*! + @abstract Add a constraint for finding string values that end with a provided suffix. + + @warning This will be slow for large datasets. + + @param key The key that the string to match is stored in. + @param suffix The substring that the value must end with. + */ +- (void)whereKey:(NSString *)key hasSuffix:(NSString *)suffix; + +///-------------------------------------- +/// @name Adding Subqueries +///-------------------------------------- + +/*! + Returns a `PFQuery` that is the `or` of the passed in queries. + + @param queries The list of queries to or together. + + @returns An instance of `PFQuery` that is the `or` of the passed in queries. + */ ++ (PFQuery *)orQueryWithSubqueries:(NSArray *)queries; + +/*! + @abstract Adds a constraint that requires that a key's value matches a value in another key + in objects returned by a sub query. + + @param key The key that the value is stored. + @param otherKey The key in objects in the returned by the sub query whose value should match. + @param query The query to run. + */ +- (void)whereKey:(NSString *)key matchesKey:(NSString *)otherKey inQuery:(PFQuery *)query; + +/*! + @abstract Adds a constraint that requires that a key's value `NOT` match a value in another key + in objects returned by a sub query. + + @param key The key that the value is stored. + @param otherKey The key in objects in the returned by the sub query whose value should match. + @param query The query to run. + */ +- (void)whereKey:(NSString *)key doesNotMatchKey:(NSString *)otherKey inQuery:(PFQuery *)query; + +/*! + @abstract Add a constraint that requires that a key's value matches a `PFQuery` constraint. + + @warning This only works where the key's values are s or arrays of s. + + @param key The key that the value is stored in + @param query The query the value should match + */ +- (void)whereKey:(NSString *)key matchesQuery:(PFQuery *)query; + +/*! + @abstract Add a constraint that requires that a key's value to not match a `PFQuery` constraint. + + @warning This only works where the key's values are s or arrays of s. + + @param key The key that the value is stored in + @param query The query the value should not match + */ +- (void)whereKey:(NSString *)key doesNotMatchQuery:(PFQuery *)query; + +///-------------------------------------- +/// @name Sorting +///-------------------------------------- + +/*! + @abstract Sort the results in *ascending* order with the given key. + + @param key The key to order by. + */ +- (void)orderByAscending:(NSString *)key; + +/*! + @abstract Additionally sort in *ascending* order by the given key. + + @discussion The previous keys provided will precedence over this key. + + @param key The key to order bye + */ +- (void)addAscendingOrder:(NSString *)key; + +/*! + @abstract Sort the results in *descending* order with the given key. + + @param key The key to order by. + */ +- (void)orderByDescending:(NSString *)key; + +/*! + @abstract Additionally sort in *descending* order by the given key. + + @discussion The previous keys provided will precedence over this key. + + @param key The key to order bye + */ +- (void)addDescendingOrder:(NSString *)key; + +/*! + @abstract Sort the results using a given sort descriptor. + + @param sortDescriptor The `NSSortDescriptor` to use to sort the results of the query. + */ +- (void)orderBySortDescriptor:(NSSortDescriptor *)sortDescriptor; + +/*! + @abstract Sort the results using a given array of sort descriptors. + + @param sortDescriptors An array of `NSSortDescriptor` objects to use to sort the results of the query. + */ +- (void)orderBySortDescriptors:(NSArray *)sortDescriptors; + +///-------------------------------------- +/// @name Getting Objects by ID +///-------------------------------------- + +/*! + @abstract Returns a with a given class and id. + + @param objectClass The class name for the object that is being requested. + @param objectId The id of the object that is being requested. + + @returns The if found. Returns `nil` if the object isn't found, or if there was an error. + */ ++ (PFObject *)getObjectOfClass:(NSString *)objectClass + objectId:(NSString *)objectId; + +/*! + @abstract Returns a with a given class and id and sets an error if necessary. + + @param objectClass The class name for the object that is being requested. + @param objectId The id of the object that is being requested. + @param error Pointer to an `NSError` that will be set if necessary. + + @returns The if found. Returns `nil` if the object isn't found, or if there was an `error`. + */ ++ (PFObject *)getObjectOfClass:(NSString *)objectClass + objectId:(NSString *)objectId + error:(NSError **)error; + +/*! + @abstract Returns a with the given id. + + @warning This method mutates the query. + It will reset limit to `1`, skip to `0` and remove all conditions, leaving only `objectId`. + + @param objectId The id of the object that is being requested. + + @returns The if found. Returns nil if the object isn't found, or if there was an error. + */ +- (PFObject *)getObjectWithId:(NSString *)objectId; + +/*! + @abstract Returns a with the given id and sets an error if necessary. + + @warning This method mutates the query. + It will reset limit to `1`, skip to `0` and remove all conditions, leaving only `objectId`. + + @param objectId The id of the object that is being requested. + @param error Pointer to an `NSError` that will be set if necessary. + + @returns The if found. Returns nil if the object isn't found, or if there was an error. + */ +- (PFObject *)getObjectWithId:(NSString *)objectId error:(NSError **)error; + +/*! + @abstract Gets a asynchronously and calls the given block with the result. + + @warning This method mutates the query. + It will reset limit to `1`, skip to `0` and remove all conditions, leaving only `objectId`. + + @param objectId The id of the object that is being requested. + + @returns The task, that encapsulates the work being done. + */ +- (BFTask *)getObjectInBackgroundWithId:(NSString *)objectId; + +/*! + @asbtract Gets a asynchronously and calls the given block with the result. + + @warning This method mutates the query. + It will reset limit to `1`, skip to `0` and remove all conditions, leaving only `objectId`. + + @param objectId The id of the object that is being requested. + @param block The block to execute. + The block should have the following argument signature: `^(NSArray *object, NSError *error)` + */ +- (void)getObjectInBackgroundWithId:(NSString *)objectId + block:(PFObjectResultBlock)block; + +/* + @abstract Gets a asynchronously. + + This mutates the PFQuery. It will reset limit to `1`, skip to `0` and remove all conditions, leaving only `objectId`. + + @param objectId The id of the object being requested. + @param target The target for the callback selector. + @param selector The selector for the callback. + It should have the following signature: `(void)callbackWithResult:(id)result error:(NSError *)error`. + Result will be `nil` if error is set and vice versa. + */ +- (void)getObjectInBackgroundWithId:(NSString *)objectId + target:(id)target + selector:(SEL)selector; + +///-------------------------------------- +/// @name Getting User Objects +///-------------------------------------- + +/*! + @asbtract Returns a with a given id. + + @param objectId The id of the object that is being requested. + + @returns The PFUser if found. Returns nil if the object isn't found, or if there was an error. + */ ++ (PFUser *)getUserObjectWithId:(NSString *)objectId; + +/*! + Returns a PFUser with a given class and id and sets an error if necessary. + @param objectId The id of the object that is being requested. + @param error Pointer to an NSError that will be set if necessary. + @result The PFUser if found. Returns nil if the object isn't found, or if there was an error. + */ ++ (PFUser *)getUserObjectWithId:(NSString *)objectId + error:(NSError **)error; + +/*! + @deprecated Please use [PFUser query] instead. + */ ++ (PFQuery *)queryForUser PARSE_DEPRECATED("Use [PFUser query] instead."); + +///-------------------------------------- +/// @name Getting all Matches for a Query +///-------------------------------------- + +/*! + @asbtract Finds objects *synchronously* based on the constructed query. + + @returns Returns an array of objects that were found. + */ +- (NSArray *)findObjects; + +/*! + @abstract Finds objects *synchronously* based on the constructed query and sets an error if there was one. + + @param error Pointer to an `NSError` that will be set if necessary. + + @returns Returns an array of objects that were found. + */ +- (NSArray *)findObjects:(NSError **)error; + +/*! + @asbtract Finds objects *asynchronously* and sets the `NSArray` of objects as a result of the task. + + @returns The task, that encapsulates the work being done. + */ +- (BFTask *)findObjectsInBackground; + +/*! + @abstract Finds objects *asynchronously* and calls the given block with the results. + + @param block The block to execute. + It should have the following argument signature: `^(NSArray *objects, NSError *error)` + */ +- (void)findObjectsInBackgroundWithBlock:(PFArrayResultBlock)block; + +/* + @abstract Finds objects *asynchronously* and calls the given callback with the results. + + @param target The object to call the selector on. + @param selector The selector to call. + It should have the following signature: `(void)callbackWithResult:(id)result error:(NSError *)error`. + Result will be `nil` if error is set and vice versa. + */ +- (void)findObjectsInBackgroundWithTarget:(id)target selector:(SEL)selector; + +///-------------------------------------- +/// @name Getting the First Match in a Query +///-------------------------------------- + +/*! + @abstract Gets an object *synchronously* based on the constructed query. + + @warning This method mutates the query. It will reset the limit to `1`. + + @returns Returns a , or `nil` if none was found. + */ +- (PFObject *)getFirstObject; + +/*! + @abstract Gets an object *synchronously* based on the constructed query and sets an error if any occurred. + + @warning This method mutates the query. It will reset the limit to `1`. + + @param error Pointer to an `NSError` that will be set if necessary. + + @returns Returns a , or `nil` if none was found. + */ +- (PFObject *)getFirstObject:(NSError **)error; + +/*! + @abstract Gets an object *asynchronously* and sets it as a result of the task. + + @warning This method mutates the query. It will reset the limit to `1`. + + @returns The task, that encapsulates the work being done. + */ +- (BFTask *)getFirstObjectInBackground; + +/*! + @abstract Gets an object *asynchronously* and calls the given block with the result. + + @warning This method mutates the query. It will reset the limit to `1`. + + @param block The block to execute. + It should have the following argument signature: `^(PFObject *object, NSError *error)`. + `result` will be `nil` if `error` is set OR no object was found matching the query. + `error` will be `nil` if `result` is set OR if the query succeeded, but found no results. + */ +- (void)getFirstObjectInBackgroundWithBlock:(PFObjectResultBlock)block; + +/* + @abstract Gets an object *asynchronously* and calls the given callback with the results. + + @warning This method mutates the query. It will reset the limit to `1`. + + @param target The object to call the selector on. + @param selector The selector to call. + It should have the following signature: `(void)callbackWithResult:(PFObject *)result error:(NSError *)error`. + `result` will be `nil` if `error` is set OR no object was found matching the query. + `error` will be `nil` if `result` is set OR if the query succeeded, but found no results. + */ +- (void)getFirstObjectInBackgroundWithTarget:(id)target selector:(SEL)selector; + +///-------------------------------------- +/// @name Counting the Matches in a Query +///-------------------------------------- + +/*! + @abstract Counts objects *synchronously* based on the constructed query. + + @returns Returns the number of objects that match the query, or `-1` if there is an error. + */ +- (NSInteger)countObjects; + +/*! + @abstract Counts objects *synchronously* based on the constructed query and sets an error if there was one. + + @param error Pointer to an `NSError` that will be set if necessary. + + @returns Returns the number of objects that match the query, or `-1` if there is an error. + */ +- (NSInteger)countObjects:(NSError **)error; + +/*! + @abstract Counts objects *asynchronously* and sets `NSNumber` with count as a result of the task. + + @returns The task, that encapsulates the work being done. + */ +- (BFTask *)countObjectsInBackground; + +/*! + @abstract Counts objects *asynchronously* and calls the given block with the counts. + + @param block The block to execute. + It should have the following argument signature: `^(int count, NSError *error)` + */ +- (void)countObjectsInBackgroundWithBlock:(PFIntegerResultBlock)block; + +/* + @abstract Counts objects *asynchronously* and calls the given callback with the count. + + @param target The object to call the selector on. + @param selector The selector to call. + It should have the following signature: `(void)callbackWithResult:(NSNumber *)result error:(NSError *)error`. + */ +- (void)countObjectsInBackgroundWithTarget:(id)target selector:(SEL)selector; + +///-------------------------------------- +/// @name Cancelling a Query +///-------------------------------------- + +/*! + @asbtract Cancels the current network request (if any). Ensures that callbacks won't be called. + */ +- (void)cancel; + +///-------------------------------------- +/// @name Paginating Results +///-------------------------------------- + +/*! + @abstract A limit on the number of objects to return. The default limit is `100`, with a + maximum of 1000 results being returned at a time. + + @warning If you are calling `findObjects` with `limit = 1`, you may find it easier to use `getFirst` instead. + */ +@property (nonatomic, assign) NSInteger limit; + +/*! + @abstract The number of objects to skip before returning any. + */ +@property (nonatomic, assign) NSInteger skip; + +///-------------------------------------- +/// @name Controlling Caching Behavior +///-------------------------------------- + +/*! + @abstract The cache policy to use for requests. + + Not allowed when Pinning is enabled. + + @see fromLocalDatastore + @see fromPin + @see fromPinWithName: + */ +@property (assign, readwrite) PFCachePolicy cachePolicy; + +/* ! + @asbtract The age after which a cached value will be ignored + */ +@property (assign, readwrite) NSTimeInterval maxCacheAge; + +/*! + @abstract Returns whether there is a cached result for this query. + + @result `YES` if there is a cached result for this query, otherwise `NO`. + */ +- (BOOL)hasCachedResult; + +/*! + @abstract Clears the cached result for this query. If there is no cached result, this is a noop. + */ +- (void)clearCachedResult; + +/*! + @abstract Clears the cached results for all queries. + */ ++ (void)clearAllCachedResults; + +///-------------------------------------- +/// @name Query Source +///-------------------------------------- + +/*! + @abstract Change the source of this query to all pinned objects. + + Requires Pinning to be enabled. + + @see cachePolicy + */ +- (PFQuery *)fromLocalDatastore; + +/*! + @abstract Change the source of this query to the default group of pinned objects. + + Requires Pinning to be enabled. + + @see PFObjectDefaultPin + @see cachePolicy + */ +- (PFQuery *)fromPin; + +/*! + @abstract Change the source of this query to a specific group of pinned objects. + + Requires Pinning to be enabled. + + @param name The pinned group. + + @see PFObjectDefaultPin + @see cachePolicy + */ +- (PFQuery *)fromPinWithName:(NSString *)name; + +///-------------------------------------- +/// @name Advanced Settings +///-------------------------------------- + +/*! + @abstract Whether or not performance tracing should be done on the query. + + @warning This should not be set to `YES` in most cases. + */ +@property (nonatomic, assign) BOOL trace; + +@end diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFRelation.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFRelation.h new file mode 100644 index 00000000..f4254a1a --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFRelation.h @@ -0,0 +1,55 @@ +// +// PFRelation.h +// +// Copyright 2011-present Parse Inc. All rights reserved. +// + +#import + +#if TARGET_OS_IPHONE +#import +#import +#else +#import +#import +#endif + +/*! + The `PFRelation` class that is used to access all of the children of a many-to-many relationship. + Each instance of `PFRelation` is associated with a particular parent object and key. + */ +@interface PFRelation : NSObject + +/*! + @abstract The name of the class of the target child objects. + */ +@property (nonatomic, strong) NSString *targetClass; + +///-------------------------------------- +/// @name Accessing Objects +///-------------------------------------- + +/*! + @abstract Returns a object that can be used to get objects in this relation. + */ +- (PFQuery *)query; + +///-------------------------------------- +/// @name Modifying Relations +///-------------------------------------- + +/*! + @abstract Adds a relation to the passed in object. + + @param object A object to add relation to. + */ +- (void)addObject:(PFObject *)object; + +/*! + @abstract Removes a relation to the passed in object. + + @param object A object to add relation to. + */ +- (void)removeObject:(PFObject *)object; + +@end diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFRole.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFRole.h new file mode 100644 index 00000000..3afa87c5 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFRole.h @@ -0,0 +1,106 @@ +// +// PFRole.h +// +// Copyright 2011-present Parse Inc. All rights reserved. +// + +#import + +#if TARGET_OS_IPHONE +#import +#import +#else +#import +#import +#endif + +/*! + The `PFRole` class represents a Role on the Parse server. + `PFRoles` represent groupings of objects for the purposes of granting permissions + (e.g. specifying a for a ). + Roles are specified by their sets of child users and child roles, + all of which are granted any permissions that the parent role has. + + Roles must have a name (which cannot be changed after creation of the role), and must specify an ACL. + */ +@interface PFRole : PFObject + +///-------------------------------------- +/// @name Creating a New Role +///-------------------------------------- + +/*! + @abstract Constructs a new `PFRole` with the given name. + If no default ACL has been specified, you must provide an ACL for the role. + + @param name The name of the Role to create. + */ +- (instancetype)initWithName:(NSString *)name; + +/*! + @abstract Constructs a new `PFRole` with the given name. + + @param name The name of the Role to create. + @param acl The ACL for this role. Roles must have an ACL. + */ +- (instancetype)initWithName:(NSString *)name acl:(PFACL *)acl; + +/*! + @abstract Constructs a new `PFRole` with the given name. + + @discussion If no default ACL has been specified, you must provide an ACL for the role. + + @param name The name of the Role to create. + */ ++ (instancetype)roleWithName:(NSString *)name; + +/*! + @abstract Constructs a new `PFRole` with the given name. + + @param name The name of the Role to create. + @param acl The ACL for this role. Roles must have an ACL. + */ ++ (instancetype)roleWithName:(NSString *)name acl:(PFACL *)acl; + +///-------------------------------------- +/// @name Role-specific Properties +///-------------------------------------- + +/*! + @abstract Gets or sets the name for a role. + + @discussion This value must be set before the role has been saved to the server, + and cannot be set once the role has been saved. + + @warning A role's name can only contain alphanumeric characters, `_`, `-`, and spaces. + */ +@property (nonatomic, copy) NSString *name; + +/*! + @abstract Gets the for the objects that are direct children of this role. + + @discussion These users are granted any privileges that this role has been granted + (e.g. read or write access through ACLs). You can add or remove users from + the role through this relation. + */ +@property (nonatomic, strong, readonly) PFRelation *users; + +/*! + @abstract Gets the for the `PFRole` objects that are direct children of this role. + + @discussion These roles' users are granted any privileges that this role has been granted + (e.g. read or write access through ACLs). You can add or remove child roles + from this role through this relation. + */ +@property (nonatomic, strong, readonly) PFRelation *roles; + +///-------------------------------------- +/// @name Querying for Roles +///-------------------------------------- + +/*! + @abstract Creates a for `PFRole` objects. + */ ++ (PFQuery *)query; + +@end diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFSubclassing.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFSubclassing.h new file mode 100644 index 00000000..7c8781ce --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFSubclassing.h @@ -0,0 +1,78 @@ +// +// PFSubclassing.h +// +// Copyright 2011-present Parse Inc. All rights reserved. +// + +#import + +@class PFQuery; + +/*! + If a subclass of conforms to `PFSubclassing` and calls , + Parse framework will be able to use that class as the native class for a Parse cloud object. + + Classes conforming to this protocol should subclass and + include `PFObject+Subclass.h` in their implementation file. + This ensures the methods in the Subclass category of are exposed in its subclasses only. + */ +@protocol PFSubclassing + +/*! + @abstract Constructs an object of the most specific class known to implement . + + @discussion This method takes care to help subclasses be subclassed themselves. + For example, `[PFUser object]` returns a by default but will return an + object of a registered subclass instead if one is known. + A default implementation is provided by which should always be sufficient. + + @returns Returns the object that is instantiated. + */ ++ (instancetype)object; + +/*! + @abstract Creates a reference to an existing PFObject for use in creating associations between PFObjects. + + @discussion Calling <[PFObject isDataAvailable]> on this object will return `NO` + until <[PFObject fetchIfNeeded]> has been called. No network request will be made. + A default implementation is provided by PFObject which should always be sufficient. + + @param objectId The object id for the referenced object. + + @returns A new without data. + */ ++ (instancetype)objectWithoutDataWithObjectId:(NSString *)objectId; + +/*! + @abstract The name of the class as seen in the REST API. + */ ++ (NSString *)parseClassName; + +/*! + @abstract Create a query which returns objects of this type. + + @discussion A default implementation is provided by which should always be sufficient. + */ ++ (PFQuery *)query; + +/*! + @abstract Returns a query for objects of this type with a given predicate. + + @discussion A default implementation is provided by which should always be sufficient. + + @param predicate The predicate to create conditions from. + + @returns An instance of . + + @see [PFQuery queryWithClassName:predicate:] + */ ++ (PFQuery *)queryWithPredicate:(NSPredicate *)predicate; + +/*! + @abstract Lets Parse know this class should be used to instantiate all objects with class type . + + @warning This method must be called before <[Parse setApplicationId:clientKey:]> + */ ++ (void)registerSubclass; + +@end diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFTwitterUtils.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFTwitterUtils.h new file mode 100644 index 00000000..c48eb9a6 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFTwitterUtils.h @@ -0,0 +1,319 @@ +// +// PFTwitterUtils.h +// +// Copyright 2011-present Parse Inc. All rights reserved. +// + +#import + +#import +#import +#import + +@class BFTask; + +/*! + The `PFTwitterUtils` class provides utility functions for working with Twitter in a Parse application. + + This class is currently for iOS only. + */ +@interface PFTwitterUtils : NSObject + +///-------------------------------------- +/// @name Interacting With Twitter +///-------------------------------------- + +/*! + @abstract Gets the instance of the object that Parse uses. + + @returns An instance of object. + */ ++ (PF_Twitter *)twitter; + +/*! + @abstract Initializes the Twitter singleton. + + @warning You must invoke this in order to use the Twitter functionality in Parse. + + @param consumerKey Your Twitter application's consumer key. + @param consumerSecret Your Twitter application's consumer secret. + */ ++ (void)initializeWithConsumerKey:(NSString *)consumerKey + consumerSecret:(NSString *)consumerSecret; + +/*! + @abstract Whether the user has their account linked to Twitter. + + @param user User to check for a Twitter link. The user must be logged in on this device. + + @returns `YES` if the user has their account linked to Twitter, otherwise `NO`. + */ ++ (BOOL)isLinkedWithUser:(PFUser *)user; + +///-------------------------------------- +/// @name Logging In & Creating Twitter-Linked Users +///-------------------------------------- + +/*! + @abstract *Asynchronously* logs in a user using Twitter. + + @discussion This method delegates to Twitter to authenticate the user, + and then automatically logs in (or creates, in the case where it is a new user) a . + + @returns The task, that encapsulates the work being done. + */ ++ (BFTask *)logInInBackground; + +/*! + @abstract *Asynchronously* logs in a user using Twitter. + + @discussion This method delegates to Twitter to authenticate the user, + and then automatically logs in (or creates, in the case where it is a new user) . + + @param block The block to execute. + It should have the following argument signature: `^(PFUser *user, NSError *error)`. + */ ++ (void)logInWithBlock:(PFUserResultBlock)block; + +/* + @abstract *Asynchronously* Logs in a user using Twitter. + + @discussion This method delegates to Twitter to authenticate the user, + and then automatically logs in (or creates, in the case where it is a new user) a . + + @param target Target object for the selector + @param selector The selector that will be called when the asynchrounous request is complete. + It should have the following signature: `(void)callbackWithUser:(PFUser *)user error:(NSError **)error`. + */ ++ (void)logInWithTarget:(id)target selector:(SEL)selector; + +/*! + @abstract *Asynchronously* logs in a user using Twitter. + + @discussion Allows you to handle user login to Twitter, then provide authentication + data to log in (or create, in the case where it is a new user) the . + + @param twitterId The id of the Twitter user being linked. + @param screenName The screen name of the Twitter user being linked. + @param authToken The auth token for the user's session. + @param authTokenSecret The auth token secret for the user's session. + + @returns The task, that encapsulates the work being done. + */ ++ (BFTask *)logInWithTwitterIdInBackground:(NSString *)twitterId + screenName:(NSString *)screenName + authToken:(NSString *)authToken + authTokenSecret:(NSString *)authTokenSecret; + +/*! + @abstract Logs in a user using Twitter. + + @discussion Allows you to handle user login to Twitter, then provide authentication data + to log in (or create, in the case where it is a new user) the . + + @param twitterId The id of the Twitter user being linked + @param screenName The screen name of the Twitter user being linked + @param authToken The auth token for the user's session + @param authTokenSecret The auth token secret for the user's session + @param block The block to execute. + It should have the following argument signature: `^(PFUser *user, NSError *error)`. + */ ++ (void)logInWithTwitterId:(NSString *)twitterId + screenName:(NSString *)screenName + authToken:(NSString *)authToken + authTokenSecret:(NSString *)authTokenSecret + block:(PFUserResultBlock)block; + +/* + @abstract Logs in a user using Twitter. + + @discussion Allows you to handle user login to Twitter, then provide authentication data + to log in (or create, in the case where it is a new user) the . + + @param twitterId The id of the Twitter user being linked. + @param screenName The screen name of the Twitter user being linked. + @param authToken The auth token for the user's session. + @param authTokenSecret The auth token secret for the user's session. + @param target Target object for the selector. + @param selector The selector that will be called when the asynchronous request is complete. + It should have the following signature: `(void)callbackWithUser:(PFUser *)user error:(NSError *)error`. + */ ++ (void)logInWithTwitterId:(NSString *)twitterId + screenName:(NSString *)screenName + authToken:(NSString *)authToken + authTokenSecret:(NSString *)authTokenSecret + target:(id)target + selector:(SEL)selector; + +///-------------------------------------- +/// @name Linking Users with Twitter +///-------------------------------------- + +/*! + @abstract *Asynchronously* links Twitter to an existing PFUser. + + @discussion This method delegates to Twitter to authenticate the user, + and then automatically links the account to the . + + @param user User to link to Twitter. + + @deprecated Please use `[PFTwitterUtils linkUserInBackground:]` instead. + */ ++ (void)linkUser:(PFUser *)user PARSE_DEPRECATED("Please use +linkUserInBackground: instead."); + +/*! + @abstract *Asynchronously* links Twitter to an existing . + + @discussion This method delegates to Twitter to authenticate the user, + and then automatically links the account to the . + + @param user User to link to Twitter. + + @returns The task, that encapsulates the work being done. + */ ++ (BFTask *)linkUserInBackground:(PFUser *)user; + +/*! + @abstract *Asynchronously* links Twitter to an existing . + + @discussion This method delegates to Twitter to authenticate the user, + and then automatically links the account to the . + + @param user User to link to Twitter. + @param block The block to execute. + It should have the following argument signature: `^(BOOL *success, NSError *error)`. + */ ++ (void)linkUser:(PFUser *)user block:(PFBooleanResultBlock)block; + +/* + @abstract *Asynchronously* links Twitter to an existing . + + @discussion This method delegates to Twitter to authenticate the user, + and then automatically links the account to the . + + @param user User to link to Twitter. + @param target Target object for the selector + @param selector The selector that will be called when the asynchrounous request is complete. + It should have the following signature: `(void)callbackWithResult:(NSNumber *)result error:(NSError *)error`. + */ ++ (void)linkUser:(PFUser *)user + target:(id)target + selector:(SEL)selector; + +/*! + @abstract *Asynchronously* links Twitter to an existing PFUser asynchronously. + + @discussion Allows you to handle user login to Twitter, + then provide authentication data to link the account to the . + + @param user User to link to Twitter. + @param twitterId The id of the Twitter user being linked. + @param screenName The screen name of the Twitter user being linked. + @param authToken The auth token for the user's session. + @param authTokenSecret The auth token secret for the user's session. + @returns The task, that encapsulates the work being done. + */ ++ (BFTask *)linkUserInBackground:(PFUser *)user + twitterId:(NSString *)twitterId + screenName:(NSString *)screenName + authToken:(NSString *)authToken + authTokenSecret:(NSString *)authTokenSecret; + +/*! + @abstract *Asynchronously* links Twitter to an existing . + + @discussionAllows you to handle user login to Twitter, + then provide authentication data to link the account to the . + + @param user User to link to Twitter. + @param twitterId The id of the Twitter user being linked. + @param screenName The screen name of the Twitter user being linked. + @param authToken The auth token for the user's session. + @param authTokenSecret The auth token secret for the user's session. + @param block The block to execute. + It should have the following argument signature: `^(BOOL *success, NSError *error)`. + */ ++ (void)linkUser:(PFUser *)user + twitterId:(NSString *)twitterId + screenName:(NSString *)screenName + authToken:(NSString *)authToken + authTokenSecret:(NSString *)authTokenSecret + block:(PFBooleanResultBlock)block; + +/* + @abstract Links Twitter to an existing . + + @discussion This method allows you to handle user login to Twitter, + then provide authentication data to link the account to the . + + @param user User to link to Twitter. + @param twitterId The id of the Twitter user being linked. + @param screenName The screen name of the Twitter user being linked. + @param authToken The auth token for the user's session. + @param authTokenSecret The auth token secret for the user's session. + @param target Target object for the selector. + @param selector The selector that will be called when the asynchronous request is complete. + It should have the following signature: `(void)callbackWithResult:(NSNumber *)result error:(NSError *)error`. + */ ++ (void)linkUser:(PFUser *)user + twitterId:(NSString *)twitterId + screenName:(NSString *)screenName + authToken:(NSString *)authToken + authTokenSecret:(NSString *)authTokenSecret + target:(id)target + selector:(SEL)selector; + +///-------------------------------------- +/// @name Unlinking Users from Twitter +///-------------------------------------- + +/*! + @abstract *Synchronously* unlinks the from a Twitter account. + + @param user User to unlink from Twitter. + + @returns Returns true if the unlink was successful. + */ ++ (BOOL)unlinkUser:(PFUser *)user; + +/*! + @abstract *Synchronously* unlinks the PFUser from a Twitter account. + + @param user User to unlink from Twitter. + @param error Error object to set on error. + + @returns Returns `YES` if the unlink was successful, otherwise `NO`. + */ ++ (BOOL)unlinkUser:(PFUser *)user error:(NSError **)error; + +/*! + @abstract Makes an *asynchronous* request to unlink a user from a Twitter account. + + @param user User to unlink from Twitter. + + @returns The task, that encapsulates the work being done. + */ ++ (BFTask *)unlinkUserInBackground:(PFUser *)user; + +/*! + @abstract Makes an *asynchronous* request to unlink a user from a Twitter account. + + @param user User to unlink from Twitter. + @param block The block to execute. + It should have the following argument signature: `^(BOOL succeeded, NSError *error)`. + */ ++ (void)unlinkUserInBackground:(PFUser *)user + block:(PFBooleanResultBlock)block; + +/* + @abstract Makes an *asynchronous* request to unlink a user from a Twitter account. + + @param user User to unlink from Twitter + @param target Target object for the selector + @param selector The selector that will be called when the asynchrounous request is complete. + */ ++ (void)unlinkUserInBackground:(PFUser *)user + target:(id)target + selector:(SEL)selector; + +@end diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFUser.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFUser.h new file mode 100644 index 00000000..9f3ebc85 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PFUser.h @@ -0,0 +1,416 @@ +// +// PFUser.h +// +// Copyright 2011-present Parse Inc. All rights reserved. +// + +#import + +#if TARGET_OS_IPHONE +#import +#import +#import +#else +#import +#import +#import +#endif + +@class PFQuery; + +/*! + The `PFUser` class is a local representation of a user persisted to the Parse Data. + This class is a subclass of a , and retains the same functionality of a , + but also extends it with various user specific methods, like authentication, signing up, and validation uniqueness. + + Many APIs responsible for linking a `PFUser` with Facebook or Twitter have been deprecated in favor of dedicated + utilities for each social network. See , and for more information. + */ + +@interface PFUser : PFObject + +/*! + @abstract The name of the `PFUser` class in the REST API. + + @discussion This is a required method. + */ ++ (NSString *)parseClassName; + +///-------------------------------------- +/// @name Accessing the Current User +///-------------------------------------- + +/*! + @abstract Gets the currently logged in user from disk and returns an instance of it. + + @returns Returns a `PFUser` that is the currently logged in user. If there is none, returns `nil`. + */ ++ (instancetype)currentUser; + +/*! + @abstract The session token for the `PFUser`. + + @discussion This is set by the server upon successful authentication. + */ +@property (nonatomic, strong) NSString *sessionToken; + +/*! + @abstract Whether the `PFUser` was just created from a request. + + @discussion This is only set after a Facebook or Twitter login. + */ +@property (assign, readonly) BOOL isNew; + +/*! + @abstract Whether the user is an authenticated object for the device. + + @discussion An authenticated `PFUser` is one that is obtained via a or method. + An authenticated object is required in order to save (with altered values) or delete it. + + @returns Returns whether the user is authenticated. + */ +- (BOOL)isAuthenticated; + +///-------------------------------------- +/// @name Creating a New User +///-------------------------------------- + +/*! + @abstract Creates a new `PFUser` object. + + @returns Returns a new `PFUser` object. + */ ++ (PFUser *)user; + +/*! + @abstract Enables automatic creation of anonymous users. + + @discussion After calling this method, will always have a value. + The user will only be created on the server once the user has been saved, + or once an object with a relation to that user or an ACL that refers to the user has been saved. + + @warning <[PFObject saveEventually]> will not work on if an item being saved has a relation + to an automatic user that has never been saved. + */ ++ (void)enableAutomaticUser; + +/*! + @abstract The username for the `PFUser`. + */ +@property (nonatomic, strong) NSString *username; + +/**! + @abstract The password for the `PFUser`. + + @discussion This will not be filled in from the server with the password. + It is only meant to be set. + */ +@property (nonatomic, strong) NSString *password; + +/*! + @abstract The email for the `PFUser`. + */ +@property (nonatomic, strong) NSString *email; + +/*! + @abstract Signs up the user *synchronously*. + + @discussion This will also enforce that the username isn't already taken. + + @warning Make sure that password and username are set before calling this method. + + @returns Returns `YES` if the sign up was successful, otherwise `NO`. + */ +- (BOOL)signUp; + +/*! + @abstract Signs up the user *synchronously*. + + @discussion This will also enforce that the username isn't already taken. + + @warning Make sure that password and username are set before calling this method. + + @param error Error object to set on error. + + @returns Returns whether the sign up was successful. + */ +- (BOOL)signUp:(NSError **)error; + +/*! + @abstract Signs up the user *asynchronously*. + + @discussion This will also enforce that the username isn't already taken. + + @warning Make sure that password and username are set before calling this method. + + @returns The task, that encapsulates the work being done. + */ +- (BFTask *)signUpInBackground; + +/*! + @abstract Signs up the user *asynchronously*. + + @discussion This will also enforce that the username isn't already taken. + + @warning Make sure that password and username are set before calling this method. + + @param block The block to execute. + It should have the following argument signature: `^(BOOL succeeded, NSError *error)`. + */ +- (void)signUpInBackgroundWithBlock:(PFBooleanResultBlock)block; + +/* + @abstract Signs up the user *asynchronously*. + + @discussion This will also enforce that the username isn't already taken. + + @warning Make sure that password and username are set before calling this method. + + @param target Target object for the selector. + @param selector The selector that will be called when the asynchrounous request is complete. + It should have the following signature: `(void)callbackWithResult:(NSNumber *)result error:(NSError *)error`. + `error` will be `nil` on success and set if there was an error. + `[result boolValue]` will tell you whether the call succeeded or not. + */ +- (void)signUpInBackgroundWithTarget:(id)target selector:(SEL)selector; + +///-------------------------------------- +/// @name Logging In +///-------------------------------------- + +/*! + @abstract Makes a *synchronous* request to login a user with specified credentials. + + @discussion Returns an instance of the successfully logged in `PFUser`. + This also caches the user locally so that calls to will use the latest logged in user. + + @param username The username of the user. + @param password The password of the user. + + @returns Returns an instance of the `PFUser` on success. + If login failed for either wrong password or wrong username, returns `nil`. + */ ++ (instancetype)logInWithUsername:(NSString *)username + password:(NSString *)password; + +/*! + @abstract Makes a *synchronous* request to login a user with specified credentials. + + @discussion Returns an instance of the successfully logged in `PFUser`. + This also caches the user locally so that calls to will use the latest logged in user. + + @param username The username of the user. + @param password The password of the user. + @param error The error object to set on error. + + @returns Returns an instance of the `PFUser` on success. + If login failed for either wrong password or wrong username, returns `nil`. + */ ++ (instancetype)logInWithUsername:(NSString *)username + password:(NSString *)password + error:(NSError **)error; + +/*! + @abstract Makes an *asynchronous* request to login a user with specified credentials. + + @discussion Returns an instance of the successfully logged in `PFUser`. + This also caches the user locally so that calls to will use the latest logged in user. + + @param username The username of the user. + @param password The password of the user. + + @returns The task, that encapsulates the work being done. + */ ++ (BFTask *)logInWithUsernameInBackground:(NSString *)username + password:(NSString *)password; + +/* + @abstract Makes an *asynchronous* request to login a user with specified credentials. + + @discussion Returns an instance of the successfully logged in `PFUser`. + This also caches the user locally so that calls to will use the latest logged in user. + + @param username The username of the user. + @param password The password of the user. + @param target Target object for the selector. + @param selector The selector that will be called when the asynchrounous request is complete. + It should have the following signature: `(void)callbackWithUser:(PFUser *)user error:(NSError *)error`. + */ ++ (void)logInWithUsernameInBackground:(NSString *)username + password:(NSString *)password + target:(id)target + selector:(SEL)selector; + +/*! + @abstract Makes an *asynchronous* request to log in a user with specified credentials. + + @discussion Returns an instance of the successfully logged in `PFUser`. + This also caches the user locally so that calls to will use the latest logged in user. + + @param username The username of the user. + @param password The password of the user. + @param block The block to execute. + It should have the following argument signature: `^(PFUser *user, NSError *error)`. + */ ++ (void)logInWithUsernameInBackground:(NSString *)username + password:(NSString *)password + block:(PFUserResultBlock)block; + +///-------------------------------------- +/// @name Becoming a User +///-------------------------------------- + +/*! + @abstract Makes a *synchronous* request to become a user with the given session token. + + @discussion Returns an instance of the successfully logged in `PFUser`. + This also caches the user locally so that calls to will use the latest logged in user. + + @param sessionToken The session token for the user. + + @returns Returns an instance of the `PFUser` on success. + If becoming a user fails due to incorrect token, it returns `nil`. + */ ++ (instancetype)become:(NSString *)sessionToken; + +/*! + @abstract Makes a *synchronous* request to become a user with the given session token. + + @discussion Returns an instance of the successfully logged in `PFUser`. + This will also cache the user locally so that calls to will use the latest logged in user. + + @param sessionToken The session token for the user. + @param error The error object to set on error. + + @returns Returns an instance of the `PFUser` on success. + If becoming a user fails due to incorrect token, it returns `nil`. + */ ++ (instancetype)become:(NSString *)sessionToken + error:(NSError **)error; + +/*! + @abstract Makes an *asynchronous* request to become a user with the given session token. + + @discussion Returns an instance of the successfully logged in `PFUser`. + This also caches the user locally so that calls to will use the latest logged in user. + + @param sessionToken The session token for the user. + + @returns The task, that encapsulates the work being done. + */ ++ (BFTask *)becomeInBackground:(NSString *)sessionToken; + +/* + @abstract Makes an *asynchronous* request to become a user with the given session token. + + @discussion Returns an instance of the successfully logged in `PFUser`. This also caches the user locally + so that calls to will use the latest logged in user. + + @param sessionToken The session token for the user. + @param target Target object for the selector. + @param selector The selector that will be called when the asynchrounous request is complete. + It should have the following signature: `(void)callbackWithUser:(PFUser *)user error:(NSError *)error`. + */ ++ (void)becomeInBackground:(NSString *)sessionToken + target:(id)target + selector:(SEL)selector; + +/*! + @abstract Makes an *asynchronous* request to become a user with the given session token. + + @discussion Returns an instance of the successfully logged in `PFUser`. This also caches the user locally + so that calls to will use the latest logged in user. + + @param sessionToken The session token for the user. + @param block The block to execute. The block should have the following argument signature: (PFUser *user, NSError *error) + */ ++ (void)becomeInBackground:(NSString *)sessionToken + block:(PFUserResultBlock)block; + +///-------------------------------------- +/// @name Logging Out +///-------------------------------------- + +/*! + @abstract *Synchronously* logs out the currently logged in user on disk. + */ ++ (void)logOut; + +///-------------------------------------- +/// @name Requesting a Password Reset +///-------------------------------------- + +/*! + @abstract *Synchronously* Send a password reset request for a specified email. + + @discussion If a user account exists with that email, an email will be sent to that address + with instructions on how to reset their password. + + @param email Email of the account to send a reset password request. + + @returns Returns `YES` if the reset email request is successful. `NO` - if no account was found for the email address. + */ ++ (BOOL)requestPasswordResetForEmail:(NSString *)email; + +/*! + @abstract *Synchronously* send a password reset request for a specified email and sets an error object. + + @discussion If a user account exists with that email, an email will be sent to that address + with instructions on how to reset their password. + + @param email Email of the account to send a reset password request. + @param error Error object to set on error. + @returns Returns `YES` if the reset email request is successful. `NO` - if no account was found for the email address. + */ ++ (BOOL)requestPasswordResetForEmail:(NSString *)email + error:(NSError **)error; + +/*! + @abstract Send a password reset request asynchronously for a specified email and sets an + error object. If a user account exists with that email, an email will be sent to + that address with instructions on how to reset their password. + @param email Email of the account to send a reset password request. + @returns The task, that encapsulates the work being done. + */ ++ (BFTask *)requestPasswordResetForEmailInBackground:(NSString *)email; + +/* + @abstract Send a password reset request *asynchronously* for a specified email and sets an error object. + + @discussion If a user account exists with that email, an email will be sent to that address + with instructions on how to reset their password. + + @param email Email of the account to send a reset password request. + @param target Target object for the selector. + @param selector The selector that will be called when the asynchronous request is complete. + It should have the following signature: `(void)callbackWithResult:(NSNumber *)result error:(NSError *)error`. + `error` will be `nil` on success and set if there was an error. + `[result boolValue]` will tell you whether the call succeeded or not. + */ ++ (void)requestPasswordResetForEmailInBackground:(NSString *)email + target:(id)target + selector:(SEL)selector; + +/*! + @abstract Send a password reset request *asynchronously* for a specified email. + + @discussion If a user account exists with that email, an email will be sent to that address + with instructions on how to reset their password. + + @param email Email of the account to send a reset password request. + @param block The block to execute. + It should have the following argument signature: `^(BOOL succeeded, NSError *error)`. + */ ++ (void)requestPasswordResetForEmailInBackground:(NSString *)email + block:(PFBooleanResultBlock)block; + +///-------------------------------------- +/// @name Querying for Users +///-------------------------------------- + +/*! + @abstract Creates a for `PFUser` objects. + */ ++ (PFQuery *)query; + +@end diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PF_Twitter.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PF_Twitter.h new file mode 100644 index 00000000..e2a27fb4 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/PF_Twitter.h @@ -0,0 +1,85 @@ +// +// PF_Twitter.h +// +// Copyright 2011-present Parse Inc. All rights reserved. +// + +#import + +@class BFTask; + +/*! + The `PF_Twitter` class is a simple interface for interacting with the Twitter REST API, + automating sign-in and OAuth signing of requests against the API. + */ +@interface PF_Twitter : NSObject { +@private + NSString *consumerKey; + NSString *consumerSecret; + NSString *authToken; + NSString *authTokenSecret; + NSString *userId; + NSString *screenName; +} + +/*! + @abstract Consumer key of the application that is used to authorize with Twitter. + */ +@property (nonatomic, copy) NSString *consumerKey; + +/*! + @abstract Consumer secret of the application that is used to authorize with Twitter. + */ +@property (nonatomic, copy) NSString *consumerSecret; + +/*! + @abstract Auth token for the current user. + */ +@property (nonatomic, copy) NSString *authToken; + +/*! + @abstract Auth token secret for the current user. + */ +@property (nonatomic, copy) NSString *authTokenSecret; + +/*! + @abstract Twitter user id of the currently signed in user. + */ +@property (nonatomic, copy) NSString *userId; + +/*! + @abstract Twitter screen name of the currently signed in user. + */ +@property (nonatomic, copy) NSString *screenName; + +/*! + @abstract Displays an auth dialog and populates the authToken, authTokenSecret, userId, and screenName properties + if the Twitter user grants permission to the application. + + @returns The task, that encapsulates the work being done. + */ +- (BFTask *)authorizeInBackground; + +/*! + @abstract Displays an auth dialog and populates the authToken, authTokenSecret, userId, and screenName properties + if the Twitter user grants permission to the application. + + @param success Invoked upon successful authorization. + @param failure Invoked upon an error occurring in the authorization process. + @param cancel Invoked when the user cancels authorization. + */ +- (void)authorizeWithSuccess:(void (^)(void))success + failure:(void (^)(NSError *error))failure + cancel:(void (^)(void))cancel; + +/*! + @abstract Adds a 3-legged OAuth signature to an `NSMutableURLRequest` based + upon the properties set for the Twitter object. + + @discussion Use this function to sign requests being made to the Twitter API. + + @param request Request to sign. + */ +- (void)signRequest:(NSMutableURLRequest *)request; + +@end diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/Parse.h b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/Parse.h new file mode 100644 index 00000000..ddb6a2e0 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Headers/Parse.h @@ -0,0 +1,149 @@ +// +// Parse.h +// +// Copyright 2011-present Parse Inc. All rights reserved. +// + +#import + +#if TARGET_OS_IPHONE + +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import + +#else + +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import + +#endif + +/*! + The `Parse` class contains static functions that handle global configuration for the Parse framework. + */ +@interface Parse : NSObject + +///-------------------------------------- +/// @name Connecting to Parse +///-------------------------------------- + +/*! + @abstract Sets the applicationId and clientKey of your application. + + @param applicationId The application id of your Parse application. + @param clientKey The client key of your Parse application. + */ ++ (void)setApplicationId:(NSString *)applicationId clientKey:(NSString *)clientKey; + +/*! + @abstract The current application id that was used to configure Parse framework. + */ ++ (NSString *)getApplicationId; + +/*! + @abstract The current client key that was used to configure Parse framework. + */ ++ (NSString *)getClientKey; + +///-------------------------------------- +/// @name Enabling Local Datastore +///-------------------------------------- + +/*! + @abstract Enable pinning in your application. This must be called before your application can use + pinning. The recommended way is to call this method before `setApplicationId:clientKey:`. + */ ++ (void)enableLocalDatastore; + +/*! + @abstract Flag that indicates whether Local Datastore is enabled. + + @returns `YES` if Local Datastore is enabled, otherwise `NO`. + */ ++ (BOOL)isLocalDatastoreEnabled; + +#if PARSE_IOS_ONLY + +///-------------------------------------- +/// @name Configuring UI Settings +///-------------------------------------- + +/*! + @abstract Set whether to show offline messages when using a Parse view or view controller related classes. + + @param enabled Whether a `UIAlertView` should be shown when the device is offline + and network access is required from a view or view controller. + */ ++ (void)offlineMessagesEnabled:(BOOL)enabled; + +/*! + @abstract Set whether to show an error message when using a Parse view or view controller related classes + and a Parse error was generated via a query. + + @param enabled Whether a `UIAlertView` should be shown when an error occurs. + */ ++ (void)errorMessagesEnabled:(BOOL)enabled; + +#endif + +///-------------------------------------- +/// @name Logging +///-------------------------------------- + +/*! + @abstract Sets the level of logging to display. + + @discussion By default: + - If running inside an app that was downloaded from iOS App Store - it is set to + - All other cases - it is set to + + @param logLevel Log level to set. + @see PFLogLevel + */ ++ (void)setLogLevel:(PFLogLevel)logLevel; + +/*! + @abstract Log level that will be displayed. + + @discussion By default: + - If running inside an app that was downloaded from iOS App Store - it is set to + - All other cases - it is set to + + @returns A value. + @see PFLogLevel + */ ++ (PFLogLevel)logLevel; + +@end diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Info.plist b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Info.plist new file mode 100644 index 00000000..969e4460 Binary files /dev/null and b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Info.plist differ diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Modules/module.modulemap b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Modules/module.modulemap new file mode 100644 index 00000000..32a75e92 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Modules/module.modulemap @@ -0,0 +1,6 @@ +framework module Parse { + umbrella header "Parse.h" + + export * + module * { export * } +} diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Parse b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Parse new file mode 100644 index 00000000..0a4745a2 Binary files /dev/null and b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Parse differ diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Resources/Localizable.strings b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Resources/Localizable.strings new file mode 100644 index 00000000..5248130b Binary files /dev/null and b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/Resources/Localizable.strings differ diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/third_party_licenses.txt b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/third_party_licenses.txt new file mode 100644 index 00000000..dcea8067 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/ios/Frameworks/Parse.framework/third_party_licenses.txt @@ -0,0 +1,92 @@ +THE FOLLOWING SETS FORTH ATTRIBUTION NOTICES FOR THIRD PARTY SOFTWARE THAT MAY BE CONTAINED IN PORTIONS OF THE PARSE PRODUCT. + +----- + +The following software may be included in this product: AFNetworking. This software contains the following license and notice below: + +Copyright (c) 2011 Gowalla (http://gowalla.com/) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +----- + +The following software may be included in this product: OAuthCore. This software contains the following license and notice below: + +Copyright (C) 2012 Loren Brichter + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +----- + +The following software may be included in this product: google-breakpad. This software contains the following license and notice below: + +Copyright (c) 2006, Google Inc. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +* Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. +* Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +-------------------------------------------------------------------- + +Copyright 2001-2004 Unicode, Inc. + +Disclaimer + +This source code is provided as is by Unicode, Inc. No claims are +made as to fitness for any particular purpose. No warranties of any +kind are expressed or implied. The recipient agrees to determine +applicability of information provided. If this file has been +purchased on magnetic or optical media from Unicode, Inc., the +sole remedy for any claim will be exchange of defective media +within 90 days of receipt. + +Limitations on Rights to Redistribute This Code + +Unicode, Inc. hereby grants the right to freely use the information +supplied in this file in the creation of products supporting the +Unicode Standard, and to make copies of this file in any form +for internal or external distribution as long as this notice +remains attached. diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/wp8/ParsePlugin.cs b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/wp8/ParsePlugin.cs new file mode 100644 index 00000000..58d1c42e --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/wp8/ParsePlugin.cs @@ -0,0 +1,90 @@ +using System; +using System.Collections.Generic; +using Parse; +using WPCordovaClassLib.Cordova; + +namespace WPCordovaClassLib.Cordova.Commands +{ + public class ParsePlugin : BaseCommand + { + + + public async void initialize(string args) + { + + PluginResult result; + + try + { + var appId = JSON.JsonHelper.Deserialize(args)[0].ToString(); + var clientKey = JSON.JsonHelper.Deserialize(args)[1].ToString(); + + ParseClient.Initialize(appId, clientKey); + + + await ParseInstallation.CurrentInstallation.SaveAsync(); + + + DispatchCommandResult( new PluginResult(PluginResult.Status.OK, true)); + } + catch (Exception e) + { + DispatchCommandResult(new PluginResult(PluginResult.Status.ERROR, false)); + } + + + + + } + + public void getInstallationId(string args) + { + + String installationId = ParseInstallation.CurrentInstallation.InstallationId.ToString(); + var result = new PluginResult(PluginResult.Status.OK, installationId); + DispatchCommandResult(result); + + } + + public void getInstallationObjectId(string args) + { + + String objectId = ParseInstallation.CurrentInstallation.ObjectId.ToString(); + var result = new PluginResult(PluginResult.Status.OK, objectId); + DispatchCommandResult(result); + + } + + public void getSubscriptions(string args) + { + + + var installation = ParseInstallation.CurrentInstallation; + IEnumerable subscribedChannels = installation.Channels; + var result = new PluginResult(PluginResult.Status.OK, subscribedChannels); + DispatchCommandResult(result); + + } + + public void subscribe(string args) + { + var topic = JSON.JsonHelper.Deserialize(args)[0].ToString(); + ParsePush.SubscribeAsync(topic); + + DispatchCommandResult( new PluginResult(PluginResult.Status.OK, true)); + + + } + + public void unsubscribe(string args) + { + var topic = JSON.JsonHelper.Deserialize(args)[0].ToString(); + ParsePush.UnsubscribeAsync(topic); + + DispatchCommandResult(new PluginResult(PluginResult.Status.OK, true)); + } + + + + } +} \ No newline at end of file diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/wp8/parse/Parse.Phone.dll b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/wp8/parse/Parse.Phone.dll new file mode 100644 index 00000000..4f3421c7 Binary files /dev/null and b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/wp8/parse/Parse.Phone.dll differ diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/wp8/parse/Parse.Phone.xml b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/wp8/parse/Parse.Phone.xml new file mode 100644 index 00000000..a4a105c4 --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/wp8/parse/Parse.Phone.xml @@ -0,0 +1,754 @@ + + + + Parse.Phone + + + + + Provides an interface to Parse's logging and analytics backend. + + Methods will return immediately and cache requests (along with timestamps) + to be handled in the background. + + + + + Tracks this application being launched. + + An Async Task that can be waited on or ignored. + + + + Tracks the occurrence of a custom event with additional dimensions. + Parse will store a data point at the time of invocation with the + given event name. + + Dimensions will allow segmentation of the occurrences of this + custom event. + + To track a user signup along with additional metadata, consider the + following: + + IDictionary<string, string> dims = new Dictionary<string, string> { + { "gender", "m" }, + { "source", "web" }, + { "dayType", "weekend" } + }; + ParseAnalytics.TrackEventAsync("signup", dims); + + + There is a default limit of 8 dimensions per event tracked. + + The name of the custom event to report to ParseClient + as having happened. + An Async Task that can be waited on or ignored. + + + + Tracks the occurrence of a custom event with additional dimensions. + Parse will store a data point at the time of invocation with the + given event name. + + Dimensions will allow segmentation of the occurrences of this + custom event. + + To track a user signup along with additional metadata, consider the + following: + + IDictionary<string, string> dims = new Dictionary<string, string> { + { "gender", "m" }, + { "source", "web" }, + { "dayType", "weekend" } + }; + ParseAnalytics.TrackEventAsync("signup", dims); + + + There is a default limit of 8 dimensions per event tracked. + + The name of the custom event to report to ParseClient + as having happened. + The dictionary of information by which to + segment this event. + An Async Task that can be waited on or ignored. + + + + Private method, used by platform-specific extensions to report an app-open + to the server. + + An identifying hash for a given push notification, + passed down from the server. + An Async Task that can be waited on or ignored. + + + + This method adds event listeners to track app opens from tiles, the app list, + and push notifications. Windows Phone 8 developers should use TrackAppOpens instead of + TrackAppOpenedAsync, which this method will call automatically. + + This method can be called in Application_Launching or as follows in the Application constructor: + + + this.Startup += (sender, args) => { + ParseAnalytics.TrackAppOpens(RootFrame); + }; + + + The RootFrame of the Application. + + + + Provides a set of utilities for using Parse with Facebook. + + + + + Initializes Facebook for use with Parse. + + Your Facebook application ID. + + + + Logs in a using Facebook for authentication. If a user for the + given Facebook credentials does not already exist, a new user will be created. + + The user's Facebook ID. + A valid access token for the user. + The expiration date of the access token. + The cancellation token. + The user that was either logged in or created. + + + + Logs in a using Facebook for authentication. If a user for the + given Facebook credentials does not already exist, a new user will be created. + + The user's Facebook ID. + A valid access token for the user. + The expiration date of the access token. + The user that was either logged in or created. + + + + Links a to a Facebook account, allowing you to use Facebook + for authentication, and providing access to Facebook data for the user. + + The user to link to a Facebook account. + The user's Facebook ID. + A valid access token for the user. + The expiration date of the access token. + The cancellation token. + + + + Links a to a Facebook account, allowing you to use Facebook + for authentication, and providing access to Facebook data for the user. + + The user to link to a Facebook account. + The user's Facebook ID. + A valid access token for the user. + The expiration date of the access token. + + + + Gets whether the given user is linked to a Facebook account. This can only be used on + the currently authorized user. + + The user to check. + true if the user is linked to a Facebook account. + + + + Unlinks a user from a Facebook account. Unlinking a user will save the user's data. + + The user to unlink. + The cancellation token. + + + + Unlinks a user from a Facebook account. Unlinking a user will save the user's data. + + The user to unlink. + + + + Fetches the app's ProductID from its manifest. + + + + + Checks whether the Uri passed into your application comes from the Facebook + app as a result of a completed login attempt. + + Your code will usually look like this: + + RootFrame.Navigating += async (sender, e) => { + if (ParseFacebookUtils.IsLoginRedirect(e.Uri)) { + ParseUser user = await ParseFacebookUtils.EndLoginAsync( + sender, e, new Uri("/LandingPage.xaml", UriKind.Relative)); + // A new user is now logged in. + } + }; + + + + true iff the Uri is a Facebook login redirect, false + otherwise + + + + Call this method within your RootFrame.Navigating event handler to complete native Facebook + sign-on. When handling a Facebook login redirect URI, this method will cancel the + pending navigation, begin asynchronously logging in the user, and immediately navigate + to the . + + Your code will usually look like this: + + RootFrame.Navigating += async (sender, e) => { + if (ParseFacebookUtils.IsLoginRedirect(e.Uri)) { + ParseUser user = await ParseFacebookUtils.EndLoginAsync( + sender, e, new Uri("/LandingPage.xaml", UriKind.Relative)); + // A new user is now logged in. + } + }; + + + The sender for the Navigating event. + The Navigating event args. + The Uri within your app to redirect to. + The ParseUser created or logged in using Facebook credentials, or null if + this was not a Facebook login redirect. + + + + Logs in a using Facebook for authentication. If a user for the + given Facebook credentials does not already exist, a new user will be created. + + The user will be logged in through the Facebook app's single sign-on mechanism. + + You must add a handler to your RootFrame's Navigating event that calls EndLogInAsync so + that ParseFacebookUtils can handle incoming navigation attempts. + = + A list of Facebook permissions to request. + + + + Logs in a using Facebook for authentication. If a user for the + given Facebook credentials does not already exist, a new user will be created. + + The user will be logged in through Facebook's OAuth web flow, so you must supply a + that will be navigated to Facebook's authentication pages. + + A web view that will be used to present the authorization pages + to the user. + A list of Facebook permissions to request. + The cancellation token. + The user that was either logged in or created. + + + + Links a to a Facebook account, allowing you to use Facebook + for authentication, and providing access to Facebook datta for the user. + + The user will be logged in through Facebook's OAuth web flow, so you must supply a + that will be navigated to Facebook's authentication pages. + + The user to link with Facebook. + A web view that will be used to present the authorization pages + to the user. + A list of Facebook permissions to request. + The cancellation token. + + + + Logs in a using Facebook for authentication . If a user for the + given Facebook credentials does not already exist, a new user will be created. + + The user will be logged in through Facebook's OAuth web flow, so you must supply a + that will be navigated to Facebook's authentication pages. + + A web view that will be used to present the authorization pages + to the user. + A list of Facebook permissions to request. + The user that was either logged in or created. + + + + Links a to a Facebook account, allowing you to use Facebook + for authentication, and providing access to Facebook datta for the user. + + The user will be logged in through Facebook's OAuth web flow, so you must supply a + that will be navigated to Facebook's authentication pages. + + The user to link with Facebook. + A web view that will be used to present the authorization pages + to the user. + A list of Facebook permissions to request. + + + + Gets the Facebook Application ID as supplied to + + + + + Gets the access token for the currently logged in Facebook user. This can be used with a + Facebook SDK to get access to Facebook user data. + + + + + Provides a dictionary that gets persisted on the filesystem between runs of the app. + This is analogous to NSUserDefaults in iOS. + + + + + Wraps the custom settings object for Parse so that it can be exposed as ApplicationSettings. + + + + + A utility class for sending push notifications. + + + + + Extract the JSON dictionary used to send this push. + + The args parameter passed to a push received event. + The JSON dictionary used to send this push. + + + + A method for getting the JSON dictionary used to send a push notification from the + OnNavigated event handler, i.e. + + + public override void OnNavigatedTo(NavigationEventArgs args) { + var json = PushJson(args); + /* ... */ + } + + + The args parameter passed to OnNavigatedTo + The JSON dictionary used to send this push. + + + + Creates a push which will target every device. The Data field must be set before calling SendAsync. + + + + + Request a push to be sent. When this task completes, Parse has successfully acknowledged a request + to send push notifications but has not necessarily finished sending all notifications + requested. The current status of recent push notifications can be seen in your Push Notifications + console on http://parse.com + + A Task for continuation. + + + + Request a push to be sent. When this task completes, Parse has successfully acknowledged a request + to send push notifications but has not necessarily finished sending all notifications + requested. The current status of recent push notifications can be seen in your Push Notifications + console on http://parse.com + + CancellationToken to cancel the current operation. + + + + Subscribe the current installation to this channel. This is shorthand for: + + + var installation = ParseInstallation.CurrentInstallation; + installation.AddUniqueToList("channels", channel); + installation.SaveAsync(); + + + The channel to which this installation should subscribe. + + + + Subscribe the current installation to this channel. This is shorthand for: + + + var installation = ParseInstallation.CurrentInstallation; + installation.AddUniqueToList("channels", channel); + installation.SaveAsync(cancellationToken); + + + The channel to which this installation should subscribe. + CancellationToken to cancel the current operation. + + + + Subscribe the current installation to these channels. This is shorthand for: + + + var installation = ParseInstallation.CurrentInstallation; + installation.AddRangeUniqueToList("channels", channels); + installation.SaveAsync(); + + + The channels to which this installation should subscribe. + + + + Subscribe the current installation to these channels. This is shorthand for: + + + var installation = ParseInstallation.CurrentInstallation; + installation.AddRangeUniqueToList("channels", channels); + installation.SaveAsync(cancellationToken); + + + The channels to which this installation should subscribe. + CancellationToken to cancel the current operation. + + + + Unsubscribe the current installation from this channel. This is shorthand for: + + + var installation = ParseInstallation.CurrentInstallation; + installation.Remove("channels", channel); + installation.SaveAsync(); + + + The channel from which this installation should unsubscribe. + + + + Unsubscribe the current installation from this channel. This is shorthand for: + + + var installation = ParseInstallation.CurrentInstallation; + installation.Remove("channels", channel); + installation.SaveAsync(cancellationToken); + + + The channel from which this installation should unsubscribe. + CancellationToken to cancel the current operation. + + + + Unsubscribe the current installation from these channels. This is shorthand for: + + + var installation = ParseInstallation.CurrentInstallation; + installation.RemoveAllFromList("channels", channels); + installation.SaveAsync(); + + + The channels from which this installation should unsubscribe. + + + + Unsubscribe the current installation from these channels. This is shorthand for: + + + var installation = ParseInstallation.CurrentInstallation; + installation.RemoveAllFromList("channels", channels); + installation.SaveAsync(cancellationToken); + + + The channels from which this installation should unsubscribe. + CancellationToken to cancel the current operation. + + + + Pushes a simple message to every device. This is shorthand for: + + + var push = new ParsePush(); + push.Data = new Dictionary<string, object>{{"alert", alert}}; + return push.SendAsync(); + + + The alert message to send. + + + + Pushes a simple message to every device subscribed to channel. This is shorthand for: + + + var push = new ParsePush(); + push.Channels = new List<string> { channel }; + push.Data = new Dictionary<string, object>{{"alert", alert}}; + return push.SendAsync(); + + + The alert message to send. + An Installation must be subscribed to channel to receive this Push Notification. + + + + Pushes a simple message to every device subscribed to any of channels. This is shorthand for: + + + var push = new ParsePush(); + push.Channels = channels; + push.Data = new Dictionary<string, object>{{"alert", alert}}; + return push.SendAsync(); + + + The alert message to send. + An Installation must be subscribed to any of channels to receive this Push Notification. + + + + Pushes a simple message to every device matching the target query. This is shorthand for: + + + var push = new ParsePush(); + push.Query = query; + push.Data = new Dictionary<string, object>{{"alert", alert}}; + return push.SendAsync(); + + + The alert message to send. + A query filtering the devices which should receive this Push Notification. + + + + Pushes an arbitrary payload to every device. This is shorthand for: + + + var push = new ParsePush(); + push.Data = data; + return push.SendAsync(); + + + A push payload. See the ParsePush.Data property for more information. + + + + Pushes an arbitrary payload to every device subscribed to channel. This is shorthand for: + + + var push = new ParsePush(); + push.Channels = new List<string> { channel }; + push.Data = data; + return push.SendAsync(); + + + A push payload. See the ParsePush.Data property for more information. + An Installation must be subscribed to channel to receive this Push Notification. + + + + Pushes an arbitrary payload to every device subscribed to any of channels. This is shorthand for: + + + var push = new ParsePush(); + push.Channels = channels; + push.Data = data; + return push.SendAsync(); + + + A push payload. See the ParsePush.Data property for more information. + An Installation must be subscribed to any of channels to receive this Push Notification. + + + + Pushes an arbitrary payload to every device matching target. This is shorthand for: + + + var push = new ParsePush(); + push.Query = query + push.Data = data; + return push.SendAsync(); + + + A push payload. See the ParsePush.Data property for more information. + A query filtering the devices which should receive this Push Notification. + + + + An event fired when a push notification of any type (i.e. toast, tile, badge, or raw) is + received. + + + + + A generic event handler for notifications of all types. Because this event is also fired + when a raw notification is sent, the event args are very hard to use. You only get a byte + stream! We'll reveal this publicly once we support raw notifications; in the meantime we + should leave ToastNotificationReceived as the golden road. + + + + + An installation query that specifies which installations shoudl receive + this push. + This should not be used in tandem with Channels. + + + + + A short-hand to set a query which only discriminates on the channels to which a device is subscribed. + This is shorthand for: + + + var push = new Push(); + push.Query = ParseInstallation.Query.WhereKeyContainedIn("channels", channels); + + + This cannot be used in tandem with Query. + + + + + The time at which this push will expire. This should not be used in tandem with ExpirationInterval. + + + + + The time from initial schedul when this push will expire. This should not be used in tandem with Expiration. + + + + + The contents of this push. Some keys have special meaning. A full list of pre-defined + keys can be found in the Parse Push Guide. The following keys affect WinRT devices. + Keys which do not start with x-winrt- can be prefixed with x-winrt- to specify an + override only sent to winrt devices. + alert: the body of the alert text. + title: The title of the text. + x-winrt-payload: A full XML payload to be sent to WinRT installations instead of + the auto-layout. + This should not be used in tandem with Alert. + + + + + A conveninence method which sets Data to a dictionary with alert as its only field. Equivalent to + + + Data = new Dictionary<string, object> {{"alert", alert}}; + + + This should not be used in tandem with Data. + + + + + Represents this app installed on this device. Use this class to track infomation you want + to sample from (i.e. if you update a field on app launch, you can issue a query to see + the number of devices which were active in the last N hours). + + + + + Whether the currentInstallation is known to match the serialized version on disk. + This is useful for saving a filesystem check if you try to load currentInstallation + frequently while there is none on disk. + + + + + Constructs a new ParseInstallation. Generally, you should not need to construct + ParseInstallations yourself. Instead use . + + + + + This mapping of Windows names to a standard everyone else uses is maintained + by the Unicode consortium, which makes this officially the first helpful + interaction between Unicode and Microsoft. + Unfortunately this is a little lossy in that we only store the first mapping in each zone because + Microsoft does not give us more granular location information. + Built from http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/zone_tzid.html + + + + + Future proofing: Right now there's only one valid channel for the app, but we will likely + want to allow additional channels for auxiliary tiles (i.e. a contacts app can have a new + channel for each contact and the UI needs to pop up on the right tile). The expansion job + generically has one _Installation field it passes to device-specific code, so we store a map + of tag -> channel URI. Right now, there is only one valid tag and it is automatic. + Unsed variable warnings are suppressed becaue this const is used in WinRT and WinPhone but not NetFx. + + + + + Gets an attribute from the Windows Phone App Manifest App element + + the attribute name + the attribute value + + + + Gets the ParseInstallation representing this app on this device. + + + + + Constructs a for ParseInstallations. + + + Only the following types of queries are allowed for installations: + + + query.GetAsync(objectId) + query.WhereEqualTo(key, value) + query.WhereMatchesKeyInQuery<TOther>(key, keyInQuery, otherQuery) + + + You can add additional query conditions, but one of the above must appear as a top-level AND + clause in the query. + + + + + A GUID that uniquely names this app installed on this device. + + + + + The time zone in which this device resides. This string is in the tz database format + Parse uses for local-time pushes. Due to platform restrictions, the mapping is less + granular on Windows than it may be on other systems. E.g. The zones + America/Vancouver America/Dawson America/Whitehorse, America/Tijuana, PST8PDT, and + America/Los_Angeles are all reported as America/Los_Angeles. + + + + + The version of the Parse SDK used to build this application. + + + + + A sequence of arbitrary strings which are used to identify this installation for push notifications. + By convention, the empty string is known as the "Broadcast" channel. + + + + + The runtime target of this application. Is one of winrt, winphone, or dotnet. + + + + + The user-friendly display name of this application. + + + + + The system-dependent unique identifier of this installation. This identifier should be + sufficient to distinctly name an app on stores which may allow multiple apps with the + same display name. + + + + + A version string consisting of Major.Minor.Build.Revision. + + + + diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/wp8/parse/Parse.dll b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/wp8/parse/Parse.dll new file mode 100644 index 00000000..a7d32fff Binary files /dev/null and b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/wp8/parse/Parse.dll differ diff --git a/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/wp8/parse/Parse.xml b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/wp8/parse/Parse.xml new file mode 100644 index 00000000..c3709e5a --- /dev/null +++ b/StoneIsland/plugins/com.parse.cordova.core.pushplugin/src/wp8/parse/Parse.xml @@ -0,0 +1,2670 @@ + + + + Parse + + + + + Authenticates with the service. + + The cancellation token. + + + + Deauthenticates (logs out) the user associated with this provider. This + call may block. + + + + + Restores authentication that has been serialized, such as session keys, + etc. + + The auth data for the provider. This value may be null + when unlinking an account. + true iff the authData was successfully synchronized. A false return + value indicates that the user should no longer be associated because of bad auth + data. + + + + Provides a unique name for the type of authentication the provider does. + For example, the FacebookAuthenticationProvider would return "facebook". + + + + + Parses a uri, looking for a base uri that represents facebook login completion, and then + converting the query string into a dictionary of key-value pairs. (e.g. access_token) + + + + + Provides a Dictionary implementation that can delegate to any other + dictionary, regardless of its value type. Used for coercion of + dictionaries when returning them to users. + + The resulting type of value in the dictionary. + The original type of value in the dictionary. + + + + Provides a List implementation that can delegate to any other + list, regardless of its value type. Used for coercion of + lists when returning them to users. + + The resulting type of value in the list. + The original type of value in the list. + + + + An equality comparer that uses the object identity (i.e. ReferenceEquals) + rather than .Equals, allowing identity to be used for checking equality in + ISets and IDictionaries. + + + + + Provides helper methods that allow us to use terser code elsewhere. + + + + + Ensures a task (even null) is awaitable. + + + + + + + + Ensures a task (even null) is awaitable. + + + + + + + Partial methods cannot return a value, so we instead make partial accessors + use ref params. This helper can be used to write code more normally so we get + the out-param or default when calling a partial method. Given a partial method: + partial void GetFoo(ref string foo) + we can say string foo = this.GetPartial<string>(GetFoo); + + + + + + + + Partial methods cannot return a value, so we instead make partial accessors + use ref params. This means you cannot effectively make a partial which is + async. This code helps create a design pattern where a partial takes a ref Task + param and we can await the PartialAsync of it. Given a partial method: + partial void FooAsync(ref Task<string> task) + we can say string foo = await PartialAsync<string>(FooAsync); + + + + + + + + + A ParseFieldOperation represents a modification to a value in a ParseObject. + For example, setting, deleting, or incrementing a value are all different kinds of + ParseFieldOperations. ParseFieldOperations themselves can be considered to be + immutable. + + + + + Converts the ParseFieldOperation to a data structure that can be converted to JSON and sent to + Parse as part of a save operation. + + An object to be JSONified. + + + + Returns a field operation that is composed of a previous operation followed by + this operation. This will not mutate either operation. However, it may return + this if the current operation is not affected by previous changes. + For example: + {increment by 2}.MergeWithPrevious({set to 5}) -> {set to 7} + {set to 5}.MergeWithPrevious({increment by 2}) -> {set to 5} + {add "foo"}.MergeWithPrevious({delete}) -> {set to ["foo"]} + {delete}.MergeWithPrevious({add "foo"}) -> {delete} /// + The most recent operation on the field, or null if none. + A new ParseFieldOperation or this. + + + + Returns a new estimated value based on a previous value and this operation. This + value is not intended to be sent to Parse, but it is used locally on the client to + inspect the most likely current value for a field. + + The key and object are used solely for ParseRelation to be able to construct objects + that refer back to their parents. + + The previous value for the field. + The object that contains this value. + The key that this value is for. + The new value for the field. + + + + A simple recursive-descent JSON Parser based on the grammar defined at http://www.json.org + and http://tools.ietf.org/html/rfc4627 + + + + + Place at the start of a regex to force the match to begin wherever the search starts (i.e. + anchored at the index of the first character of the search, even when that search starts + in the middle of the string). + + + + + Parses a JSON-text as defined in http://tools.ietf.org/html/rfc4627, returning an + IDictionary<string, object> or an IList<object> depending on whether + the value was an array or dictionary. Nested objects also match these types. + + + + + Encodes a dictionary into a JSON string. Suppots values that are + IDictionary<string, object>, IList<object>, strings, + nulls, and any of the primitive types. + + + + + Encodes a list into a JSON string. Suppots values that are + IDictionary<string, object>, IList<object>, strings, + nulls, and any of the primitive types. + + + + + Encodes an object into a JSON string. + + + + + Parses JSON object syntax (e.g. '{}') + + + + + Parses JSON member syntax (e.g. '"keyname" : null') + + + + + Parses JSON array syntax (e.g. '[]') + + + + + Parses a value (i.e. the right-hand side of an object member assignment or + an element in an array) + + + + + Parses a JSON string (e.g. '"foo\u1234bar\n"') + + + + + Parses a number. Returns a long if the number is an integer or has an exponent, + otherwise returns a double. + + + + + Matches the string to a regex, consuming part of the string and returning the match. + + + + + An operation where a field is deleted from the object. + + + + + The ParseConfig is a representation of the remote configuration object, + that enables you to add things like feature gating, a/b testing or simple "Message of the day". + + + + + Retrieves the ParseConfig asynchronously from the server. + + ParseConfig object that was fetched + + + + Retrieves the ParseConfig asynchronously from the server. + + The cancellation token. + ParseConfig object that was fetched + + + + Gets a value for the key of a particular type. + + The type to convert the value to. Supported types are + ParseObject and its descendents, Parse types such as ParseRelation and ParseGeopoint, + primitive types,IList<T>, IDictionary<string, T> and strings. + The key of the element to get. + The property is retrieved + and is not found. + The property under this + key was found, but of a different type. + + + + Populates result with the value for the key, if possible. + + The desired type for the value. + The key to retrieve a value for. + The value for the given key, converted to the + requested type, or null if unsuccessful. + true if the lookup and conversion succeeded, otherwise false. + + + + Gets the latest fetched ParseConfig. + + ParseConfig object + + + + Gets a value on the config. + + The key for the parameter. + The property is + retrieved and is not found. + The value for the key. + + + + Specifies a field name for a property on a ParseObject subclass. + + + + + Constructs a new ParseFieldName attribute. + + The name of the field on the ParseObject that the + property represents. + + + + Gets the name of the field represented by this property. + + + + + This method helps simplify the process of getting a constructor for a type. + A method like this exists in .NET but is not allowed in a Portable Class Library, + so we've built our own. + + + + + + + + Represents an event handler that calls back from the synchronization context + that subscribed. + Should look like an EventArgs, but may not inherit EventArgs if T is implemented by the Windows team. + + + + + A helper class for enqueuing tasks + + + + + We only need to keep the tail of the queue. Cancelled tasks will + just complete normally/immediately when their turn arrives. + + + + + Gets a cancellable task that can be safely awaited and is dependent + on the current tail of the queue. This essentially gives us a proxy + for the tail end of the queue whose awaiting can be cancelled. + + A cancellation token that cancels + the task even if the task is still in the queue. This allows the + running task to return immediately without breaking the dependency + chain. It also ensures that errors do not propagate. + A new task that should be awaited by enqueued tasks. + + + + Enqueues a task created by . If the task is + cancellable (or should be able to be cancelled while it is waiting in the + queue), pass a cancellationToken. + + The type of task. + A function given a task to await once state is + snapshotted (e.g. after capturing session tokens at the time of the save call). + Awaiting this task will wait for the created task's turn in the queue. + A cancellation token that can be used to + cancel waiting in the queue. + The task created by the taskStart function. + + + + Defines the class name for a subclass of ParseObject. + + + + + Constructs a new ParseClassName attribute. + + The class name to associate with the ParseObject subclass. + + + + Gets the class name to associate with the ParseObject subclass. + + + + + ParseFile is a local representation of a file that is saved to the Parse cloud. + + + The workflow is to construct a with data and a filename, + then save it and set it as a field on a ParseObject: + + + var file = new ParseFile("hello.txt", + new MemoryStream(Encoding.UTF8.GetBytes("hello"))); + await file.SaveAsync(); + var obj = new ParseObject("TestObject"); + obj["file"] = file; + await obj.SaveAsync(); + + + + + + Creates a new file from a byte array and a name. + + The file's name, ideally with an extension. The file name + must begin with an alphanumeric character, and consist of alphanumeric + characters, periods, spaces, underscores, or dashes. + The file's data. + To specify the content-type used when uploading the + file, provide this parameter. + + + + Creates a new file from a stream and a name. + + The file's name, ideally with an extension. The file name + must begin with an alphanumeric character, and consist of alphanumeric + characters, periods, spaces, underscores, or dashes. + The file's data. + To specify the content-type used when uploading the + file, provide this parameter. + + + + Saves the file to the Parse cloud. + + + + + Saves the file to the Parse cloud. + + The cancellation token. + + + + Saves the file to the Parse cloud. + + The progress callback. + + + + Saves the file to the Parse cloud. + + The progress callback. + The cancellation token. + + + + A list of file extensions to mime types as found here: + http://stackoverflow.com/questions/58510/using-net-how-can-you-find-the-mime-type-of-a-file-based-on-the-file-signature + + + + + Gets whether the file still needs to be saved. + + + + + Gets the name of the file. Before save is called, this is the filename given by + the user. After save is called, that name gets prefixed with a unique identifier. + + + + + Gets the MIME type of the file. This is either passed in to the constructor or + inferred from the file extension. "unknown/unknown" will be used if neither is + available. + + + + + Gets the url of the file. It is only available after you save the file or after + you get the file from a . + + + + + Provides extension methods for to support + Linq-style queries. + + + + + Gets a MethodInfo for a top-level method call. + + + + + When a query is normalized, this is a placeholder to indicate we should + add a WhereContainedIn() clause. + + + + + When a query is normalized, this is a placeholder to indicate we should + add a WhereNotContainedIn() clause. + + + + + When a query is normalized, this is a placeholder to indicate that we should + add a WhereExists() clause. + + + + + When a query is normalized, this is a placeholder to indicate that we should + add a WhereDoesNotExist() clause. + + + + + Evaluates an expression and throws if the expression has components that can't be + evaluated (e.g. uses the parameter that's only represented by an object on the server). + + + + + Checks whether the MethodCallExpression is a call to ParseObject.Get(), + which is the call we normalize all indexing into the ParseObject to. + + + + + Converts a normalized method call expression into the appropriate ParseQuery clause. + + + + + Converts a normalized binary expression into the appropriate ParseQuery clause. + + + + + Filters a query based upon the predicate provided. + + The type of ParseObject being queried for. + The base to which + the predicate will be added. + A function to test each ParseObject for a condition. + The predicate must be able to be represented by one of the standard Where + functions on ParseQuery + A new ParseQuery whose results will match the given predicate as + well as the source's filters. + + + + Normalizes an OrderBy's keySelector expression and then extracts the path + from the ParseObject.Get() call. + + + + + Orders a query based upon the key selector provided. + + The type of ParseObject being queried for. + The type of key returned by keySelector. + The query to order. + A function to extract a key from the ParseObject. + A new ParseQuery based on source whose results will be ordered by + the key specified in the keySelector. + + + + Orders a query based upon the key selector provided. + + The type of ParseObject being queried for. + The type of key returned by keySelector. + The query to order. + A function to extract a key from the ParseObject. + A new ParseQuery based on source whose results will be ordered by + the key specified in the keySelector. + + + + Performs a subsequent ordering of a query based upon the key selector provided. + + The type of ParseObject being queried for. + The type of key returned by keySelector. + The query to order. + A function to extract a key from the ParseObject. + A new ParseQuery based on source whose results will be ordered by + the key specified in the keySelector. + + + + Performs a subsequent ordering of a query based upon the key selector provided. + + The type of ParseObject being queried for. + The type of key returned by keySelector. + The query to order. + A function to extract a key from the ParseObject. + A new ParseQuery based on source whose results will be ordered by + the key specified in the keySelector. + + + + Correlates the elements of two queries based on matching keys. + + The type of ParseObjects of the first query. + The type of ParseObjects of the second query. + The type of the keys returned by the key selector + functions. + The type of the result. This must match either + TOuter or TInner + The first query to join. + The query to join to the first query. + A function to extract a join key from the results of + the first query. + A function to extract a join key from the results of + the second query. + A function to select either the outer or inner query + result to determine which query is the base query. + A new ParseQuery with a WhereMatchesQuery or WhereMatchesKeyInQuery + clause based upon the query indicated in the . + + + + Visits an Expression, converting ParseObject.Get/ParseObject[]/ParseObject.Property, + and nested indices into a single call to ParseObject.Get() with a "field path" like + "foo.bar.baz" + + + + + Check for a ParseFieldName attribute and use that as the path component, turning + properties like foo.ObjectId into foo.Get("objectId") + + + + + If a ParseObject.Get() call has been cast, just change the generic parameter. + + + + + Normalizes Where expressions. + + + + + Normalizes binary operators. <, >, <=, >= !=, and == + This puts the ParseObject.Get() on the left side of the operation + (reversing it if necessary), and normalizes the ParseObject.Get() + + + + + If a ! operator is used, this removes the ! and instead calls the equivalent + function (so e.g. == becomes !=, < becomes >=, Contains becomes NotContains) + + + + + Normalizes .Equals into == and Contains() into the appropriate stub. + + + + + A ParseACL is used to control which users and roles can access or modify a particular object. Each + can have its own ParseACL. You can grant read and write permissions + separately to specific users, to groups of users that belong to roles, or you can grant permissions + to "the public" so that, for example, any user could read a particular object but only a particular + set of users could write to that object. + + + + + Creates an ACL with no permissions granted. + + + + + Creates an ACL where only the provided user has access. + + The only user that can read or write objects governed by this ACL. + + + + Sets whether the given user id is allowed to read this object. + + The objectId of the user. + Whether the user has permission. + + + + Sets whether the given user is allowed to read this object. + + The user. + Whether the user has permission. + + + + Sets whether the given user id is allowed to write this object. + + The objectId of the user. + Whether the user has permission. + + + + Sets whether the given user is allowed to write this object. + + The user. + Whether the user has permission. + + + + Gets whether the given user id is *explicitly* allowed to read this object. + Even if this returns false, the user may still be able to read it if + PublicReadAccess is true or a role that the user belongs to has read access. + + The user objectId to check. + Whether the user has access. + + + + Gets whether the given user is *explicitly* allowed to read this object. + Even if this returns false, the user may still be able to read it if + PublicReadAccess is true or a role that the user belongs to has read access. + + The user to check. + Whether the user has access. + + + + Gets whether the given user id is *explicitly* allowed to write this object. + Even if this returns false, the user may still be able to write it if + PublicReadAccess is true or a role that the user belongs to has write access. + + The user objectId to check. + Whether the user has access. + + + + Gets whether the given user is *explicitly* allowed to write this object. + Even if this returns false, the user may still be able to write it if + PublicReadAccess is true or a role that the user belongs to has write access. + + The user to check. + Whether the user has access. + + + + Sets whether users belonging to the role with the given + are allowed to read this object. + + The name of the role. + Whether the role has access. + + + + Sets whether users belonging to the given role are allowed to read this object. + + The role. + Whether the role has access. + + + + Gets whether users belonging to the role with the given + are allowed to read this object. Even if this returns false, the role may still be + able to read it if a parent role has read access. + + The name of the role. + Whether the role has access. + + + + Gets whether users belonging to the role are allowed to read this object. + Even if this returns false, the role may still be able to read it if a + parent role has read access. + + The name of the role. + Whether the role has access. + + + + Sets whether users belonging to the role with the given + are allowed to write this object. + + The name of the role. + Whether the role has access. + + + + Sets whether users belonging to the given role are allowed to write this object. + + The role. + Whether the role has access. + + + + Gets whether users belonging to the role with the given + are allowed to write this object. Even if this returns false, the role may still be + able to write it if a parent role has write access. + + The name of the role. + Whether the role has access. + + + + Gets whether users belonging to the role are allowed to write this object. + Even if this returns false, the role may still be able to write it if a + parent role has write access. + + The name of the role. + Whether the role has access. + + + + Gets or sets whether the public is allowed to read this object. + + + + + Gets or sets whether the public is allowed to write this object. + + + + + ParseClient contains static functions that handle global + configuration for the Parse library. + + + + + Authenticates this client as belonging to your application. This must be + called before your application can use the Parse library. The recommended + way is to put a call to ParseFramework.Initialize in your + Application startup. + + The Application ID provided in the Parse dashboard. + + The .NET API Key provided in the Parse dashboard. + + + + + Convenience alias for RequestAsync that takes a string instead of a Uri. + + + + + The main mechanism for making requests to Parse. Attaches headers related to + the SDK, session token, etc., then JSON-parses the result of the request and throws + a ParseException if necessary. + + The HTTP method to use. + A relative URI for the API. + The session token for the request. + A JSON-style data object that will be stringified + for the request body. + The cancellation token for the request. + A tuple indicating the HTTP status code and the JSON data + returned by the request. + + + + Performs an upload that reports progress. + + + + + Performs a ConvertTo, but returns null if the object can't be + converted to that type. + + + + + Converts a value to the requested type -- coercing primitives to + the desired type, wrapping lists and dictionaries appropriately, + or else passing the object along to the caller unchanged. + + This should be used on any containers that might be coming from a + user to normalize the collection types. Collection types coming from + JSON deserialization can be safely assumed to be lists or dictionaries of + objects. + + + + + Holds a dictionary that maps a cache of interface types for related concrete types. + The lookup is slow the first time for each type because it has to enumerate all interface + on the object type, but made fast by the cache. + + The map is: + (object type, generic interface type) => constructed generic type + + + + + Flattens dictionaries and lists into a single enumerable of all contained objects + that can then be queried over. + + The root of the traversal + Whether to traverse into ParseObjects' children + Whether to include the root in the result + + + + + The ParseCloud class provides methods for interacting with Parse Cloud Functions. + + + For example, this sample code calls the + "validateGame" Cloud Function and calls processResponse if the call succeeded + and handleError if it failed. + + + var result = + await ParseCloud.CallFunctionAsync<IDictionary<string, object>>("validateGame", parameters); + + + + + + Calls a cloud function. + + The type of data you will receive from the cloud function. This + can be an IDictionary, string, IList, ParseObject, or any other type supported by + ParseObject. + The cloud function to call. + The parameters to send to the cloud function. This + dictionary can contain anything that could be passed into a ParseObject except for + ParseObjects themselves. + The result of the cloud call. + + + + Calls a cloud function. + + The type of data you will receive from the cloud function. This + can be an IDictionary, string, IList, ParseObject, or any other type supported by + ParseObject. + The cloud function to call. + The parameters to send to the cloud function. This + dictionary can contain anything that could be passed into a ParseObject except for + ParseObjects themselves. + The cancellation token. + The result of the cloud call. + + + + Exceptions that may occur when sending requests to Parse. + + + + + The Parse error code associated with the exception. + + + + + Error codes that may be delivered in response to requests to Parse. + + + + + Error code indicating that an unknown error or an error unrelated to Parse + occurred. + + + + + Error code indicating that something has gone wrong with the server. + If you get this error code, it is Parse's fault. Please report the bug to + https://parse.com/help. + + + + + Error code indicating the connection to the Parse servers failed. + + + + + Error code indicating the specified object doesn't exist. + + + + + Error code indicating you tried to query with a datatype that doesn't + support it, like exact matching an array or object. + + + + + Error code indicating a missing or invalid classname. Classnames are + case-sensitive. They must start with a letter, and a-zA-Z0-9_ are the + only valid characters. + + + + + Error code indicating an unspecified object id. + + + + + Error code indicating an invalid key name. Keys are case-sensitive. They + must start with a letter, and a-zA-Z0-9_ are the only valid characters. + + + + + Error code indicating a malformed pointer. You should not see this unless + you have been mucking about changing internal Parse code. + + + + + Error code indicating that badly formed JSON was received upstream. This + either indicates you have done something unusual with modifying how + things encode to JSON, or the network is failing badly. + + + + + Error code indicating that the feature you tried to access is only + available internally for testing purposes. + + + + + You must call Parse.initialize before using the Parse library. + + + + + Error code indicating that a field was set to an inconsistent type. + + + + + Error code indicating an invalid channel name. A channel name is either + an empty string (the broadcast channel) or contains only a-zA-Z0-9_ + characters and starts with a letter. + + + + + Error code indicating that push is misconfigured. + + + + + Error code indicating that the object is too large. + + + + + Error code indicating that the operation isn't allowed for clients. + + + + + Error code indicating the result was not found in the cache. + + + + + Error code indicating that an invalid key was used in a nested + JSONObject. + + + + + Error code indicating that an invalid filename was used for ParseFile. + A valid file name contains only a-zA-Z0-9_. characters and is between 1 + and 128 characters. + + + + + Error code indicating an invalid ACL was provided. + + + + + Error code indicating that the request timed out on the server. Typically + this indicates that the request is too expensive to run. + + + + + Error code indicating that the email address was invalid. + + + + + Error code indicating that a unique field was given a value that is + already taken. + + + + + Error code indicating that a role's name is invalid. + + + + + Error code indicating that an application quota was exceeded. Upgrade to + resolve. + + + + + Error code indicating that a Cloud Code script failed. + + + + + Error code indicating that a Cloud Code validation failed. + + + + + Error code indicating that deleting a file failed. + + + + + Error code indicating that the application has exceeded its request limit. + + + + + Error code indicating that the provided event name is invalid. + + + + + Error code indicating that the username is missing or empty. + + + + + Error code indicating that the password is missing or empty. + + + + + Error code indicating that the username has already been taken. + + + + + Error code indicating that the email has already been taken. + + + + + Error code indicating that the email is missing, but must be specified. + + + + + Error code indicating that a user with the specified email was not found. + + + + + Error code indicating that a user object without a valid session could + not be altered. + + + + + Error code indicating that a user can only be created through signup. + + + + + Error code indicating that an an account being linked is already linked + to another user. + + + + + Error code indicating that the current session token is invalid. + + + + + Error code indicating that a user cannot be linked to an account because + that account's id could not be found. + + + + + Error code indicating that a user with a linked (e.g. Facebook) account + has an invalid session. + + + + + Error code indicating that a service being linked (e.g. Facebook or + Twitter) is unsupported. + + + + + Provides convenience extension methods for working with collections + of ParseObjects so that you can easily save and fetch them in batches. + + + + + Saves all of the ParseObjects in the enumeration. Equivalent to + calling . + + The objects to save. + + + + Saves all of the ParseObjects in the enumeration. Equivalent to + calling + . + + The objects to save. + The cancellation token. + + + + Fetches all of the objects in the enumeration. Equivalent to + calling . + + The objects to save. + + + + Fetches all of the objects in the enumeration. Equivalent to + calling + . + + The objects to fetch. + The cancellation token. + + + + Fetches all of the objects in the enumeration that don't already have + data. Equivalent to calling + . + + The objects to fetch. + + + + Fetches all of the objects in the enumeration that don't already have + data. Equivalent to calling + . + + The objects to fetch. + The cancellation token. + + + + Constructs a query that is the or of the given queries. + + The type of ParseObject being queried. + An initial query to 'or' with additional queries. + The list of ParseQueries to 'or' together. + A query that is the or of the given queries. + + + + Fetches this object with the data from the server. + + + + + Fetches this object with the data from the server. + + The ParseObject to fetch. + The cancellation token. + + + + If this ParseObject has not been fetched (i.e. returns + false), fetches this object with the data from the server. + + The ParseObjhect to fetch. + + + + If this ParseObject has not been fetched (i.e. returns + false), fetches this object with the data from the server. + + The ParseObject to fetch. + The cancellation token. + + + + Represents a distance between two ParseGeoPoints. + + + + + Creates a ParseGeoDistance. + + The distance in radians. + + + + Gets a ParseGeoDistance from a number of miles. + + The number of miles. + A ParseGeoDistance for the given number of miles. + + + + Gets a ParseGeoDistance from a number of kilometers. + + The number of kilometers. + A ParseGeoDistance for the given number of kilometers. + + + + Gets a ParseGeoDistance from a number of radians. + + The number of radians. + A ParseGeoDistance for the given number of radians. + + + + Gets the distance in radians. + + + + + Gets the distance in miles. + + + + + Gets the distance in kilometers. + + + + + ParseGeoPoint represents a latitude / longitude point that may be associated + with a key in a ParseObject or used as a reference point for geo queries. + This allows proximity-based queries on the key. + + Only one key in a class may contain a GeoPoint. + + + + + Constructs a ParseGeoPoint with the specified latitude and longitude. + + The point's latitude. + The point's longitude. + + + + Get the distance in radians between this point and another GeoPoint. This is the smallest angular + distance between the two points. + + GeoPoint describing the other point being measured against. + The distance in between the two points. + + + + Gets or sets the latitude of the GeoPoint. Valid range is [-90, 90]. + Extremes should not be used. + + + + + Gets or sets the longitude. Valid range is [-180, 180]. + Extremes should not be used. + + + + + The ParseObject is a local representation of data that can be saved and + retrieved from the Parse cloud. + + + The basic workflow for creating new data is to construct a new ParseObject, + use the indexer to fill it with data, and then use SaveAsync() to persist to the + database. + + + The basic workflow for accessing existing data is to use a ParseQuery + to specify which existing data to retrieve. + + + + + + Constructor for use in ParseObject subclasses. Subclasses must specify a ParseClassName attribute. + + + + + Constructs a new ParseObject with no data in it. A ParseObject constructed in this way will + not have an ObjectId and will not persist to the database until + is called. + + + Class names must be alphanumerical plus underscore, and start with a letter. It is recommended + to name classes in CamelCaseLikeThis. + + The className for this ParseObject. + + + + Sets the value of a property based upon its associated ParseFieldName attribute. + + The new value. + The name of the property. + The type for the property. + + + + Gets a relation for a property based upon its associated ParseFieldName attribute. + + The ParseRelation for the property. + The name of the property. + The ParseObject subclass type of the ParseRelation. + + + + Gets the value of a property based upon its associated ParseFieldName attribute. + + The value of the property. + The name of the property. + The return type of the property. + + + + Gets the value of a property based upon its associated ParseFieldName attribute. + + The value of the property. + The value to return if the property is not present on the ParseObject. + The name of the property. + The return type of the property. + + + + Allows subclasses to set values for non-pointer construction. + + + + + Gets the appropriate factory for the given class name. If there is no factory for the class, + a factory that produces a regular ParseObject will be created. + + The class name for the ParseObjects the factory will create. + + + + + Creates a new ParseObject based upon a class name. If the class name is a special type (e.g. + for ), then the appropriate type of ParseObject is returned. + + The class of object to create. + A new ParseObject for the given class name. + + + + Creates a reference to an existing ParseObject for use in creating associations between + ParseObjects. Calling on this object will return + false until has been called. + No network request will be made. + + The object's class. + The object id for the referenced object. + A ParseObject without data. + + + + Creates a new ParseObject based upon a given subclass type. + + A new ParseObject for the given class name. + + + + Creates a reference to an existing ParseObject for use in creating associations between + ParseObjects. Calling on this object will return + false until has been called. + No network request will be made. + + The object id for the referenced object. + A ParseObject without data. + + + + Registers a custom subclass type with the Parse SDK, enabling strong-typing of those ParseObjects whenever + they appear. Subclasses must specify the ParseClassName attribute, have a default constructor, and properties + backed by ParseObject fields should have ParseFieldName attributes supplied. + + The ParseObject subclass type to register. + + + + Clears any changes to this object made since the last call to . + + + + + Updates the JSON cache value for the given object. + + + + + Inspects to see if a given mutable container owned by this object has + been mutated, and treats any mutation as a new "set" operation. + + + + + Inspects to see if any mutable container owned by this object has been mutated, and + treats any mutation as a new 'Set' operation. + + + + + Deep traversal of this object to grab a copy of any object referenced by this object. + These instances may have already been fetched, and we don't want to lose their data when + refreshing or saving. + + Map of objectId to ParseObject which have been fetched. + + + + Pushes new operations onto the queue and returns the current set of operations. + + + + + Saves this object to the server. + + + + + Saves this object to the server. + + The cancellation token. + + + + Fetches this object with the data from the server. + + The cancellation token. + + + + If this ParseObject has not been fetched (i.e. returns + false), fetches this object with the data from the server. + + The cancellation token. + + + + Deletes this object on the server. + + + + + Deletes this object on the server. + + The cancellation token. + + + + Helper version of CollectDirtyChildren so that callers don't have to add the internally + used parameters. + + + + + Returns true if the given object can be serialized for saving as a value + that is pointed to by a ParseObject. + + + + + Adds a task to the queue for all of the given objects. + + + + + Fetches all of the objects that don't have data in the provided list. + + The list passed in for convenience. + + + + Fetches all of the objects that don't have data in the provided list. + + The objects to fetch. + The cancellation token. + The list passed in for convenience. + + + + Fetches all of the objects in the provided list. + + The objects to fetch. + The list passed in for convenience. + + + + Fetches all of the objects in the provided list. + + The objects to fetch. + The cancellation token. + The list passed in for convenience. + + + + Fetches all of the objects in the list. + + The objects to fetch. + If false, only objects without data will be fetched. + A task to await before starting. + The cancellation token. + The list passed in for convenience. + + + + Saves each object in the provided list. + + The objects to save. + + + + Saves each object in the provided list. + + The objects to save. + The cancellation token. + + + + Removes a key from the object's data if it exists. + + The key to remove. + + + + Updates the estimated values in the map based on the given set of ParseFieldOperations. + + + + + Regenerates the estimatedData map from the serverData and operations. + + + + + PerformOperation is like setting a value at an index, but instead of + just taking a new value, it takes a ParseFieldOperation that modifies the value. + + + + + Override to run validations on key/value pairs. Make sure to still + call the base version. + + + + + Perform Set internally which is not gated by mutability check. + + key for the object. + the value for the key. + + + + Atomically increments the given key by 1. + + The key to increment. + + + + Atomically increments the given key by the given number. + + The key to increment. + The amount to increment by. + + + + Atomically increments the given key by the given number. + + The key to increment. + The amount to increment by. + + + + Atomically adds an object to the end of the list associated with the given key. + + The key. + The object to add. + + + + Atomically adds objects to the end of the list associated with the given key. + + The key. + The objects to add. + + + + Atomically adds an object to the end of the list associated with the given key, + only if it is not already present in the list. The position of the insert is not + guaranteed. + + The key. + The object to add. + + + + Atomically adds objects to the end of the list associated with the given key, + only if they are not already present in the list. The position of the inserts are not + guaranteed. + + The key. + The objects to add. + + + + Atomically removes all instances of the objects in + from the list associated with the given key. + + The key. + The objects to remove. + + + + Returns whether this object has a particular key. + + The key to check for + + + + Gets a value for the key of a particular type. + The type to convert the value to. Supported types are + ParseObject and its descendents, Parse types such as ParseRelation and ParseGeopoint, + primitive types,IList<T>, IDictionary<string, T>, and strings. + The key of the element to get. + The property is + retrieved and is not found. + + + + + Access or create a Relation value for a key. + + The type of object to create a relation for. + The key for the relation field. + A ParseRelation for the key. + + + + Populates result with the value for the key, if possible. + + The desired type for the value. + The key to retrieve a value for. + The value for the given key, converted to the + requested type, or null if unsuccessful. + true if the lookup and conversion succeeded, otherwise + false. + + + + A helper function for checking whether two ParseObjects point to + the same object in the cloud. + + + + + Indicates whether key is unsaved for this ParseObject. + + The key to check for. + true if the key has been altered and not saved yet, otherwise + false. + + + + Sets the objectId without marking dirty. + + The new objectId + + + + Adds a value for the given key, throwing an Exception if the key + already has a value. + + + This allows you to use collection initialization syntax when creating ParseObjects, + such as: + + var obj = new ParseObject("MyType") + { + {"name", "foo"}, + {"count", 10}, + {"found", false} + }; + + + The key for which a value should be set. + The value for the key. + + + + Gets a for the type of object specified by + + + The class name of the object. + A new . + + + + Raises change notifications for all properties associated with the given + field names. If fieldNames is null, this will notify for all known field-linked + properties (e.g. this happens when we recalculate all estimated data from scratch) + + + + + Raises change notifications for a property. Passing null or the empty string + notifies the binding framework that all properties/indexes have changed. + Passing "Item[]" tells the binding framework that all indexed values + have changed (but not all properties) + + + + + Gets or sets a value on the object. It is recommended to name + keys in partialCamelCaseLikeThis. + + The key for the object. Keys must be alphanumeric plus underscore + and start with a letter. + The property is + retrieved and is not found. + The value for the key. + + + + Gets whether the ParseObject has been fetched. + + + + + Gets a set view of the keys contained in this object. This does not include createdAt, + updatedAt, or objectId. It does include things like username and ACL. + + + + + Gets or sets the ParseACL governing this object. + + + + + Returns true if this object was created by the Parse server when the + object might have already been there (e.g. in the case of a Facebook + login) + + + + + Gets the last time this object was updated as the server sees it, so that if you make changes + to a ParseObject, then wait a while, and then call , the updated time + will be the time of the call rather than the time the object was + changed locally. + + + + + Gets the first time this object was saved as the server sees it, so that if you create a + ParseObject, then wait a while, and then call , the + creation time will be the time of the first call rather than + the time the object was created locally. + + + + + Indicates whether this ParseObject has unsaved changes. + + + + + Gets or sets the object id. An object id is assigned as soon as an object is + saved to the server. The combination of a and an + uniquely identifies an object in your application. + + + + + Gets the class name for the ParseObject. + + + + + Gets the set of fieldName->propertyName mappings for the current class. + + + + + Occurs when a property value changes. + + + + + The ParseQuery class defines a query that is used to fetch ParseObjects. The + most common use case is finding all objects that match a query through the + method. + + + This sample code fetches all objects of + class "MyClass": + + + ParseQuery query = new ParseQuery("MyClass"); + IEnumerable<ParseObject> result = await query.FindAsync(); + + + A ParseQuery can also be used to retrieve a single object whose id is known, + through the method. For example, this sample code + fetches an object of class "MyClass" and id myId. + + + ParseQuery query = new ParseQuery("MyClass"); + ParseObject result = await query.GetAsync(myId); + + + A ParseQuery can also be used to count the number of objects that match the + query without retrieving all of those objects. For example, this sample code + counts the number of objects of the class "MyClass". + + + ParseQuery query = new ParseQuery("MyClass"); + int count = await query.CountAsync(); + + + + + + Private constructor for composition of queries. A source query is required, + but the remaining values can be null if they won't be changed in this + composition. + + + + + Constructs a query based upon the ParseObject subclass used as the generic parameter for the ParseQuery. + + + + + Constructs a query. A default query with no further parameters will retrieve + all s of the provided class. + + The name of the class to retrieve ParseObjects for. + + + + Constructs a query that is the or of the given queries. + + The list of ParseQueries to 'or' together. + A ParseQquery that is the 'or' of the passed in queries. + + + + Sorts the results in ascending order by the given key. + This will override any existing ordering for the query. + + The key to order by. + A new query with the additional constraint. + + + + Sorts the results in descending order by the given key. + This will override any existing ordering for the query. + + The key to order by. + A new query with the additional constraint. + + + + Sorts the results in ascending order by the given key, after previous + ordering has been applied. + + This method can only be called if there is already an + or + on this query. + + The key to order by. + A new query with the additional constraint. + + + + Sorts the results in descending order by the given key, after previous + ordering has been applied. + + This method can only be called if there is already an + or on this query. + + The key to order by. + A new query with the additional constraint. + + + + Include nested ParseObjects for the provided key. You can use dot notation + to specify which fields in the included objects should also be fetched. + + The key that should be included. + A new query with the additional constraint. + + + + Restrict the fields of returned ParseObjects to only include the provided key. + If this is called multiple times, then all of the keys specified in each of + the calls will be included. + + The key that should be included. + A new query with the additional constraint. + + + + Skips a number of results before returning. This is useful for pagination + of large queries. Chaining multiple skips together will cause more results + to be skipped. + + The number of results to skip. + A new query with the additional constraint. + + + + Controls the maximum number of results that are returned. Setting a negative + limit denotes retrieval without a limit. Chaining multiple limits + results in the last limit specified being used. The default limit is + 100, with a maximum of 1000 results being returned at a time. + + The maximum number of results to return. + A new query with the additional constraint. + + + + Adds a constraint to the query that requires a particular key's value to be + contained in the provided list of values. + + The key to check. + The values that will match. + A new query with the additional constraint. + + + + Add a constraint to the querey that requires a particular key's value to be + a list containing all of the elements in the provided list of values. + + The key to check. + The values that will match. + A new query with the additional constraint. + + + + Adds a constraint for finding string values that contain a provided string. + This will be slow for large data sets. + + The key that the string to match is stored in. + The substring that the value must contain. + A new query with the additional constraint. + + + + Adds a constraint for finding objects that do not contain a given key. + + The key that should not exist. + A new query with the additional constraint. + + + + Adds a constraint to the query that requires that a particular key's value + does not match another ParseQuery. This only works on keys whose values are + ParseObjects or lists of ParseObjects. + + The key to check. + The query that the value should not match. + A new query with the additional constraint. + + + + Adds a constraint for finding string values that end with a provided string. + This will be slow for large data sets. + + The key that the string to match is stored in. + The substring that the value must end with. + A new query with the additional constraint. + + + + Adds a constraint to the query that requires a particular key's value to be + equal to the provided value. + + The key to check. + The value that the ParseObject must contain. + A new query with the additional constraint. + + + + Adds a constraint for finding objects that contain a given key. + + The key that should exist. + A new query with the additional constraint. + + + + Adds a constraint to the query that requires a particular key's value to be + greater than the provided value. + + The key to check. + The value that provides a lower bound. + A new query with the additional constraint. + + + + Adds a constraint to the query that requires a particular key's value to be + greater or equal to than the provided value. + + The key to check. + The value that provides a lower bound. + A new query with the additional constraint. + + + + Adds a constraint to the query that requires a particular key's value to be + less than the provided value. + + The key to check. + The value that provides an upper bound. + A new query with the additional constraint. + + + + Adds a constraint to the query that requires a particular key's value to be + less than or equal to the provided value. + + The key to check. + The value that provides a lower bound. + A new query with the additional constraint. + + + + Adds a regular expression constraint for finding string values that match the provided + regular expression. This may be slow for large data sets. + + The key that the string to match is stored in. + The regular expression pattern to match. The Regex must + have the options flag set. + Any of the following supported PCRE modifiers: + i - Case insensitive search + m Search across multiple lines of input + A new query with the additional constraint. + + + + Adds a regular expression constraint for finding string values that match the provided + regular expression. This may be slow for large data sets. + + The key that the string to match is stored in. + The regular expression pattern to match. The Regex must + have the options flag set. + A new query with the additional constraint. + + + + Adds a regular expression constraint for finding string values that match the provided + regular expression. This may be slow for large data sets. + + The key that the string to match is stored in. + The PCRE regular expression pattern to match. + Any of the following supported PCRE modifiers: + i - Case insensitive search + m Search across multiple lines of input + A new query with the additional constraint. + + + + Adds a regular expression constraint for finding string values that match the provided + regular expression. This may be slow for large data sets. + + The key that the string to match is stored in. + The PCRE regular expression pattern to match. + A new query with the additional constraint. + + + + Adds a constraint to the query that requires a particular key's value + to match a value for a key in the results of another ParseQuery. + + The key whose value is being checked. + The key in the objects from the subquery to look in. + The subquery to run + A new query with the additional constraint. + + + + Adds a constraint to the query that requires a particular key's value + does not match any value for a key in the results of another ParseQuery. + + The key whose value is being checked. + The key in the objects from the subquery to look in. + The subquery to run + A new query with the additional constraint. + + + + Adds a constraint to the query that requires that a particular key's value + matches another ParseQuery. This only works on keys whose values are + ParseObjects or lists of ParseObjects. + + The key to check. + The query that the value should match. + A new query with the additional constraint. + + + + Adds a proximity-based constraint for finding objects with keys whose GeoPoint + values are near the given point. + + The key that the ParseGeoPoint is stored in. + The reference ParseGeoPoint. + A new query with the additional constraint. + + + + Adds a constraint to the query that requires a particular key's value to be + contained in the provided list of values. + + The key to check. + The values that will match. + A new query with the additional constraint. + + + + Adds a constraint to the query that requires a particular key's value not + to be equal to the provided value. + + The key to check. + The value that that must not be equalled. + A new query with the additional constraint. + + + + Adds a constraint for finding string values that start with the provided string. + This query will use the backend index, so it will be fast even with large data sets. + + The key that the string to match is stored in. + The substring that the value must start with. + A new query with the additional constraint. + + + + Add a constraint to the query that requires a particular key's coordinates to be + contained within a given rectangular geographic bounding box. + + The key to be constrained. + The lower-left inclusive corner of the box. + The upper-right inclusive corner of the box. + A new query with the additional constraint. + + + + Adds a proximity-based constraint for finding objects with keys whose GeoPoint + values are near the given point and within the maximum distance given. + + The key that the ParseGeoPoint is stored in. + The reference ParseGeoPoint. + The maximum distance (in radians) of results to return. + A new query with the additional constraint. + + + + Retrieves a list of ParseObjects that satisfy this query from Parse. + + The list of ParseObjects that match this query. + + + + Retrieves a list of ParseObjects that satisfy this query from Parse. + + The cancellation token. + The list of ParseObjects that match this query. + + + + Retrieves at most one ParseObject that satisfies this query. + + A single ParseObject that satisfies this query, or else null. + + + + Retrieves at most one ParseObject that satisfies this query. + + The cancellation token. + A single ParseObject that satisfies this query, or else null. + + + + Retrieves at most one ParseObject that satisfies this query. + + A single ParseObject that satisfies this query. + If no results match the query. + + + + Retrieves at most one ParseObject that satisfies this query. + + The cancellation token. + A single ParseObject that satisfies this query. + If no results match the query. + + + + Counts the number of objects that match this query. + + The number of objects that match this query. + + + + Counts the number of objects that match this query. + + The cancellation token. + The number of objects that match this query. + + + + Constructs a ParseObject whose id is already known by fetching data + from the server. + + ObjectId of the ParseObject to fetch. + The ParseObject for the given objectId. + + + + Constructs a ParseObject whose id is already known by fetching data + from the server. + + ObjectId of the ParseObject to fetch. + The cancellation token. + The ParseObject for the given objectId. + + + + For debugging purposes. + + + + + A common base class for ParseRelations. + + + + + Produces the proper ParseRelation<T> instance for the given classname. + + + + + Provides access to all of the children of a many-to-many relationship. Each instance of + ParseRelation is associated with a particular parent and key. + + The type of the child objects. + + + + Adds an object to this relation. The object must already have been saved. + + The object to add. + + + + Removes an object from this relation. The object must already have been saved. + + The object to remove. + + + + Gets a query that can be used to query the objects in this relation. + + + + + Represents a Role on the Parse server. ParseRoles represent groupings + of s for the purposes of granting permissions (e.g. + specifying a for a . Roles + are specified by their sets of child users and child roles, all of which are granted + any permissions that the parent role has. + + Roles must have a name (that cannot be changed after creation of the role), + and must specify an ACL. + + + + + Constructs a new ParseRole. You must assign a name and ACL to the role. + + + + + Constructs a new ParseRole with the given name. + + The name of the role to create. + The ACL for this role. Roles must have an ACL. + + + + Gets the name of the role. + + + + + Gets the for the s that are + direct children of this role. These users are granted any privileges that + this role has been granted (e.g. read or write access through ACLs). You can + add or remove child users from the role through this relation. + + + + + Gets the for the s that are + direct children of this role. These roles' users are granted any privileges that + this role has been granted (e.g. read or write access through ACLs). You can + add or remove child roles from the role through this relation. + + + + + Gets a over the Role collection. + + + + + Represents a session of a user for a Parse application. + + + + + Gets the current object related to the current user. + + + + + Gets the current object related to the current user. + + The cancellation token + + + + Gets the session token for a user, if they are logged in. + + + + + Constructs a for ParseSession. + + + + + Represents upload progress. + + + + + Gets the progress (a number between 0.0 and 1.0) of an upload. + + + + + Represents a user for a Parse application. + + + + + Whether the currentUser is known to match the serialized version on disk. + This is useful for saving a filesystem check if you try to load currentUser + frequently while there is none on disk. + + + + + Constructs a new ParseUser with no data. + + + + + Removes a key from the object's data if it exists. + + The key to remove. + Cannot remove the username key. + + + + Signs up a new user. This will create a new ParseUser on the server and will also persist the + session on disk so that you can access the user using . A username and + password must be set before calling SignUpAsync. + + + + + Signs up a new user. This will create a new ParseUser on the server and will also persist the + session on disk so that you can access the user using . A username and + password must be set before calling SignUpAsync. + + The cancellation token. + + + + Logs in a user with a username and password. On success, this saves the session to disk so you + can retrieve the currently logged in user using . + + The username to log in with. + The password to log in with. + The newly logged-in user. + + + + Logs in a user with a username and password. On success, this saves the session to disk so you + can retrieve the currently logged in user using . + + The username to log in with. + The password to log in with. + The cancellation token. + The newly logged-in user. + + + + Logs in a user with a username and password. On success, this saves the session to disk so you + can retrieve the currently logged in user using . + + The session token to authorize with + The user if authorization was successful + + + + Logs in a user with a username and password. On success, this saves the session to disk so you + can retrieve the currently logged in user using . + + The session token to authorize with + The cancellation token. + The user if authorization was successful + + + + Logs out the currently logged in user session. This will remove the session from disk, log out of + linked services, and future calls to will return null. + + + + + Logs out the currently logged in user session. This will remove the session from disk, log out of + linked services, and future calls to will return null. + + This is preferable to using , unless your code is already running from a + background thread. + + + + + Logs out the currently logged in user session. This will remove the session from disk, log out of + linked services, and future calls to will return null. + + This is preferable to using , unless your code is already running from a + background thread. + + + + + Gets the currently logged in ParseUser with a valid session, either from memory or disk + if necessary, asynchronously. + + + + + Gets the currently logged in ParseUser with a valid session, either from memory or disk + if necessary, asynchronously. + + + + + Tells server to use revocable session on LogIn and SignUp, even when App's Settings + has "Require Revocable Session" turned off. Issues network request in background to + migrate the sessionToken on disk to revocable session. + + The Task that upgrades the session. + + + + Tells server to use revocable session on LogIn and SignUp, even when App's Settings + has "Require Revocable Session" turned off. Issues network request in background to + migrate the sessionToken on disk to revocable session. + + The Task that upgrades the session. + + + + Requests a password reset email to be sent to the specified email address associated with the + user account. This email allows the user to securely reset their password on the Parse site. + + The email address associated with the user that forgot their password. + + + + Requests a password reset email to be sent to the specified email address associated with the + user account. This email allows the user to securely reset their password on the Parse site. + + The email address associated with the user that forgot their password. + The cancellation token. + + + + Removes null values from authData (which exist temporarily for unlinking) + + + + + Synchronizes authData for all providers. + + + + + Unlinks a user from a service. + + + + + Checks whether a user is linked to a service. + + + + + Whether the ParseUser has been authenticated on this device. Only an authenticated + ParseUser can be saved and deleted. + + + + + Gets or sets the username. + + + + + Sets the password. + + + + + Sets the email address. + + + + + Gets the currently logged in ParseUser with a valid session, either from memory or disk + if necessary. + + + + + Constructs a for ParseUsers. + + + + + Gets the authData for this user. + + + + -- cgit v1.2.3-70-g09d2