initConnection

Initialises a user with the Terra backend

Instance method of TerraRT

func initConnection(token: String, completion: @escaping (Bool) -> Void = {(success) -> Void in})
  • token: String -> An authentication token generated from the Mobile SDK Token endpoint .
  • completion: (Bool) -> Void -> A completion function that is called when the initialisation is complete.