| Package | Description |
|---|---|
| com.codename1.background |
Background fetch is a mechanism whereby an application is granted permission by the operating system to update its data periodically.
|
| com.codename1.io |
Networking, Storage, Filesystem & related API's
|
| com.codename1.io.rest |
Simplified REST API
|
| com.codename1.javascript |
NOTE: The
com.codename1.javascript package is now deprecated. |
| com.codename1.social |
Connectors for native social network SDK's
|
| com.codename1.ui |
Main widget package containing the component/container "composite" similar
both in terminology and design to Swing/AWT.
|
| com.codename1.util |
General utilities classes
|
| Modifier and Type | Method and Description |
|---|---|
void |
BackgroundFetch.performBackgroundFetch(long deadline,
Callback<Boolean> onComplete)
A callback that may be periodically called by the platform to allow the app to
fetch data in the background.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
WebServiceProxyCall.invokeWebserviceASync(WebServiceProxyCall.WSDefinition def,
Callback call,
Object... arguments)
Invokes a web asynchronously and calls the callback on completion
|
| Modifier and Type | Method and Description |
|---|---|
void |
RequestBuilder.getAsBytesAsync(Callback<Response<byte[]>> callback)
Deprecated.
|
void |
RequestBuilder.getAsJsonMapAsync(Callback<Response<Map>> callback)
Deprecated.
|
void |
RequestBuilder.getAsStringAsync(Callback<Response<String>> callback)
Deprecated.
please use
RequestBuilder.fetchAsString(com.codename1.util.OnComplete) instead |
| Modifier and Type | Method and Description |
|---|---|
Object |
JavascriptContext.call(String jsFunc,
JSObject self,
Object[] params,
boolean async,
Callback callback)
Deprecated.
Calls a Javascript function with the given parameters, and optionally to make the call asynchronously.
|
void |
JavascriptContext.callAsync(JSObject func,
JSObject self,
Object[] params,
Callback callback)
Deprecated.
Calls a Javascript function (encapsulated in a JSObject) with a specified
Javascript Object as the "this" context for the function call.
|
void |
JSObject.callAsync(Object[] params,
Callback callback)
Deprecated.
Calls the object as a function statically.
|
void |
JSObject.callAsync(String key,
Callback callback)
Deprecated.
Calls a method on the underlying Javascript object asynchronously with no arguments.
|
void |
JavascriptContext.callAsync(String jsFunc,
JSObject self,
Object[] params,
Callback callback)
Deprecated.
Calls a Javascript function with the given parameters asynchronously.
|
void |
JSObject.callAsync(String key,
Object[] params,
Callback callback)
Deprecated.
Calls a method on the underlying Javascript object asynchronously.
|
void |
JSObject.callDoubleAsync(String key,
Callback<Double> callback)
Deprecated.
Calls a method on the underlying Javascript object that returns a double.
|
void |
JSObject.callIntAsync(String key,
Callback<Integer> callback)
Deprecated.
Calls a method on the underlying Javascript object that returns an int.
|
void |
JSObject.callObjectAsync(String key,
Callback<JSObject> callback)
Deprecated.
Calls a method on the underlying Javascript object that returns a Javascript object.
|
void |
JSObject.callStringAsync(String key,
Callback<String> callback)
Deprecated.
Calls a method on the underlying Javascript object that returns a String.
|
void |
JavascriptContext.getAsync(String javascript,
Callback callback)
Deprecated.
Returns the result of the provided javascript expression asynchronously.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FacebookConnect.inviteFriends(String appLinkUrl,
String previewImageUrl,
Callback cb)
Deprecated.
The Facebook SDK no longer supports app invites https://developers.facebook.com/blog/post/2017/11/07/changes-developer-offerings/
|
| Modifier and Type | Method and Description |
|---|---|
void |
BrowserComponent.removeJSCallback(Callback<BrowserComponent.JSRef> callback)
Removes a JS callback that was added via the
BrowserComponent.addJSCallback(java.lang.String, com.codename1.util.SuccessCallback) method. |
| Modifier and Type | Class and Description |
|---|---|
class |
CallbackAdapter<T>
Adapter for the {Callback} interface.
|
Copyright © 2021. All rights reserved.