getContext

actual fun getContext(): Any?(source)

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

expect fun getContext(): Any?(source)

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

Return

Context if on android, null if not.

actual fun getContext(): Any?(source)