Companion

object Companion

Properties

Link copied to clipboard
const val DEFAULT_NOTIFICATION_ID: Int = 3782
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

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

Starts and binds the service with the appropriate parameters.