Companion
object Companion
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.