Package 

Interface StreamAndroidComponentsProvider


  • 
    public interface StreamAndroidComponentsProvider
    
                        

    Facade over the Android system services required by the core SDK.

    Abstracting the access behind this interface allows Stream components to operate in tests, host-apps with custom dependency wiring, or alternative runtime environments.

    val components = StreamAndroidComponentsProvider(context)
    val connectivity = components.connectivityManager().getOrNull()
    val lifecycle = components.lifecycle()