Companion

object Companion

Functions

Link copied to clipboard
fun bindService(context: Context, serviceClass: Class<out MediaProjectionService<*>>, resultCode: Int, resultData: Intent, onServiceCreated: (IStreamer) -> Unit, onServiceDisconnected: (name: ComponentName?) -> Unit = {}, onExtra: (Intent) -> Unit = {}): ServiceConnection

Starts and binds the service with the appropriate parameters.