Companion

object Companion

Properties

Link copied to clipboard

Functions

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

Starts and binds the service with the appropriate parameters.