Package-level declarations

Types

Link copied to clipboard
interface AFCallback<T>

A simple Java/Kotlin friendly callback for async results.

Link copied to clipboard

Provides access to the application context. This object is initialized via App Startup and should not be accessed before that.

Link copied to clipboard

A bridge object that provides a Java-friendly interface to the AFCore Kotlin library. This object is intended to be used by Java code that needs to interact with the AFCore library. It exposes all the public functions of AFCore as static methods, using {@link AFCallback} for asynchronous operations.

Link copied to clipboard

Functions

Link copied to clipboard
fun <R> suspend () -> R.enqueue(callback: AFCallback<R>, scope: CoroutineScope = AFCoreScope)
fun <A, R> suspend (A) -> R.enqueue(a: A, callback: AFCallback<R>, scope: CoroutineScope = AFCoreScope)
fun <A, B, R> suspend (A, B) -> R.enqueue(a: A, b: B, callback: AFCallback<R>, scope: CoroutineScope = AFCoreScope)
fun <A, B, C, R> suspend (A, B, C) -> R.enqueue(a: A, b: B, c: C, callback: AFCallback<R>, scope: CoroutineScope = AFCoreScope)
fun <A, B, C, D, R> suspend (A, B, C, D) -> R.enqueue(a: A, b: B, c: C, d: D, callback: AFCallback<R>, scope: CoroutineScope = AFCoreScope)
fun <A, B, C, D, E, F, R> suspend (A, B, C, D, E, F) -> R.enqueue(a: A, b: B, c: C, d: D, e: E, f: F, callback: AFCallback<R>, scope: CoroutineScope = AFCoreScope)
Link copied to clipboard
Link copied to clipboard
fun <R> suspend () -> R.toBlocking(): R
fun <A, R> suspend (A) -> R.toBlocking(a: A): R
fun <A, B, R> suspend (A, B) -> R.toBlocking(a: A, b: B): R
fun <A, B, C, R> suspend (A, B, C) -> R.toBlocking(a: A, b: B, c: C): R