| Package | Description |
|---|---|
| com.codename1.db |
SQLite database access API
|
| com.codename1.util |
General utilities classes
|
| Modifier and Type | Method and Description |
|---|---|
EasyThread |
ThreadSafeDatabase.getThread()
Deprecated.
Returns the underlying easy thread we can use to pipe tasks to the db thread
|
| Modifier and Type | Method and Description |
|---|---|
static EasyThread |
EasyThread.start(String name)
Starts a new thread
|
| Modifier and Type | Method and Description |
|---|---|
AsyncResource<V> |
AsyncResource.except(SuccessCallback<Throwable> callback,
EasyThread t)
Sets callback to run if an error occurs.
|
void |
EasyThread.ErrorListener.onError(EasyThread t,
T callback,
Throwable error)
Invoked when an exception is thrown on an easy thread.
|
AsyncResource<V> |
AsyncResource.ready(SuccessCallback<V> callback,
EasyThread t)
Runs the provided callback when the resource is ready.
|
Copyright © 2023. All rights reserved.