← Back to Stormify Documentation

outParam

expect fun <T : Any> outParam(type: KClass<T>): Sp.Out<T>

Factory for an OUT parameter, equivalent to Sp.Out(type). Kotlin callers typically prefer the reified spOut helper. On JVM and Android a java.lang.Class<T> overload is also available.

fun <T : Any> outParam(type: Class<T>): Sp.Out<T>

Class<T> overload for Java callers; equivalent to outParam(type.kotlin).


actual fun <T : Any> outParam(type: KClass<T>): Sp.Out<T>

Factory for an OUT parameter, equivalent to Sp.Out(type). Kotlin callers typically prefer the reified spOut helper. On JVM and Android a java.lang.Class<T> overload is also available.

actual fun <T : Any> outParam(type: KClass<T>): Sp.Out<T>

Factory for an OUT parameter, equivalent to Sp.Out(type). Kotlin callers typically prefer the reified spOut helper. On JVM and Android a java.lang.Class<T> overload is also available.