bindServiceToActivity

fun bindServiceToActivity(context: Context, preferredPackageName: String? = NIMMSTAInstalledAppResolver.preferredPackageName): NIMMSTAIntentServiceConnection

Binds the NIMMSTA Service to an activity, fragment or Android Service.


Binds to one explicit component. Use this when you want to bypass the built-in package order.