Companion

object Companion

Properties

Link copied to clipboard
const val DEFAULT_NOTIFICATION_ID: Int = 3782

Functions

Link copied to clipboard
fun launch(context: Context, serviceClass: Class<out DefaultScreenRecorderService>, connection: ServiceConnection, customBundle: Bundle = Bundle(), enableAudio: Boolean = false)
fun launch(context: Context, serviceClass: Class<out DefaultScreenRecorderService>, onServiceCreated: (IVideoStreamer<*>) -> Unit, onServiceDisconnected: (name: ComponentName?) -> Unit = {}, customBundle: Bundle = Bundle(), enableAudio: Boolean = false): ServiceConnection

Starts and binds the service with the appropriate parameters.