onSuccess

abstract fun onSuccess(sessionMetadata: JsonElement?)

If successful the onSucess method will be called with the current session metadata.