Start Session

Start a Versus session. An active Versus session is required to interact with most Versus services.

Android

// @return VsLiveData<Session> object.
fun start(): VsLiveData<Session>
SDK.Session.start()
  .observe(object : VsObserver<Session>() {
       override fun onError(error: Throwable) {}
       override fun onChanged(t: Session) {}
  })

iOS

/// - Parameters:
///     - completionHandler: returns a newly started VersusSession
startSession(completionHandler: @escaping VersusApiResponse<VersusSession>)