Interface

PlatformTextInputSessionScope

A PlatformTextInputSession that is also a CoroutineScope.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Common
interface PlatformTextInputSessionScope : PlatformTextInputSession, CoroutineScope

A PlatformTextInputSession that is also a CoroutineScope. This type should only be used as the receiver of the function passed to establishTextInputSession. Other extension functions that need to get the scope should not use this as their receiver type, instead they should be suspend functions with a PlatformTextInputSession receiver. If they need a CoroutineScope they should call the kotlinx.coroutines.coroutineScope function.