apidocs / com.nimmsta.core.android.framework / NIMMSTAServiceConnection / onSuccess

onSuccess

fun onSuccess(lambda: (NIMMSTAServiceConnection) -> Unit): NIMMSTAServiceConnection

Lambda is called once service was connected and is ready. Won't be called once error was thrown. Returns ServiceConnection.

fun onSuccess(lambda: NIMMSTADoneCallback<NIMMSTAServiceConnection>): NIMMSTAServiceConnection

DoneCallback is called once service was connected and is ready. Won't be called once error was thrown. Returns ServiceConnection.