Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
actual object Log
expect object Log
actual object Log

Properties

Link copied to clipboard

Functions

Link copied to clipboard
actual fun getContext(): Any?

Helper function for Android specific context. Not usable in JVM. Do not use this unless absolutely necessary.

expect fun getContext(): Any?

Helper function for Android specific context. Do not use this unless absolutely necessary. setContext() must be called before this is called.

actual fun getContext(): Any?
Link copied to clipboard
actual fun setContext(context: WeakReference<Any>)
expect fun setContext(context: WeakReference<Any>)

Set context for android specific code such as webview. Does nothing on JVM.

actual fun setContext(context: WeakReference<Any>)