Package-level declarations

Functions

Link copied to clipboard

Returns an OutcomeReceiver that will resume this Continuation when an outcome is reported.

Link copied to clipboard

Returns a new empty Bundle.

fun bundleOf(vararg pairs: Pair<String, Any?>): Bundle

Returns a new Bundle with the given key/value pairs as elements.

Link copied to clipboard

Returns a new empty PersistableBundle.

@RequiresApi(value = 21)
fun persistableBundleOf(vararg pairs: Pair<String, Any?>): PersistableBundle

Returns a new PersistableBundle with the given key/value pairs as elements.

Link copied to clipboard
inline fun Handler.postAtTime(uptimeMillis: Long, token: Any? = null, crossinline action: () -> Unit): Runnable

Version of Handler.postAtTime which re-orders the parameters, allowing the action to be placed outside of parentheses.

Link copied to clipboard
inline fun Handler.postDelayed(delayInMillis: Long, token: Any? = null, crossinline action: () -> Unit): Runnable

Version of Handler.postDelayed which re-orders the parameters, allowing the action to be placed outside of parentheses.

Link copied to clipboard

Covert this map to a PersistableBundle with the key/value pairs as elements.

Link copied to clipboard
inline fun <T> trace(sectionName: String, block: () -> T): T

Wrap the specified block in calls to Trace.beginSection (with the supplied sectionName) and Trace.endSection.