Companion

object Companion

Functions

Link copied to clipboard
fun launch(context: Context, serviceClass: Class<out ScreenRecorderRtmpLiveService>, enableAudio: Boolean, onServiceCreated: (ScreenRecorderRtmpLiveStreamer) -> Unit, onServiceDisconnected: (name: ComponentName?) -> Unit)

Starts and binds the service with the appropriate parameters.