@JvmStatic @JvmOverloads fun bindServiceToActivity(: Context, : NIMMSTAEventHandler? = null): NIMMSTAServiceConnection
Binds the NIMMSTA Service to an activity, fragment or Android Service. If context implements NIMMSTADeviceDelegate, it will automatically be registered as listener. If you want to set a custom delegate, provide is as second parameter.